Revision 308f7bf5
Added by Patrick Plitzner over 5 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/EditorUtil.java | ||
---|---|---|
61 | 61 |
public class EditorUtil extends AbstractUtility { |
62 | 62 |
|
63 | 63 |
private static final String NAME_EDITOR_ID = "eu.etaxonomy.taxeditor.editor.name.e4.TaxonNameEditorE4"; |
64 |
private static boolean isSaving = false; |
|
65 | 64 |
|
66 | 65 |
public static void openDescriptiveDataSetEditor(UUID descriptiveDataSetUuid, EModelService modelService, EPartService partService, MApplication application){ |
67 | 66 |
String partId = AppModelId.PARTDESCRIPTOR_EU_ETAXONOMY_TAXEDITOR_EDITOR_VIEW_DESCRIPTIVEDATASET_DESCRIPTIVEDATASETEDITOR; |
... | ... | |
182 | 181 |
editor.init(input); |
183 | 182 |
} |
184 | 183 |
|
185 |
/** |
|
186 |
* <p> |
|
187 |
* setSaving |
|
188 |
* </p> |
|
189 |
* |
|
190 |
* @param isSaving |
|
191 |
* a boolean. |
|
192 |
*/ |
|
193 |
public static void setSaving(boolean isSaving) { |
|
194 |
EditorUtil.isSaving = isSaving; |
|
195 |
} |
|
196 |
|
|
197 |
/** |
|
198 |
* <p> |
|
199 |
* isSaving |
|
200 |
* </p> |
|
201 |
* |
|
202 |
* @return a boolean. |
|
203 |
*/ |
|
204 |
public static boolean isSaving() { |
|
205 |
return isSaving; |
|
206 |
} |
|
207 |
|
|
208 | 184 |
/** |
209 | 185 |
* <p> |
210 | 186 |
* getUndoContext |
Also available in: Unified diff
Remove unused methods