Class EcoreEditor

  • All Implemented Interfaces:
    org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.emf.edit.domain.IEditingDomainProvider, org.eclipse.ui.ide.IGotoMarker, org.eclipse.ui.IEditorPart, org.eclipse.ui.ISaveablePart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation
    Direct Known Subclasses:
    EcoreEditorPerformance_PTest.Editor

    public class EcoreEditor
    extends GenericEditor
    This class extends the GenericEditor to provide customized features for Ecore files.
    • Constructor Detail

      • EcoreEditor

        public EcoreEditor()
    • Method Detail

      • getEditorTitle

        protected java.lang.String getEditorTitle()
        Description copied from class: GenericEditor
        Returns the title for the currently displayed editor. Subclasses should override this function to change the Editor's title
        Overrides:
        getEditorTitle in class GenericEditor
        Returns:
        the title
      • getContextId

        protected java.lang.String getContextId()
        Description copied from class: GenericEditor
        Returns the context id set for this editor.
        Overrides:
        getContextId in class GenericEditor
        Returns:
        the context id
      • enableValidation

        protected boolean enableValidation()
        Overrides:
        enableValidation in class GenericEditor
        Returns:
        whether a diagnostic cache should be managed.