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

    • Constructor Detail

      • AbstractDtGranularEditorAefPage

        protected AbstractDtGranularEditorAefPage​(String id,
                                                  String title)
        Creates a new page.
        Parameters:
        id - the id of the page, cannot be null.
        title - the title, cannot be null.
    • Method Detail

      • dispose

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

        public void showEditorInput​(IDtEditorInput<M> editorInput)
        Description copied from interface: IDtEditor
        Shows the editor input.
        Specified by:
        showEditorInput in interface IDtEditor<M extends org.eclipse.emf.ecore.EObject>
        Overrides:
        showEditorInput in class DtGranularEditorPage<M extends org.eclipse.emf.ecore.EObject>
        Parameters:
        editorInput - the editor input to show, cannot be null.
        See Also:
        IShowEditorInput.showEditorInput(org.eclipse.ui.IEditorInput)
      • setFocus

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

        public IScene getScene()
        Returns the AEF2 scene used by the page.
        Returns:
        the AEF2 scene of the page (may be null if called before the controls have been created on the page)
      • refresh

        protected void refresh()
        Description copied from class: DtGranularEditorPage
        Fully refreshes the contents of the page as if it was just opened for the first time.
        Overrides:
        refresh in class DtGranularEditorPage<M extends org.eclipse.emf.ecore.EObject>
      • onEventGateClosed

        protected void onEventGateClosed()
        Description copied from class: DtGranularEditorPage
        Performs necessary actions when the event gate manager transitions into CLOSED state.
        Overrides:
        onEventGateClosed in class DtGranularEditorPage<M extends org.eclipse.emf.ecore.EObject>
      • getEngine

        protected IEngine getEngine()
        Returns the editor IEngine.
        Returns:
        the IEngine instance, never null.
      • createRenderingParameters

        protected IRenderingParameters createRenderingParameters​(org.eclipse.ui.forms.IManagedForm managedForm)
        Creates new composite at managedForm body and rendering parameters.
        Parameters:
        managedForm - the managed form, cannot be null.
        Returns:
        newly created rendering parameters.
      • createPageLayout

        protected org.eclipse.swt.widgets.Layout createPageLayout()
        Overrides:
        createPageLayout in class DtGranularEditorPage<M extends org.eclipse.emf.ecore.EObject>
        Returns:
        layout for this page.
      • createPageControls

        protected void createPageControls​(org.eclipse.ui.forms.IManagedForm managedForm)
        Description copied from class: DtGranularEditorPage
        Creates the controls of this page.
        Specified by:
        createPageControls in class DtGranularEditorPage<M extends org.eclipse.emf.ecore.EObject>
        Parameters:
        managedForm - managed form that will contain the controls.
      • setSelection

        protected void setSelection​(org.eclipse.emf.ecore.EStructuralFeature feature,
                                    Object object)
        Sets the selection to the component if they presents on scene (defined by component feature).
        Parameters:
        feature - the component feature, cannot be null
        object - the selected object (because may be navigator adapter), cannot be null