Class AbstractAdapterEditor

  • Direct Known Subclasses:
    ToolAdapterEditorDialog, ToolAdapterTabbedEditorDialog

    public abstract class AbstractAdapterEditor
    extends ModalDialog
    A dialog window used to edit an operator, or to create a new operator. It shows details of an operator such as: descriptor details (name, alias, label, version, copyright, authors, description), system variables, preprocessing tool, product writer, tool location, operator working directory, command line template content, tool output patterns and parameters.
    • Method Detail

      • createMainPanel

        protected abstract JComponent createMainPanel()
      • createDescriptorPanel

        protected abstract JPanel createDescriptorPanel()
      • createVariablesPanel

        protected abstract JPanel createVariablesPanel()
      • createPreProcessingPanel

        protected abstract JPanel createPreProcessingPanel()
      • createToolInfoPanel

        protected abstract JPanel createToolInfoPanel()
      • createPatternsPanel

        protected abstract JPanel createPatternsPanel()
      • createParametersPanel

        protected abstract JPanel createParametersPanel()
      • createBundlePanel

        protected abstract JPanel createBundlePanel()
      • verifyUserInput

        protected boolean verifyUserInput()
        Description copied from class: AbstractDialog
        Called in order to perform input validation.
        Overrides:
        verifyUserInput in class AbstractDialog
        Returns:
        true if and only if the validation was successful.
      • onOK

        protected void onOK()
        Description copied from class: AbstractDialog
        Called if the "OK" button has been clicked. The default implementation calls AbstractDialog.hide(). Clients should override this method to implement meaningful behaviour.
        Overrides:
        onOK in class AbstractDialog
      • show

        public int show()
        Description copied from class: AbstractDialog
        Shows the dialog. Overrides shall call super.show() at the end.
        Overrides:
        show in class AbstractDialog
        Returns:
        the identifier of the last button pressed or zero if this is a modeless dialog.
      • onOther

        protected void onOther()
        Description copied from class: AbstractDialog
        Called if a non-standard button has been clicked. The default implementation calls AbstractDialog.hide(). Clients should override this method to implement meaningful behaviour.
        Overrides:
        onOther in class AbstractDialog