ilog.rules.brl.editor

Interface IlrSWTEditorComposite

  • All Known Subinterfaces:
    IlrSWTValueEditorComposite


    public interface IlrSWTEditorComposite
    This interface should be implemented by editors that provides a UI as a SWT Composite
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface and Description
      static class  IlrSWTEditorComposite.Dimension
      That class aggregate the width and height of a composite.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void createContent(java.lang.Object parent)
      This method is called by an editor to create the UI part of the editor.
      IlrSWTEditorComposite.Dimension getPreferredSize()
      This method should return the preferred size of the editor component
      boolean isLocked()
      This method should returns true if the editor has popped-up a separate modal dialog that should not be dismissed by the context.
      void setFocus()
      This method is called once the editor is shown to transfer the focus to one of its component
    • Method Detail

      • createContent

        void createContent(java.lang.Object parent)
        This method is called by an editor to create the UI part of the editor. The parent argument is an instance of org.eclipse.swt.widgets.Composite to which UI widget should be added.
        Parameters:
        parent - the parent Composite
      • isLocked

        boolean isLocked()
        This method should returns true if the editor has popped-up a separate modal dialog that should not be dismissed by the context.
        Returns:
        true if the editor has opened a modal dialog box and false otherwise
      • getPreferredSize

        IlrSWTEditorComposite.Dimension getPreferredSize()
        This method should return the preferred size of the editor component
        Returns:
        a Dimension object
      • setFocus

        void setFocus()
        This method is called once the editor is shown to transfer the focus to one of its component

© Copyright IBM Corp. 1987, 2017