Class FormAdditionalEditorPage

    • Constructor Detail

      • FormAdditionalEditorPage

        public FormAdditionalEditorPage()
        Creates new page.
    • Method Detail

      • setEmbeddedEditorModel

        public void setEmbeddedEditorModel​(Object model,
                                           Runnable closeCallback)
        Sets model for which to show embedded editor on this page.
        Parameters:
        model - the model to set
        closeCallback - the callback to be called when this editor page wants to be closed
      • isOpenedForModel

        public boolean isOpenedForModel​(Object checkModel)
        Checks whether this editor page has been already opened for the specified model object.
        Parameters:
        checkModel - the model to check
        Returns:
        true if this editor page is opened for the specified model, false otherwise
      • createEmbeddedEditorInput

        public org.eclipse.ui.IEditorInput createEmbeddedEditorInput()
        Returns:
        input for embedded editor.
      • createEmbeddedEditor

        public org.eclipse.ui.IEditorPart createEmbeddedEditor()
        Returns:
        embedded editor's IEditorInput.
      • isSaveOnCloseNeeded

        public boolean isSaveOnCloseNeeded()
        Specified by:
        isSaveOnCloseNeeded in interface org.eclipse.ui.ISaveablePart
        Overrides:
        isSaveOnCloseNeeded in class org.eclipse.ui.part.EditorPart
      • createPartControl

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