Package com._1c.g5.v8.dt.moxel.ui
Class TemplateEditorSpreadsheetPage
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.moxel.ui.TemplateEditorSpreadsheetPage
- 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
- Direct Known Subclasses:
- TemplateEditorBaseSpreadsheetPage,- TemplateEditorResultSpreadsheetPage
public class TemplateEditorSpreadsheetPage
extends DtGranularEditorEmbeddedEditorPage<BasicTemplate>
Granular editor page for displaying 
SpreadsheetDocument- 
Field SummaryFieldsFields inherited from class com._1c.g5.v8.dt.md.ui.editor.base.DtGranularEditorPageactiveSelection, derivedDataManagerProvider, modelManager, resourceLookup, SECTION_ID_PATTERNFields inherited from interface org.eclipse.ui.IEditorPartPROP_DIRTY, PROP_INPUTFields inherited from interface org.eclipse.ui.IWorkbenchPartPROP_TITLE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCreates new instance ofTemplateEditorSpreadsheetPage.protectedTemplateEditorSpreadsheetPage(String id, String title) Creates new instance ofTemplateEditorSpreadsheetPage.
- 
Method SummaryModifier and TypeMethodDescriptionvoidactivateContexts(org.eclipse.ui.contexts.IContextService contextService) Activates embedded editor specific contexts.protected org.eclipse.ui.IEditorPartCreate default editor.protected Pair<org.eclipse.ui.IEditorPart,org.eclipse.core.resources.IFile> createDefaultEditor(org.eclipse.emf.ecore.EObject object) org.eclipse.ui.IEditorPartorg.eclipse.ui.IEditorInputClass<? extends org.eclipse.ui.IEditorActionBarContributor>protected StringReturns the page title.protected voidInit page embedded editor.voidinitialize(org.eclipse.ui.forms.editor.FormEditor editor) Methods inherited from class com._1c.g5.v8.dt.md.ui.editor.base.DtGranularEditorEmbeddedEditorPagecreateEditorSite, createPageControls, createPageLayout, dispose, doSave, doSaveAs, getActiveSelection, getAdapter, getEmbeddedEditor, isDirty, isSaveAsAllowed, setFocusMethods inherited from class com._1c.g5.v8.dt.md.ui.editor.base.DtGranularEditorPageactivate, createFormContent, deactivate, getActiveFeature, getApiEditingContext, getDefaultFeature, getEditingContext, getEditor, getEditorInput, getEditorPageDescriptor, getEventGate, getHelpContextId, getModel, getPageTitle, getSectionID, getShowInContext, getWaitingPartsId, gotoSelection, init, onEventGateClosed, pathSeparetor, refresh, setActiveFeature, setActiveSelection, setDefaultFeature, showEditorInput, showEditorInput, waitDerivedData, waitDerivedDataMethods inherited from class org.eclipse.ui.forms.editor.FormPagecanLeaveThePage, createPartControl, getId, getIndex, getManagedForm, getPartControl, getTitleImage, init, isActive, isEditor, selectReveal, setActive, setIndexMethods inherited from class org.eclipse.ui.part.EditorPartcheckSite, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, setPartNameMethods inherited from class org.eclipse.ui.part.WorkbenchPartaddPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusyMethods inherited from class org.eclipse.core.commands.common.EventManageraddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com._1c.g5.v8.dt.ui.editor.IDtEditorgetApiEditingContext, getEditingContext, getEditorInput, getModel, init, setActiveFeature, setActiveSelection, showEditorInputMethods inherited from interface com._1c.g5.v8.dt.ui.editor.IDtGranularEditorPageactivate, deactivate, setDefaultFeatureMethods inherited from interface org.eclipse.ui.IEditorPartgetEditorSite, initMethods inherited from interface org.eclipse.ui.forms.editor.IFormPagecanLeaveThePage, getEditor, getId, getIndex, getManagedForm, getPartControl, isActive, isEditor, selectReveal, setActive, setIndexMethods inherited from interface com._1c.g5.v8.dt.ui.editor.IGotoSelectiongotoSelectionMethods inherited from interface org.eclipse.ui.ISaveablePartisSaveOnCloseNeededMethods inherited from interface org.eclipse.ui.IShowEditorInputshowEditorInputMethods inherited from interface org.eclipse.ui.part.IShowInSourcegetShowInContextMethods inherited from interface org.eclipse.ui.IWorkbenchPartaddPropertyListener, createPartControl, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
- 
Field Details- 
PAGE_ID- See Also:
 
 
- 
- 
Constructor Details- 
TemplateEditorSpreadsheetPageprotected TemplateEditorSpreadsheetPage()Creates new instance ofTemplateEditorSpreadsheetPage.
- 
TemplateEditorSpreadsheetPageCreates new instance ofTemplateEditorSpreadsheetPage.- Parameters:
- id- page id. Must now be- null
- title- page title. Must not be- null
 
 
- 
- 
Method Details- 
initializepublic void initialize(org.eclipse.ui.forms.editor.FormEditor editor) - Specified by:
- initializein interface- org.eclipse.ui.forms.editor.IFormPage
- Overrides:
- initializein class- DtGranularEditorPage<BasicTemplate>
 
- 
initEmbeddedEditorprotected void initEmbeddedEditor()Description copied from class:DtGranularEditorEmbeddedEditorPageInit page embedded editor.- Overrides:
- initEmbeddedEditorin class- DtGranularEditorEmbeddedEditorPage<BasicTemplate>
 
- 
createEmbeddedEditorInputpublic org.eclipse.ui.IEditorInput createEmbeddedEditorInput()- Returns:
- input for embedded editor.
 
- 
createEmbeddedEditorpublic org.eclipse.ui.IEditorPart createEmbeddedEditor()- Returns:
- embedded editor's IEditorInput.
 
- 
activateContextspublic void activateContexts(org.eclipse.ui.contexts.IContextService contextService) Description copied from interface:IDtGranularEditorEmbeddedEditorPageActivates embedded editor specific contexts.- Specified by:
- activateContextsin interface- IDtGranularEditorEmbeddedEditorPage<BasicTemplate>
- Overrides:
- activateContextsin class- DtGranularEditorEmbeddedEditorPage<BasicTemplate>
- Parameters:
- contextService- context service to activate contexts using it.
 
- 
getEmbeddedEditorContributorClasspublic Class<? extends org.eclipse.ui.IEditorActionBarContributor> getEmbeddedEditorContributorClass()- Specified by:
- getEmbeddedEditorContributorClassin interface- IDtGranularEditorEmbeddedEditorPage<BasicTemplate>
- Overrides:
- getEmbeddedEditorContributorClassin class- DtGranularEditorEmbeddedEditorPage<BasicTemplate>
- Returns:
- IEditorActionBarContributorclass associated with the embedded editor, if any, or- null.
 
- 
getPageTitleDescription copied from class:DtGranularEditorPageReturns the page title.- Overrides:
- getPageTitlein class- DtGranularEditorPage<BasicTemplate>
- Returns:
- this page title, never null
 
- 
createDefaultEditorprotected Pair<org.eclipse.ui.IEditorPart,org.eclipse.core.resources.IFile> createDefaultEditor(org.eclipse.emf.ecore.EObject object) 
- 
createDefaultEditorprotected org.eclipse.ui.IEditorPart createDefaultEditor()Create default editor.- Returns:
- created IEditorPart
 
 
-