Class DelegatingEasyEditorPage

  • All Implemented Interfaces:
    IEASyEditorPage

    public class DelegatingEasyEditorPage
    extends java.lang.Object
    implements IEASyEditorPage
    Implementation of an editorpage to use the configuration table editor within usual composites.
    • Constructor Detail

      • DelegatingEasyEditorPage

        public DelegatingEasyEditorPage​(org.eclipse.swt.widgets.Composite composite)
        Constructor for an EasyEditorPage.
        Parameters:
        composite - This Composite will be set.
      • DelegatingEasyEditorPage

        public DelegatingEasyEditorPage​(org.eclipse.swt.widgets.Composite composite,
                                        DelegatingEasyEditorPage.IDirtyListener listener)
        Constructor for an EasyEditorPage.
        Parameters:
        composite - This Composite will be set.
        listener - optional dirty listener (may be null)
    • Method Detail

      • notifyListener

        private void notifyListener()
        Notifies the dirty listener about a change in the dirty flag.
      • unsetDirty

        public void unsetDirty()
        Resets the dirty flag.
      • isDirty

        public boolean isDirty()
        Returns whether dirty or not.
        Returns:
        dirty true -> dirty. false -> not dirty.
      • getContentPane

        public org.eclipse.swt.widgets.Composite getContentPane()
        Description copied from interface: IEASyEditorPage
        Returns the content pane of this editor page.
        Specified by:
        getContentPane in interface IEASyEditorPage
        Returns:
        The content pane of this editor page
      • getDisplay

        public org.eclipse.swt.widgets.Display getDisplay()
        Description copied from interface: IEASyEditorPage
        Returns the Display that is associated with the receiver.
        Specified by:
        getDisplay in interface IEASyEditorPage
        Returns:
        the receiver's display (may be null if disposed)
      • getPageText

        public java.lang.String getPageText()
        Description copied from interface: IEASyEditorPage
        Returns the text label for the editor page. This is for creating labels/tabs in an editor.
        Specified by:
        getPageText in interface IEASyEditorPage
        Returns:
        The text label for the editor page (must not be null).
      • refresh

        public void refresh()
        Description copied from interface: IEASyEditorPage
        Refreshes the shown content of the current project. This method should be calles if the contant inside the editor has been changed and should also affect other editor parts.
        Specified by:
        refresh in interface IEASyEditorPage
      • isDisposed

        public boolean isDisposed()
        Description copied from interface: IEASyEditorPage
        Returns whether the editor page is disposed.
        Specified by:
        isDisposed in interface IEASyEditorPage
        Returns:
        true if the editor page is disposed, false else