Revision 7e875084
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/ModelResourceHandler.java | ||
---|---|---|
93 | 93 |
@Inject |
94 | 94 |
public ModelResourceHandler(@Named(IWorkbench.PERSIST_STATE) boolean saveAndRestore, |
95 | 95 |
@Named(IWorkbench.CLEAR_PERSISTED_STATE) boolean clearPersistedState) { |
96 |
this.saveAndRestore = saveAndRestore; |
|
96 |
//FIXME E4 we are currently not saving the workbench.xmi because of problems with missing context menus |
|
97 |
// see #6954 |
|
98 |
this.saveAndRestore = false; |
|
97 | 99 |
this.clearPersistedState = clearPersistedState; |
98 | 100 |
} |
99 | 101 |
|
... | ... | |
216 | 218 |
@Override |
217 | 219 |
public void save() throws IOException { |
218 | 220 |
if (saveAndRestore) { |
219 |
//FIXME E4 we are currently not saving the workbench.xmi because of problems with missing context menus |
|
220 |
// see #6954 |
|
221 |
// resource.save(null); |
|
221 |
resource.save(null); |
|
222 | 222 |
} |
223 | 223 |
} |
224 | 224 |
|
Also available in: Unified diff
ref #6954 Disable saveAndRestoreFlag for ModelResourceHandler