Class AllRolesEditor

  • All Implemented Interfaces:
    IDtEditor<Configuration>, 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

    public class AllRolesEditor
    extends DtEditor<Configuration>
    All roles editor.
    • Field Detail

      • qualifiedNameProvider

        @Inject
        protected org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider
    • Constructor Detail

      • AllRolesEditor

        public AllRolesEditor()
    • Method Detail

      • dispose

        public void dispose()
        Specified by:
        dispose in interface org.eclipse.ui.IWorkbenchPart
        Overrides:
        dispose in class DtEditor<Configuration>
      • getController

        public IRightsEditorController getController()
        Gets editor controller.
        Returns:
        the editor controller
      • init

        public void init​(org.eclipse.ui.IEditorSite site,
                         IDtEditorInput<Configuration> input)
                  throws org.eclipse.ui.PartInitException
        Description copied from interface: IDtEditor
        Initializes the editor.
        Specified by:
        init in interface IDtEditor<Configuration>
        Overrides:
        init in class DtEditor<Configuration>
        Parameters:
        site - the editor site, cannot be null.
        input - the editor input, cannot be null.
        Throws:
        org.eclipse.ui.PartInitException - if this editor was not initialized successfully
        See Also:
        IEditorPart.init(IEditorSite, org.eclipse.ui.IEditorInput)
      • setFocus

        public void setFocus()
        Specified by:
        setFocus in interface org.eclipse.ui.IWorkbenchPart
        Overrides:
        setFocus in class DtEditor<Configuration>
      • createControls

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

        protected ObjectsSection createObjectSection​(org.eclipse.ui.forms.IManagedForm managedForm,
                                                     org.eclipse.swt.widgets.Composite parent)
        Creates ObjectsSection instance.
        Parameters:
        managedForm - the managed form that will contain the controls, can not be null
        parent - the parent control, can not be null
        Returns:
        a new instance of ObjectsSection, can not be null