Package com._1c.g5.v8.dt.ui.editor
Interface IDtGranularEditorEmbeddedEditorPage<M extends org.eclipse.emf.ecore.EObject>
-
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable
,IDtEditor<M>
,IDtGranularEditorPage<M>
,org.eclipse.ui.IEditorPart
,org.eclipse.ui.forms.editor.IFormPage
,IGotoSelection
,org.eclipse.ui.ISaveablePart
,org.eclipse.ui.IShowEditorInput
,org.eclipse.ui.part.IShowInSource
,org.eclipse.ui.IWorkbenchPart
- All Known Subinterfaces:
IHtmlDocumentTextGranularEditorPage
- All Known Implementing Classes:
DtGranularEditorEmbeddedEditorPage
,DtGranularEditorXtextEditorPage
,ErdEmbeddedEditorPage
,FormAdditionalEditorPage
,FormEditorModulePage
,TemplateEditorBaseSpreadsheetPage
,TemplateEditorGraphicalSchemePage
,TemplateEditorResultSpreadsheetPage
,TemplateEditorSpreadsheetPage
,TextDocumentTemplateEditorPage
public interface IDtGranularEditorEmbeddedEditorPage<M extends org.eclipse.emf.ecore.EObject> extends IDtGranularEditorPage<M>
Defines public contract of standard Eclipse editors embedded into DT granular editors.
-
-
Method Summary
All Methods Instance Methods Abstract 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()
org.eclipse.ui.IEditorPart
getEmbeddedEditor()
Class<? extends org.eclipse.ui.IEditorActionBarContributor>
getEmbeddedEditorContributorClass()
-
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.IDtGranularEditorPage
activate, deactivate, 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
-
-
-
-
Method Detail
-
createEmbeddedEditorInput
org.eclipse.ui.IEditorInput createEmbeddedEditorInput()
- Returns:
- input for embedded editor.
-
createEmbeddedEditor
org.eclipse.ui.IEditorPart createEmbeddedEditor()
- Returns:
- embedded editor's
IEditorInput
.
-
getEmbeddedEditor
org.eclipse.ui.IEditorPart getEmbeddedEditor()
- Returns:
- embedded editor instance or
null
if no editor associated yet.
-
activateContexts
void activateContexts(org.eclipse.ui.contexts.IContextService contextService)
Activates embedded editor specific contexts.- Parameters:
contextService
- context service to activate contexts using it.
-
getEmbeddedEditorContributorClass
Class<? extends org.eclipse.ui.IEditorActionBarContributor> getEmbeddedEditorContributorClass()
- Returns:
IEditorActionBarContributor
class associated with the embedded editor, if any, ornull
.
-
-