Class TemplateEditorGraphicalSchemePage
- 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.base.DtGranularEditorEmbeddedEditorPage<BasicTemplate>
-
- com._1c.g5.v8.dt.bp.scheme.ui.granular.TemplateEditorGraphicalSchemePage
-
- All Implemented Interfaces:
IDtEditor<BasicTemplate>
,IDtGranularEditorEmbeddedEditorPage<BasicTemplate>
,IDtGranularEditorPage<BasicTemplate>
,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 TemplateEditorGraphicalSchemePage extends DtGranularEditorEmbeddedEditorPage<BasicTemplate>
Granular editor page for editing graphical scheme template.
-
-
Field Summary
Fields Modifier and Type Field Description static String
PAGE_ID
-
Fields inherited from class com._1c.g5.v8.dt.md.ui.editor.base.DtGranularEditorPage
activeSelection, derivedDataManagerProvider, modelManager, resourceLookup, SECTION_ID_PATTERN
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TemplateEditorGraphicalSchemePage()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activateContexts(org.eclipse.ui.contexts.IContextService contextService)
Activates embedded editor specific contexts.org.eclipse.ui.IEditorPart
createEmbeddedEditor()
org.eclipse.ui.IEditorInput
createEmbeddedEditorInput()
protected org.eclipse.swt.widgets.Layout
createPageLayout()
org.eclipse.ui.part.ShowInContext
getShowInContext()
void
initialize(org.eclipse.ui.forms.editor.FormEditor editor)
void
setActiveSelection(ISelection selection, DtEditorSelectionProcessingPolicy policy)
Sets the active selection of the editor.-
Methods inherited from class com._1c.g5.v8.dt.md.ui.editor.base.DtGranularEditorEmbeddedEditorPage
createEditorSite, createPageControls, dispose, doSave, doSaveAs, getActiveSelection, getAdapter, getEmbeddedEditor, getEmbeddedEditorContributorClass, initEmbeddedEditor, isDirty, isSaveAsAllowed, setFocus
-
Methods inherited from class com._1c.g5.v8.dt.md.ui.editor.base.DtGranularEditorPage
activate, createFormContent, deactivate, getActiveFeature, getApiEditingContext, getDefaultFeature, getEditingContext, getEditor, getEditorInput, getEditorPageDescriptor, getEventGate, getHelpContextId, getModel, getPageTitle, getPageTitle, getSectionID, getWaitingPartsId, gotoSelection, init, onEventGateClosed, pathSeparetor, refresh, setActiveFeature, setDefaultFeature, showEditorInput, showEditorInput, waitDerivedData, waitDerivedData
-
Methods inherited from class org.eclipse.ui.forms.editor.FormPage
canLeaveThePage, createPartControl, getId, getIndex, getManagedForm, getPartControl, getTitleImage, init, isActive, isEditor, 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, 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, showEditorInput
-
Methods inherited from interface com._1c.g5.v8.dt.ui.editor.IDtGranularEditorPage
activate, deactivate, setDefaultFeature
-
Methods inherited from interface org.eclipse.ui.forms.editor.IFormPage
canLeaveThePage, getEditor, getId, getIndex, getManagedForm, getPartControl, 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
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize(org.eclipse.ui.forms.editor.FormEditor editor)
- Specified by:
initialize
in interfaceorg.eclipse.ui.forms.editor.IFormPage
- Overrides:
initialize
in classDtGranularEditorPage<BasicTemplate>
-
createEmbeddedEditor
public org.eclipse.ui.IEditorPart createEmbeddedEditor()
- Returns:
- embedded editor's
IEditorInput
.
-
createEmbeddedEditorInput
public org.eclipse.ui.IEditorInput createEmbeddedEditorInput()
- Returns:
- input for embedded editor.
-
activateContexts
public void activateContexts(org.eclipse.ui.contexts.IContextService contextService)
Description copied from interface:IDtGranularEditorEmbeddedEditorPage
Activates embedded editor specific contexts.- Specified by:
activateContexts
in interfaceIDtGranularEditorEmbeddedEditorPage<BasicTemplate>
- Overrides:
activateContexts
in classDtGranularEditorEmbeddedEditorPage<BasicTemplate>
- Parameters:
contextService
- context service to activate contexts using it.
-
getShowInContext
public org.eclipse.ui.part.ShowInContext getShowInContext()
- Specified by:
getShowInContext
in interfaceorg.eclipse.ui.part.IShowInSource
- Overrides:
getShowInContext
in classDtGranularEditorPage<BasicTemplate>
-
createPageLayout
protected org.eclipse.swt.widgets.Layout createPageLayout()
- Overrides:
createPageLayout
in classDtGranularEditorEmbeddedEditorPage<BasicTemplate>
- Returns:
- layout for this page.
-
setActiveSelection
public void setActiveSelection(ISelection selection, DtEditorSelectionProcessingPolicy policy)
Description copied from interface:IDtEditor
Sets the active selection of the editor.- Specified by:
setActiveSelection
in interfaceIDtEditor<BasicTemplate>
- Overrides:
setActiveSelection
in classDtGranularEditorPage<BasicTemplate>
- Parameters:
selection
- selection active at this moment.policy
- selection processing policy.
-
-