Revision 47049 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/swing/impl/actions/SelectionAddAction.java
SelectionAddAction.java | ||
---|---|---|
16 | 16 |
import org.slf4j.Logger; |
17 | 17 |
import org.slf4j.LoggerFactory; |
18 | 18 |
import org.gvsig.fmap.dal.swing.DALActionFactory.DALActionContext; |
19 |
import org.gvsig.fmap.dal.swing.DALSwingLocator; |
|
20 |
import org.gvsig.fmap.dal.swing.DataSwingManager; |
|
19 | 21 |
|
20 | 22 |
/** |
21 | 23 |
* |
... | ... | |
38 | 40 |
public Action createAction(DALActionContext context) { |
39 | 41 |
return new SelectionAddAction(context); |
40 | 42 |
} |
43 |
|
|
44 |
public static void selfRegister() { |
|
45 |
DataSwingManager dalSwingManager = DALSwingLocator.getSwingManager(); |
|
46 |
dalSwingManager.registerStoreAction(new SelectionAddActionFactory()); |
|
47 |
} |
|
48 |
|
|
41 | 49 |
} |
42 | 50 |
|
43 | 51 |
private static final Logger LOGGER = LoggerFactory.getLogger(SelectionAddAction.class); |
Also available in: Unified diff