Revision 38564 branches/v2_0_0_prep/extensions/extEditing/src/org/gvsig/editing/TableCommandStackExtension.java
TableCommandStackExtension.java | ||
---|---|---|
18 | 18 |
* @see org.gvsig.andami.plugins.IExtension#initialize() |
19 | 19 |
*/ |
20 | 20 |
public void initialize() { |
21 |
PluginServices.getIconTheme().registerDefault( |
|
22 |
"commands-stack", |
|
23 |
this.getClass().getClassLoader().getResource("images/commandstack.png") |
|
24 |
); |
|
25 | 21 |
} |
26 | 22 |
|
27 | 23 |
/** |
... | ... | |
33 | 29 |
|
34 | 30 |
FeatureTableDocumentPanel table = (FeatureTableDocumentPanel) f; |
35 | 31 |
TableDocument model = table.getModel(); |
36 |
if (s.equals("COMMANDSTACK")) {
|
|
32 |
if (s.equals("edit-undo-redo-actions-table")) {
|
|
37 | 33 |
FeatureStore featureStore = model.getStore(); |
38 | 34 |
featureStore.addObserver(table); |
39 | 35 |
CommandStackDialog csd = new CommandStackDialog(); |
Also available in: Unified diff