Class AbstractAefBoundDtEditor<M extends org.eclipse.emf.ecore.EObject>

  • All Implemented Interfaces:
    IAefEditor<M>, IDtEditor<M>, IGotoSelection, org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.IEditorPart, org.eclipse.ui.ISaveablePart, org.eclipse.ui.IShowEditorInput, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IShowInSource, org.eclipse.ui.part.IWorkbenchPartOrientation
    Direct Known Subclasses:
    AefBoundDtEditor, AefDescriptorBasedDtEditor

    public abstract class AbstractAefBoundDtEditor<M extends org.eclipse.emf.ecore.EObject>
    extends DtEditor<M>
    implements IAefEditor<M>
    Abstract aef bounded dt-editor.
    • Constructor Detail

      • AbstractAefBoundDtEditor

        public AbstractAefBoundDtEditor()
        Constructor of AbstractAefBoundEditor.
    • Method Detail

      • dispose

        public void dispose()
        Specified by:
        dispose in interface org.eclipse.ui.IWorkbenchPart
        Overrides:
        dispose in class DtEditor<M extends org.eclipse.emf.ecore.EObject>
      • getPartFeatures

        public Collection<org.eclipse.emf.ecore.EStructuralFeature> getPartFeatures()
        Description copied from interface: IAefEditor
        Returns the collection of the editor part features.
        Specified by:
        getPartFeatures in interface IAefEditor<M extends org.eclipse.emf.ecore.EObject>
        Returns:
        the collection of features, never null
      • setDefaultFeature

        public void setDefaultFeature​(org.eclipse.emf.ecore.EStructuralFeature feature)
        Set default feature for this AEF bounded editor. AEF-editor, associated with given feature will focused on editor activation.
        Specified by:
        setDefaultFeature in interface IAefEditor<M extends org.eclipse.emf.ecore.EObject>
        Parameters:
        feature - feature to set default, can be null then no AEF-editors will be focued by default
      • setFocus

        public void setFocus()
        Specified by:
        setFocus in interface org.eclipse.ui.IWorkbenchPart
        Overrides:
        setFocus in class DtEditor<M extends org.eclipse.emf.ecore.EObject>
      • createControls

        protected void createControls​(org.eclipse.ui.forms.IManagedForm managedForm)
        Description copied from class: DtEditor
        Creates editor controls.
        Specified by:
        createControls in class DtEditor<M extends org.eclipse.emf.ecore.EObject>
        Parameters:
        managedForm - the managed form, cannot be null.
      • getBuilder

        protected DtGranularEditorPageBuilder<?> getBuilder()
        Returns AEF builder instance, that can build this editor UI.
        Returns:
        AEF builder instance, never null
      • getScene

        protected IScene getScene()
        Returns the AEF scene, that contains page AEF container component.
        Returns:
        the AEF scene, that contains page AEF container component, never null after page content creation