Class MoxelDcsEditor
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.ui.part.WorkbenchPart
-
- org.eclipse.ui.part.EditorPart
-
- com._1c.g5.v8.dt.moxel.ui.editor.MoxelEditor
-
- com._1c.g5.v8.dt.dcs.ui.templates.MoxelDcsEditor
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
,org.eclipse.core.runtime.IExecutableExtension
,org.eclipse.ui.IEditorPart
,org.eclipse.ui.ISaveablePart
,org.eclipse.ui.IWorkbenchPart
,org.eclipse.ui.IWorkbenchPart2
,org.eclipse.ui.IWorkbenchPart3
,org.eclipse.ui.part.IWorkbenchPartOrientation
public class MoxelDcsEditor extends MoxelEditor
Spreadsheet document editor for integration with 'Templates' tab of Data Composition Schema Editor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.v8.dt.moxel.ui.editor.MoxelEditor
MoxelEditor.MoxelDragListener, MoxelEditor.MoxelDropListener
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.moxel.ui.editor.MoxelEditor
BM_TASK_SERVICE_ID, configurationProvider, document, editingContext, MENU_MANAGER, MOXEL_CONTEXT_MENU, runtimeVersionSupport, viewer
-
-
Constructor Summary
Constructors Constructor Description MoxelDcsEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createPartControl(org.eclipse.swt.widgets.Composite parent)
void
doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
void
doSaveAs()
void
init(org.eclipse.ui.IEditorSite site, IEditingContext editingContext, SpreadsheetDocument document)
Custom initialization method.void
init(org.eclipse.ui.IEditorSite site, org.eclipse.ui.IEditorInput input)
boolean
isSaveAsAllowed()
-
Methods inherited from class com._1c.g5.v8.dt.moxel.ui.editor.MoxelEditor
createContextMenu, createResource, dispose, getAction, getDocument, getEditorMode, getExtensionHighlighter, getInternalViewer, getMenuDetectListener, getMoxelControl, getUndoContext, isCellsHighlightingEnabled, isDirty, setFocus, setNeedHighlighting, setUpEditorMode, updateLanguageSettings
-
Methods inherited from class org.eclipse.ui.part.EditorPart
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, setPartName
-
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, 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
-
-
-
-
Method Detail
-
doSave
public void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
- Specified by:
doSave
in interfaceorg.eclipse.ui.ISaveablePart
- Overrides:
doSave
in classMoxelEditor
-
doSaveAs
public void doSaveAs()
- Specified by:
doSaveAs
in interfaceorg.eclipse.ui.ISaveablePart
- Overrides:
doSaveAs
in classMoxelEditor
-
init
public void init(org.eclipse.ui.IEditorSite site, org.eclipse.ui.IEditorInput input) throws org.eclipse.ui.PartInitException
- Specified by:
init
in interfaceorg.eclipse.ui.IEditorPart
- Overrides:
init
in classMoxelEditor
- Throws:
org.eclipse.ui.PartInitException
-
init
public void init(org.eclipse.ui.IEditorSite site, IEditingContext editingContext, SpreadsheetDocument document)
Custom initialization method.- Parameters:
site
- The editor site. May not benull
.editingContext
- The editing context. May not benull
.document
- The spreadsheet document. May not benull
.
-
isSaveAsAllowed
public boolean isSaveAsAllowed()
- Specified by:
isSaveAsAllowed
in interfaceorg.eclipse.ui.ISaveablePart
- Overrides:
isSaveAsAllowed
in classMoxelEditor
-
createPartControl
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
- Specified by:
createPartControl
in interfaceorg.eclipse.ui.IWorkbenchPart
- Overrides:
createPartControl
in classMoxelEditor
-
-