Package com._1c.g5.v8.dt.md.ui.editor
Class MdDirtyStateEditorSupport
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.emf.ecore.util.EContentAdapter
com._1c.g5.modeling.xtext.ui.resource.DirtyStateEditorSupport
com._1c.g5.v8.dt.md.ui.editor.MdDirtyStateEditorSupport
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter
,org.eclipse.emf.common.notify.Adapter.Internal
,org.eclipse.xtext.resource.IResourceDescription.Event.Listener
Dirty state editor support for metadata objects.
-
Nested Class Summary
Nested classes/interfaces inherited from class com._1c.g5.modeling.xtext.ui.resource.DirtyStateEditorSupport
DirtyStateEditorSupport.IConcurrentEditingCallback, DirtyStateEditorSupport.IDirtyStateEditorSupportClient, DirtyStateEditorSupport.InteractiveConcurrentEditingQuestion, DirtyStateEditorSupport.UpdateEditorStateJob
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
org.eclipse.emf.common.notify.Adapter.Internal
-
Field Summary
Fields inherited from class org.eclipse.emf.ecore.util.EContentAdapter
iterating
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isResourceRemoveAllowed
(org.eclipse.emf.ecore.resource.Resource affectedResource, org.eclipse.xtext.resource.IResourceDescription.Event event) Checks if affected by outer changes resource can be removed from its containing resource set.Methods inherited from class com._1c.g5.modeling.xtext.ui.resource.DirtyStateEditorSupport
collectAffectedResources, createUpdateEditorJob, descriptionsChanged, getConcurrentEditingWarningDialog, getDirtyResource, getDirtyStateManager, getStateChangeEventBroker, initDirtyResource, initializeDirtyStateSupport, isAffected, isConcurrentEditingIgnored, isDirty, isEditingPossible, isRelinkRequired, markEditorClean, notifyChanged, relinkResource, removeDirtyStateSupport, scheduleUpdateEditorJob, setConcurrentEditingWarningDialog, setDirtyResource, setDirtyStateManager, setResourceDescriptions, setStateChangeEventBroker, unloadAffectedResourcesAndRelink
Methods inherited from class org.eclipse.emf.ecore.util.EContentAdapter
addAdapter, basicSetTarget, basicUnsetTarget, handleContainment, removeAdapter, removeAdapter, resolve, selfAdapt, setTarget, setTarget, setTarget, setTarget, unsetTarget, unsetTarget, unsetTarget, unsetTarget, unsetTarget, useRecursion
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
getTarget, isAdapterForType
-
Constructor Details
-
MdDirtyStateEditorSupport
public MdDirtyStateEditorSupport()
-
-
Method Details
-
isResourceRemoveAllowed
protected boolean isResourceRemoveAllowed(org.eclipse.emf.ecore.resource.Resource affectedResource, org.eclipse.xtext.resource.IResourceDescription.Event event) Description copied from class:DirtyStateEditorSupport
Checks if affected by outer changes resource can be removed from its containing resource set.- Overrides:
isResourceRemoveAllowed
in classDirtyStateEditorSupport
- Parameters:
affectedResource
- the affected resource (nevernull
)event
- (nevernull
)- Returns:
- true if given resource can be removed, else returns false
-