Class AbstractStyleEditorDialog

    • Constructor Detail

      • AbstractStyleEditorDialog

        public AbstractStyleEditorDialog​(org.eclipse.swt.widgets.Shell parent)
    • Method Detail

      • setLocation

        public void setLocation​(org.eclipse.swt.graphics.Point location)
      • initComponents

        protected abstract void initComponents​(org.eclipse.swt.widgets.Shell shell)
        Create all widgets to be displayed in the editor.
        Parameters:
        shell - the parent shell
      • open

        public void open()
        Initialize and display the SWT shell. This is a blocking call.
      • createButtons

        protected void createButtons​(org.eclipse.swt.widgets.Shell shell)
        Create OK, Reset and Cancel buttons
        Parameters:
        shell - the parent shell
      • doFormOK

        protected abstract void doFormOK​(org.eclipse.swt.widgets.Shell shell)
        Respond to the OK button press. Read new state from the form.
        Parameters:
        shell - the parent shell
      • doFormCancel

        protected void doFormCancel​(org.eclipse.swt.widgets.Shell shell)
      • doFormClear

        protected void doFormClear​(org.eclipse.swt.widgets.Shell shell)
      • isCancelPressed

        public boolean isCancelPressed()