Class DtGranularEditorPredefinedDataPage<M extends BasicDbObject>
- 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.md.ui.editor.aef.AbstractDtGranularEditorAefPage<M>
-
- com._1c.g5.v8.dt.md.ui.editor.aef.DtGranularEditorAefPage<M>
-
- com._1c.g5.v8.dt.md.ui.editor.predefineddata.DtGranularEditorPredefinedDataPage<M>
-
- 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.
-
-
Field Summary
Fields Modifier and Type Field Description static String
PAGE_ID
ID of this page.-
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 DtGranularEditorPredefinedDataPage()
Creates a newDtGranularEditorPredefinedDataPage
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
build(DtGranularEditorPageBuilder<?> builder)
Builds the page with the given builder.protected void
createPageControls(org.eclipse.ui.forms.IManagedForm managedForm)
Creates the controls of this page.protected List<IDtAction>
getActionsToPredefinedSection(M model)
Gets actions on main section of PredefinedData editorprotected String
getContextId(M model)
Gets editor context by specified editor modelprotected String
getPageTitle(org.eclipse.emf.ecore.EObject modelObject)
Returns the page title based on the provided model object.protected Class<? extends IComponent<?>>
getPredefinedDataTreeComponentClass()
Gets class of PredefinedData tree componentprotected IModelFactory
getPredefinedDataTreeModelFactory()
Gets model factory for PredefinedData tree editorprotected TreeParameterization
getPredefinedDataTreeParameterization(M model)
Gets parametrization of PredefinedData tree component-
Methods inherited from class com._1c.g5.v8.dt.md.ui.editor.aef.DtGranularEditorAefPage
createDefinition
-
Methods inherited from class com._1c.g5.v8.dt.md.ui.editor.aef.AbstractDtGranularEditorAefPage
createPageLayout, createRenderingParameters, deactivate, dispose, getDefinition, getEngine, getPageFeatures, getScene, onEventGateClosed, refresh, setFocus, setSelection, showEditorInput
-
Methods inherited from class com._1c.g5.v8.dt.md.ui.editor.base.DtGranularEditorPage
activate, createFormContent, getActiveFeature, getActiveSelection, getApiEditingContext, getDefaultFeature, getEditingContext, getEditor, getEditorInput, getEditorPageDescriptor, getEventGate, getHelpContextId, getModel, getPageTitle, getSectionID, getShowInContext, getWaitingPartsId, gotoSelection, init, initialize, pathSeparetor, setActiveFeature, setActiveSelection, setDefaultFeature, 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 com._1c.g5.v8.dt.ui.editor.IDtEditor
getApiEditingContext, getEditingContext, getEditorInput, getModel, init, setActiveFeature, setActiveSelection
-
Methods inherited from interface com._1c.g5.v8.dt.ui.editor.IDtGranularEditorPage
activate, setDefaultFeature
-
Methods inherited from interface org.eclipse.ui.forms.editor.IFormPage
canLeaveThePage, getEditor, getId, getIndex, getManagedForm, getPartControl, initialize, isActive, isEditor, selectReveal, setActive, setIndex
-
Methods inherited from interface com._1c.g5.v8.dt.ui.editor.IGotoSelection
gotoSelection
-
-
-
-
Field Detail
-
PAGE_ID
public static final String PAGE_ID
ID of this page.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DtGranularEditorPredefinedDataPage
public DtGranularEditorPredefinedDataPage()
Creates a newDtGranularEditorPredefinedDataPage
.
-
-
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 classDtGranularEditorPage<M extends BasicDbObject>
- Parameters:
modelObject
- the model object, cannot benull
- Returns:
- the page title, never
null
-
createPageControls
protected void createPageControls(org.eclipse.ui.forms.IManagedForm managedForm)
Description copied from class:DtGranularEditorPage
Creates the controls of this page.- Overrides:
createPageControls
in classAbstractDtGranularEditorAefPage<M extends BasicDbObject>
- Parameters:
managedForm
- managed form that will contain the controls.
-
build
protected void build(DtGranularEditorPageBuilder<?> builder)
Description copied from class:DtGranularEditorAefPage
Builds the page with the given builder.- Specified by:
build
in classDtGranularEditorAefPage<M extends BasicDbObject>
- Parameters:
builder
- the builder, cannot benull
.
-
getPredefinedDataTreeModelFactory
protected IModelFactory getPredefinedDataTreeModelFactory()
Gets model factory for PredefinedData tree editor- Returns:
IModelFactory
to create the AEF model, cannot benull
-
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 benull
- 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 benull
- Returns:
- list of actions on PredefinedSection in editor, never
null
-
-