Package com._1c.g5.v8.dt.ui.editor
Interface IDtEditor<M extends org.eclipse.emf.ecore.EObject>
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable
,org.eclipse.ui.IEditorPart
,IGotoSelection
,org.eclipse.ui.ISaveablePart
,org.eclipse.ui.IShowEditorInput
,org.eclipse.ui.part.IShowInSource
,org.eclipse.ui.IWorkbenchPart
- All Known Subinterfaces:
IAefEditor<M>
,IDtGranularEditor<M>
,IDtGranularEditorAefPage<M>
,IDtGranularEditorEmbeddedEditorPage<M>
,IDtGranularEditorPage<M>
,IHtmlDocumentPreviewGranularEditorPage
,IHtmlDocumentTextGranularEditorPage
,IHtmlDocumentWysiwygGranularEditorPage
- All Known Implementing Classes:
AbstractAefBoundDtEditor
,AbstractDtGranularEditorAefPage
,AccountingRegisterEditor
,AccountingRegisterEditorDataPage
,AccountingRegisterEditorMainPage
,AccumulationRegisterEditor
,AccumulationRegisterEditorAggregatesPage
,AccumulationRegisterEditorDataPage
,AccumulationRegisterEditorMainPage
,AdoptedDtGranularEditorExternalConnectionModulePage
,AdoptedDtGranularEditorFormsPage
,AdoptedDtGranularEditorManagedApplicationModulePage
,AdoptedDtGranularEditorManagerModulePage
,AdoptedDtGranularEditorModulePage
,AdoptedDtGranularEditorObjectModulePage
,AdoptedDtGranularEditorPredefinedDataPage
,AdoptedDtGranularEditorRecordSetModulePage
,AdoptedDtGranularEditorSessionModulePage
,AdoptedFormEditorPage
,AefBoundDtEditor
,AefDescriptorBasedDtEditor
,AllRestrictionsEditor
,AllRolesEditor
,AllRolesExtensionEditor
,AppearanceTemplateEditor
,BotEditor
,BotEditorMainPage
,BusinessProcessEditor
,BusinessProcessEditorDataPage
,BusinessProcessEditorMainPage
,CaiEditor
,CalculationRegisterEditor
,CalculationRegisterEditorDataPage
,CalculationRegisterEditorMainPage
,CalculationRegisterEditorRecalculationsPage
,CatalogEditor
,CatalogEditorDataPage
,CatalogEditorMainPage
,CatalogEditorOwnersPage
,ChartOfAccountsEditor
,ChartOfAccountsEditorDataPage
,ChartOfAccountsEditorMainPage
,ChartOfCalculationTypesEditor
,ChartOfCalculationTypesEditorCalculationPage
,ChartOfCalculationTypesEditorDataPage
,ChartOfCalculationTypesEditorMainPage
,ChartOfCharacteristicTypesEditor
,ChartOfCharacteristicTypesEditorDataPage
,ChartOfCharacteristicTypesEditorMainPage
,CommandGroupEditor
,CommandGroupEditorMainPage
,CommandInterfaceEditor
,CommandInterfaceExtensionEditor
,CommonAttributeEditor
,CommonAttributeEditorContentPage
,CommonAttributeEditorMainPage
,CommonCommandEditor
,CommonCommandEditorMainPage
,CommonFormEditorMainPage
,CommonModuleEditor
,CommonModuleEditorMainPage
,CommonPictureEditor
,CommonPictureEditorMainPage
,ConfigurationEditor
,ConfigurationEditorExternalConnectionModulePage
,ConfigurationEditorMainPage
,ConfigurationEditorStandaloneContentPage
,ConstantEditor
,ConstantEditorMainPage
,CubeEditor
,CubeEditorDataPage
,CubeEditorMainPage
,DataProcessorEditor
,DataProcessorEditorDataPage
,DataProcessorEditorMainPage
,DefinedTypeEditor
,DefinedTypeEditorMainPage
,DimensionTableEditor
,DimensionTableEditorDataPage
,DimensionTableEditorMainPage
,DistributionSupportEditor
,DocumentEditor
,DocumentEditorDataPage
,DocumentEditorJournalsPage
,DocumentEditorMainPage
,DocumentEditorPostingPage
,DocumentEditorSequencesPage
,DocumentJournalEditor
,DocumentJournalEditorDataPage
,DocumentJournalEditorMainPage
,DocumentNumeratorEditor
,DocumentNumeratorEditorMainPage
,DtEditor
,DtGranularEditor
,DtGranularEditorAdditionalIndexesPage
,DtGranularEditorAefDescriptorBasedPage
,DtGranularEditorAefPage
,DtGranularEditorCharacteristicsPage
,DtGranularEditorCommandsPage
,DtGranularEditorCommonAttributesPage
,DtGranularEditorDataExchangePage
,DtGranularEditorEmbeddedEditorPage
,DtGranularEditorFormsPage
,DtGranularEditorFunctionalOptionsPage
,DtGranularEditorGenerationPage
,DtGranularEditorModulePage
,DtGranularEditorObjectModulePage
,DtGranularEditorPage
,DtGranularEditorPredefinedDataPage
,DtGranularEditorRecordersPage
,DtGranularEditorSingleSectionPage
,DtGranularEditorSubsystemsPage
,DtGranularEditorTemplatesPage
,DtGranularEditorXtextEditorPage
,EnumEditor
,EnumEditorDataPage
,EnumEditorMainPage
,ErdEmbeddedEditorPage
,EventSubscriptionEditor
,EventSubscriptionEditorMainPage
,ExchangePlanEditor
,ExchangePlanEditorContentPage
,ExchangePlanEditorDataPage
,ExchangePlanEditorMainPage
,ExternalDataProcessorEditor
,ExternalDataProcessorEditorDataPage
,ExternalDataProcessorEditorMainPage
,ExternalDataSourceEditor
,ExternalDataSourceEditorDataPage
,ExternalDataSourceEditorFunctionsPage
,ExternalDataSourceEditorMainPage
,ExternalReportEditor
,ExternalReportEditorDataPage
,ExternalReportEditorMainPage
,FilterCriterionEditor
,FilterCriterionEditorContentPage
,FilterCriterionEditorMainPage
,FormAdditionalEditorPage
,FormEditor
,FormEditorModulePage
,FormEditorPage
,FunctionalOptionEditor
,FunctionalOptionEditorContentPage
,FunctionalOptionEditorMainPage
,FunctionalOptionsParameterEditor
,FunctionalOptionsParameterEditorMainPage
,HpwaEditor
,HtmlDocumentPreviewEditorPage
,HtmlDocumentTextEditorPage
,HtmlDocumentWysiwygEditorPage
,HTTPServiceEditor
,HTTPServiceEditorMainPage
,HTTPServiceEditorUrlTemplatesPage
,InformationRegisterEditor
,InformationRegisterEditorDataPage
,InformationRegisterEditorMainPage
,IntegrationServiceEditor
,IntegrationServiceEditorIntegrationServiceChannelsPage
,IntegrationServiceEditorMainPage
,LanguagesEditor
,LanguagesEditorPage
,ReportEditor
,ReportEditorDataPage
,ReportEditorMainPage
,RightsEditor
,RightsEditorRestrictionTemplatesPage
,RightsEditorRightsPage
,RightsExtensionEditorRestrictionTemplatesPage
,RightsExtensionEditorRightsPage
,RoleEditor
,RoleEditorMainPage
,ScheduledJobEditor
,ScheduledJobEditorMainPage
,ScheduledJobEditorSchedulePage
,SequenceEditor
,SequenceEditorDataPage
,SequenceEditorMainPage
,SequenceEditorUsagePage
,SessionParameterEditor
,SessionParameterEditorMainPage
,SettingsStorageEditor
,SettingsStorageEditorMainPage
,StyleEditor
,StyleEditor
,StyleEditorMainPage
,StyleEditorStylePage
,StyleItemEditor
,StyleItemEditorMainPage
,SubsystemEditor
,SubsystemEditorContentPage
,SubsystemEditorMainPage
,TableEditor
,TableEditorDataPage
,TableEditorMainPage
,TableEditorRecordSetModulePage
,TaskEditor
,TaskEditorDataPage
,TaskEditorMainPage
,TemplateEditor
,TemplateEditorActiveDocumentPage
,TemplateEditorAddInPage
,TemplateEditorAppearanceTemplatePage
,TemplateEditorBaseSpreadsheetPage
,TemplateEditorBinaryDataPage
,TemplateEditorDcsPage
,TemplateEditorGeographicalSchemaPage
,TemplateEditorGraphicalSchemePage
,TemplateEditorMainPage
,TemplateEditorResultSpreadsheetPage
,TemplateEditorSpreadsheetPage
,TextDocumentTemplateEditorPage
,WebServiceEditor
,WebServiceEditorMainPage
,WebServiceEditorOperationsPage
,WebSocketClientEditor
,WebSocketClientEditorMainPage
,WsReferenceEditor
,WsReferenceEditorMainPage
,WsReferenceEditorWsDefinitionsPage
,XdtoPackageEditor
,XdtoPackageEditorMainPage
,XdtoPackageEditorPackagePage
public interface IDtEditor<M extends org.eclipse.emf.ecore.EObject>
extends org.eclipse.ui.IEditorPart, org.eclipse.ui.IShowEditorInput, IGotoSelection, org.eclipse.ui.part.IShowInSource
Defines public contract for all DT model-based editors.
-
Field Summary
Fields inherited from interface org.eclipse.ui.IEditorPart
PROP_DIRTY, PROP_INPUT
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
-
Method Summary
Modifier and TypeMethodDescriptionReturns theIEditingContext
instance associated with the editor.Deprecated.getModel()
void
init
(org.eclipse.ui.IEditorSite site, IDtEditorInput<M> input) Initializes the editor.void
setActiveFeature
(org.eclipse.emf.ecore.EStructuralFeature feature) Sets the active feature of the editor.void
setActiveSelection
(ISelection selection, DtEditorSelectionProcessingPolicy policy) Sets the active selection of the editor.void
showEditorInput
(IDtEditorInput<M> editorInput) Shows the editor input.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
Methods inherited from interface org.eclipse.ui.IEditorPart
getEditorSite, init
Methods inherited from interface com._1c.g5.v8.dt.ui.editor.IGotoSelection
gotoSelection
Methods inherited from interface org.eclipse.ui.ISaveablePart
doSave, doSaveAs, isDirty, isSaveAsAllowed, isSaveOnCloseNeeded
Methods inherited from interface org.eclipse.ui.IShowEditorInput
showEditorInput
Methods inherited from interface org.eclipse.ui.part.IShowInSource
getShowInContext
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus
-
Method Details
-
getEditorInput
IDtEditorInput<M> getEditorInput()- Specified by:
getEditorInput
in interfaceorg.eclipse.ui.IEditorPart
-
showEditorInput
Shows the editor input.- Parameters:
editorInput
- the editor input to show, cannot benull
.- See Also:
-
IShowEditorInput.showEditorInput(org.eclipse.ui.IEditorInput)
-
init
void init(org.eclipse.ui.IEditorSite site, IDtEditorInput<M> input) throws org.eclipse.ui.PartInitException Initializes the editor.- 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)
-
setActiveFeature
void setActiveFeature(org.eclipse.emf.ecore.EStructuralFeature feature) Sets the active feature of the editor.- Parameters:
feature
- the feature active at this moment, ornull
if there is no active feature.
-
setActiveSelection
Sets the active selection of the editor.- Parameters:
selection
- selection active at this moment.policy
- selection processing policy.
-
getEditingContext
Deprecated.use thegetApiEditingContext()
- Returns:
- BM editing context associated with the editor.
-
getApiEditingContext
IEditingContext getApiEditingContext()Returns theIEditingContext
instance associated with the editor.- Returns:
- the
IEditingContext
instance associated with the editor, can benull
if the editor is not initialized or it is already disposed.
-
getModel
M getModel()- Returns:
- the sessioned model being edited.
-
getApiEditingContext()