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

public class MdDirtyStateEditorSupport extends DirtyStateEditorSupport
Dirty state editor support for metadata objects.
  • 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 class DirtyStateEditorSupport
      Parameters:
      affectedResource - the affected resource (never null)
      event - (never null)
      Returns:
      true if given resource can be removed, else returns false