Class RightsEditorRestrictionTemplatesPage<M extends org.eclipse.emf.ecore.EObject,E extends DtGranularEditor<M>>
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.ui.part.WorkbenchPart
-
- org.eclipse.ui.part.EditorPart
-
- org.eclipse.ui.forms.editor.FormPage
-
- com._1c.g5.v8.dt.md.ui.editor.base.DtGranularEditorPage<M>
-
- com._1c.g5.v8.dt.rights.ui.editors.rights.RightsEditorRestrictionTemplatesPage<M,E>
-
- All Implemented Interfaces:
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 RightsEditorRestrictionTemplatesPage<M extends org.eclipse.emf.ecore.EObject,E extends DtGranularEditor<M>> extends DtGranularEditorPage<M>
Restriction templates page.
-
-
Field Summary
Fields Modifier and Type Field Description protected IRightsEditorRestrictionController
controller
The rights editor restriction templates controllerprotected IEventBroker
eventBroker
The event brokerprotected IModelEditingSupport
modelEditingSupport
static String
RESTRICTION_TEMPLATES_PAGE_ID
The unique page identifierprotected RestrictionTemplatesSection
restrictionTemplatesSection
The restriction template section-
Fields inherited from class com._1c.g5.v8.dt.md.ui.editor.base.DtGranularEditorPage
activeSelection, derivedDataManagerProvider, modelManager, resourceLookup, SECTION_ID_PATTERN
-
-
Constructor Summary
Constructors Constructor Description RightsEditorRestrictionTemplatesPage()
A constructor that creates the page and initializes it with the editor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate()
Performs necessary actions when this page is activated (i.protected void
createPageControls(org.eclipse.ui.forms.IManagedForm managedForm)
Creates the controls of this page.void
deactivate()
Performs necessary actions when this page is deactivated (i.void
dispose()
IRightsEditorRestrictionController
getController()
Gets editor controller.protected MdObject
getModelMdObject()
Gets the model object being edited.protected String
getPageTitle()
Returns the page title.-
Methods inherited from class com._1c.g5.v8.dt.md.ui.editor.base.DtGranularEditorPage
createFormContent, createPageLayout, getActiveFeature, getActiveSelection, getApiEditingContext, getDefaultFeature, getEditingContext, getEditor, getEditorInput, getEditorPageDescriptor, getEventGate, getHelpContextId, getModel, getPageTitle, getSectionID, getShowInContext, getWaitingPartsId, gotoSelection, init, initialize, onEventGateClosed, pathSeparetor, refresh, setActiveFeature, setActiveSelection, setDefaultFeature, setFocus, showEditorInput, showEditorInput, waitDerivedData, waitDerivedData
-
Methods inherited from class org.eclipse.ui.forms.editor.FormPage
canLeaveThePage, createPartControl, doSave, doSaveAs, getId, getIndex, getManagedForm, getPartControl, getTitleImage, init, isActive, isDirty, isEditor, isSaveAsAllowed, selectReveal, setActive, setIndex
-
Methods inherited from class org.eclipse.ui.part.EditorPart
checkSite, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, setPartName
-
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
-
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.ui.forms.editor.IFormPage
canLeaveThePage, getId, getIndex, getManagedForm, getPartControl, isActive, isEditor, selectReveal, setActive, setIndex
-
-
-
-
Field Detail
-
RESTRICTION_TEMPLATES_PAGE_ID
public static final String RESTRICTION_TEMPLATES_PAGE_ID
The unique page identifier- See Also:
- Constant Field Values
-
controller
protected IRightsEditorRestrictionController controller
The rights editor restriction templates controller
-
restrictionTemplatesSection
protected RestrictionTemplatesSection restrictionTemplatesSection
The restriction template section
-
eventBroker
@Inject protected IEventBroker eventBroker
The event broker
-
modelEditingSupport
@Inject protected IModelEditingSupport modelEditingSupport
-
-
Method Detail
-
activate
public void activate()
Description copied from interface:IDtGranularEditorPage
Performs necessary actions when this page is activated (i. e. becomes visible and active).- Specified by:
activate
in interfaceIDtGranularEditorPage<M extends org.eclipse.emf.ecore.EObject>
- Overrides:
activate
in classDtGranularEditorPage<M extends org.eclipse.emf.ecore.EObject>
-
deactivate
public void deactivate()
Description copied from interface:IDtGranularEditorPage
Performs necessary actions when this page is deactivated (i. e. ceases to be visible and active).- Specified by:
deactivate
in interfaceIDtGranularEditorPage<M extends org.eclipse.emf.ecore.EObject>
- Overrides:
deactivate
in classDtGranularEditorPage<M extends org.eclipse.emf.ecore.EObject>
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceorg.eclipse.ui.IWorkbenchPart
- Overrides:
dispose
in classDtGranularEditorPage<M extends org.eclipse.emf.ecore.EObject>
-
getController
public IRightsEditorRestrictionController getController()
Gets editor controller.- Returns:
- the controller
-
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 classDtGranularEditorPage<M extends org.eclipse.emf.ecore.EObject>
- Parameters:
managedForm
- managed form that will contain the controls.
-
getPageTitle
protected String getPageTitle()
Description copied from class:DtGranularEditorPage
Returns the page title.- Overrides:
getPageTitle
in classDtGranularEditorPage<M extends org.eclipse.emf.ecore.EObject>
- Returns:
- this page title, never
null
-
getModelMdObject
protected MdObject getModelMdObject()
Gets the model object being edited.- Returns:
- the model object being edited, never
null
-
-