ilog.rules.studio.vocabulary.bom.editor.term

Class IlrTermEditor

  • java.lang.Object
    • ilog.rules.studio.vocabulary.bom.editor.term.IlrTermEditor
  • Direct Known Subclasses:
    IlrDefaultTermEditor


    public abstract class IlrTermEditor
    extends java.lang.Object
    Abstract base class for term editors. Implementers must implement the method createContents(Composite) to create the GUI. The connection of the GUI to the term controller is done this way: getController().connect("label", new IlrTextConnector(myTextWidget));
    Since:
    JRules 6.5
    • Constructor Detail

      • IlrTermEditor

        public IlrTermEditor()
    • Method Detail

      • setTermEditorDialog

        public void setTermEditorDialog(IlrTermEditorDialog dialog)
        Sets the instance of IlrTermEditorDialog responsible for this term editor. This method is automatically called when the term editor dialog is initialized.
        Parameters:
        dialog - The term editor dialog.
      • getTerm

        public IlrTerm getTerm()
        Gets the term currently edited by this term editor.
        Returns:
        The term currently edited by this term editor.
      • getController

        public IlrTermEditorController getController()
        Gets the controller. Use this controller to connect the widgets.
        Returns:
        The term editor controller.
      • getEditorDialog

        public IlrTermEditorDialog getEditorDialog()
        Gets the editor dialog.
        Returns:
        The editor dialog.
      • createContents

        public abstract void createContents(org.eclipse.swt.widgets.Composite parent)
        Creates the contents of this term editor. Implement this method to create and connect widgets to term properties.
        Parameters:
        parent - The parent composite.

© Copyright IBM Corp. 1987, 2017