Package com._1c.g5.v8.dt.ui.editor.aef
Class AbstractAefBoundDtEditor<M extends org.eclipse.emf.ecore.EObject>
- 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<M>
-
- com._1c.g5.v8.dt.ui.editor.aef.AbstractAefBoundDtEditor<M>
-
- All Implemented Interfaces:
IAefEditor<M>
,IDtEditor<M>
,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
- Direct Known Subclasses:
AefBoundDtEditor
,AefDescriptorBasedDtEditor
public abstract class AbstractAefBoundDtEditor<M extends org.eclipse.emf.ecore.EObject> extends DtEditor<M> implements IAefEditor<M>
Abstract aef bounded dt-editor.
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.ui.editor.DtEditor
bmModel, configurationProvider, derivedDataManagerProvider, dtEditorProxyInputHelperService, modelManager, resourceLookup, serviceOrchestrator
-
-
Constructor Summary
Constructors Constructor Description AbstractAefBoundDtEditor()
Constructor ofAbstractAefBoundEditor
.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
createControls(org.eclipse.ui.forms.IManagedForm managedForm)
Creates editor controls.protected abstract IDtGranularEditorManagingDefinition
createDefinition()
Creates and returns theIDtGranularEditorManagingDefinition
.void
dispose()
protected DtGranularEditorPageBuilder<?>
getBuilder()
Returns AEF builder instance, that can build this editor UI.Collection<org.eclipse.emf.ecore.EStructuralFeature>
getPartFeatures()
Returns the collection of the editor part features.protected IScene
getScene()
Returns the AEF scene, that contains page AEF container component.void
setDefaultFeature(org.eclipse.emf.ecore.EStructuralFeature feature)
Set default feature for this AEF bounded editor.void
setFocus()
-
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, init, isDirty, isSaveAsAllowed, setActiveFeature, setActiveSelection, showEditorInput, 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
-
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, showEditorInput
-
Methods inherited from interface com._1c.g5.v8.dt.ui.editor.IGotoSelection
gotoSelection
-
-
-
-
Method Detail
-
dispose
public void dispose()
-
getPartFeatures
public Collection<org.eclipse.emf.ecore.EStructuralFeature> getPartFeatures()
Description copied from interface:IAefEditor
Returns the collection of the editor part features.- Specified by:
getPartFeatures
in interfaceIAefEditor<M extends org.eclipse.emf.ecore.EObject>
- Returns:
- the collection of features, never
null
-
setDefaultFeature
public void setDefaultFeature(org.eclipse.emf.ecore.EStructuralFeature feature)
Set default feature for this AEF bounded editor. AEF-editor, associated with given feature will focused on editor activation.- Specified by:
setDefaultFeature
in interfaceIAefEditor<M extends org.eclipse.emf.ecore.EObject>
- Parameters:
feature
- feature to set default, can benull
then no AEF-editors will be focued by default
-
setFocus
public void setFocus()
-
createControls
protected void createControls(org.eclipse.ui.forms.IManagedForm managedForm)
Description copied from class:DtEditor
Creates editor controls.- Specified by:
createControls
in classDtEditor<M extends org.eclipse.emf.ecore.EObject>
- Parameters:
managedForm
- the managed form, cannot benull
.
-
createDefinition
protected abstract IDtGranularEditorManagingDefinition createDefinition()
Creates and returns theIDtGranularEditorManagingDefinition
.- Returns:
- a newly created
IDtGranularEditorManagingDefinition
instance, nevernull
.
-
getBuilder
protected DtGranularEditorPageBuilder<?> getBuilder()
Returns AEF builder instance, that can build this editor UI.- Returns:
- AEF builder instance, never
null
-
getScene
protected IScene getScene()
Returns the AEF scene, that contains page AEF container component.- Returns:
- the AEF scene, that contains page AEF container component, never
null
after page content creation
-
-