Class AllRolesEditor
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.ui.part.WorkbenchPart
-
- org.eclipse.ui.part.EditorPart
-
- com._1c.g5.v8.dt.ui.editor.DtEditor<Configuration>
-
- com._1c.g5.v8.dt.rights.ui.editors.allroles.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 Summary
Fields Modifier and Type Field Description protected IBmEmfIndexManager
bmEmfIndexManager
protected com.google.inject.Provider<RightsEditorController>
controllerProvider
protected IModelEditingSupport
modelEditingSupport
protected org.eclipse.xtext.naming.IQualifiedNameProvider
qualifiedNameProvider
-
Fields inherited from class com._1c.g5.v8.dt.ui.editor.DtEditor
bmModel, configurationProvider, derivedDataManagerProvider, dtEditorProxyInputHelperService, modelManager, resourceLookup, serviceOrchestrator
-
-
Constructor Summary
Constructors Constructor Description AllRolesEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createControls(org.eclipse.ui.forms.IManagedForm managedForm)
Creates editor controls.protected ObjectsSection
createObjectSection(org.eclipse.ui.forms.IManagedForm managedForm, org.eclipse.swt.widgets.Composite parent)
CreatesObjectsSection
instance.void
dispose()
IRightsEditorController
getController()
Gets editor controller.void
init(org.eclipse.ui.IEditorSite site, IDtEditorInput<Configuration> input)
Initializes the editor.void
setFocus()
void
showEditorInput(IDtEditorInput<Configuration> editorInput)
Shows the editor input.-
Methods inherited from class com._1c.g5.v8.dt.ui.editor.DtEditor
createPartControl, doSave, doSaveAs, getAdapter, getApiEditingContext, getEditingContext, getEditorInput, getModel, getShowInContext, getToolkit, getWaitingPartsId, gotoSelection, init, isDirty, isSaveAsAllowed, setActiveFeature, setActiveSelection, showEditorInput
-
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, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
-
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
-
-
-
Field Detail
-
bmEmfIndexManager
@Inject protected IBmEmfIndexManager bmEmfIndexManager
-
qualifiedNameProvider
@Inject protected org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider
-
controllerProvider
@Inject protected com.google.inject.Provider<RightsEditorController> controllerProvider
-
modelEditingSupport
@Inject protected IModelEditingSupport modelEditingSupport
-
-
Method Detail
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceorg.eclipse.ui.IWorkbenchPart
- Overrides:
dispose
in classDtEditor<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 interfaceIDtEditor<Configuration>
- Overrides:
init
in classDtEditor<Configuration>
- Parameters:
site
- the editor site, cannot benull
.input
- the editor input, cannot benull
.- Throws:
org.eclipse.ui.PartInitException
- if this editor was not initialized successfully- See Also:
IEditorPart.init(IEditorSite, org.eclipse.ui.IEditorInput)
-
showEditorInput
public void showEditorInput(IDtEditorInput<Configuration> editorInput)
Description copied from interface:IDtEditor
Shows the editor input.- Specified by:
showEditorInput
in interfaceIDtEditor<Configuration>
- Overrides:
showEditorInput
in classDtEditor<Configuration>
- Parameters:
editorInput
- the editor input to show, cannot benull
.- See Also:
IShowEditorInput.showEditorInput(org.eclipse.ui.IEditorInput)
-
setFocus
public void setFocus()
- Specified by:
setFocus
in interfaceorg.eclipse.ui.IWorkbenchPart
- Overrides:
setFocus
in classDtEditor<Configuration>
-
createControls
protected void createControls(org.eclipse.ui.forms.IManagedForm managedForm)
Description copied from class:DtEditor
Creates editor controls.- Specified by:
createControls
in classDtEditor<Configuration>
- Parameters:
managedForm
- the managed form, cannot benull
.
-
createObjectSection
protected ObjectsSection createObjectSection(org.eclipse.ui.forms.IManagedForm managedForm, org.eclipse.swt.widgets.Composite parent)
CreatesObjectsSection
instance.- Parameters:
managedForm
- the managed form that will contain the controls, can not benull
parent
- the parent control, can not benull
- Returns:
- a new instance of
ObjectsSection
, can not benull
-
-