Revision 40730 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app.document.table.app/org.gvsig.app.document.table.app.mainplugin/src/main/java/org/gvsig/app/extension/TableEditChangeColumnsExtension.java
TableEditChangeColumnsExtension.java | ||
---|---|---|
37 | 37 |
|
38 | 38 |
public void initialize() { |
39 | 39 |
super.initialize(); |
40 |
IconThemeHelper.registerIcon("action", "table-add-column", this); |
|
41 | 40 |
IconThemeHelper.registerIcon("action", "table-rename-column", this); |
42 | 41 |
IconThemeHelper.registerIcon("action", "table-remove-column", this); |
43 | 42 |
} |
... | ... | |
51 | 50 |
featureTableOperations.deleteAttributes(table.getTablePanel() |
52 | 51 |
.getTable()); |
53 | 52 |
} else |
54 |
if ("table-add-column".equals(actionCommand)) { |
|
55 |
featureTableOperations.insertAttributes(table |
|
56 |
.getTablePanel().getTable()); |
|
57 |
} else |
|
58 | 53 |
if ("table-rename-column".equals(actionCommand)) { |
59 | 54 |
featureTableOperations.renameAttributes(table |
60 | 55 |
.getTablePanel().getTable()); |
Also available in: Unified diff