Class DtGranularEditorPredefinedDataPage<M extends BasicDbObject>

  • All Implemented Interfaces:
    IDtGranularEditorAefPage<M>, IDtEditor<M>, IDtGranularEditorPage<M>, IGotoSelection, org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.forms.editor.IFormPage, 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

    public class DtGranularEditorPredefinedDataPage<M extends BasicDbObject>
    extends DtGranularEditorAefPage<M>
    Editor predefined data page.
    • Method Detail

      • getPageTitle

        protected String getPageTitle​(org.eclipse.emf.ecore.EObject modelObject)
        Description copied from class: DtGranularEditorPage
        Returns the page title based on the provided model object.
        Overrides:
        getPageTitle in class DtGranularEditorPage<M extends BasicDbObject>
        Parameters:
        modelObject - the model object, cannot be null
        Returns:
        the page title, never null
      • getPredefinedDataTreeModelFactory

        protected IModelFactory getPredefinedDataTreeModelFactory()
        Gets model factory for PredefinedData tree editor
        Returns:
        IModelFactory to create the AEF model, cannot be null
      • getPredefinedDataTreeComponentClass

        protected Class<? extends IComponent<?>> getPredefinedDataTreeComponentClass()
        Gets class of PredefinedData tree component
        Returns:
        class of PredefinedData tree component, never null
      • getPredefinedDataTreeParameterization

        protected TreeParameterization getPredefinedDataTreeParameterization​(M model)
        Gets parametrization of PredefinedData tree component
        Parameters:
        model - current editor model, cannot be null
        Returns:
        parametrization of PredefinedData tree component
      • getActionsToPredefinedSection

        protected List<IDtAction> getActionsToPredefinedSection​(M model)
        Gets actions on main section of PredefinedData editor
        Parameters:
        model - current editor model, cannot be null
        Returns:
        list of actions on PredefinedSection in editor, never null
      • getContextId

        protected String getContextId​(M model)
        Gets editor context by specified editor model
        Parameters:
        model - current editor model, cannot be null
        Returns:
        string editor context id, never null