Revision 38868
branches/v2_0_0_prep/extensions/org.gvsig.app.document.table.app/org.gvsig.app.document.table.app.mainplugin/src/main/java/org/gvsig/app/extension/TableEditStartExtension.java | ||
---|---|---|
26 | 26 |
import org.gvsig.andami.IconThemeHelper; |
27 | 27 |
import org.gvsig.andami.PluginServices; |
28 | 28 |
import org.gvsig.andami.ui.mdiManager.IWindow; |
29 |
import org.gvsig.app.ApplicationLocator; |
|
29 | 30 |
import org.gvsig.app.project.documents.table.TableDocument.TableLink; |
30 | 31 |
import org.gvsig.app.project.documents.table.gui.FeatureTableDocumentPanel; |
31 | 32 |
import org.gvsig.fmap.dal.exception.DataException; |
... | ... | |
50 | 51 |
if ("table-start-editing".equals(actionCommand)) { |
51 | 52 |
try { |
52 | 53 |
table.getModel().getStore().edit(FeatureStore.MODE_FULLEDIT); |
54 |
ApplicationLocator.getManager().refreshMenusAndToolBars(); |
|
53 | 55 |
} catch (DataException e) { |
54 | 56 |
e.printStackTrace(); |
55 | 57 |
} |
Also available in: Unified diff