Class 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
    • Constructor Detail

      • MoxelDcsEditor

        public MoxelDcsEditor()
    • Method Detail

      • doSave

        public void doSave​(org.eclipse.core.runtime.IProgressMonitor monitor)
        Specified by:
        doSave in interface org.eclipse.ui.ISaveablePart
        Overrides:
        doSave in class MoxelEditor
      • doSaveAs

        public void doSaveAs()
        Specified by:
        doSaveAs in interface org.eclipse.ui.ISaveablePart
        Overrides:
        doSaveAs in class MoxelEditor
      • init

        public void init​(org.eclipse.ui.IEditorSite site,
                         org.eclipse.ui.IEditorInput input)
                  throws org.eclipse.ui.PartInitException
        Specified by:
        init in interface org.eclipse.ui.IEditorPart
        Overrides:
        init in class MoxelEditor
        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 be null.
        editingContext - The editing context. May not be null.
        document - The spreadsheet document. May not be null.
      • isSaveAsAllowed

        public boolean isSaveAsAllowed()
        Specified by:
        isSaveAsAllowed in interface org.eclipse.ui.ISaveablePart
        Overrides:
        isSaveAsAllowed in class MoxelEditor
      • createPartControl

        public void createPartControl​(org.eclipse.swt.widgets.Composite parent)
        Specified by:
        createPartControl in interface org.eclipse.ui.IWorkbenchPart
        Overrides:
        createPartControl in class MoxelEditor