Class ConditionEditor

  • All Implemented Interfaces:
    org.eclipse.swt.graphics.Drawable

    public class ConditionEditor
    extends org.eclipse.swt.widgets.Canvas
    Widget that allows you to edit a Condition in a graphical way.
    Since:
    29-07-2004
    Author:
    Matt
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.eclipse.swt.widgets.Canvas widget  
      • Fields inherited from class org.eclipse.swt.widgets.Composite

        embeddedHandle
      • Fields inherited from class org.eclipse.swt.widgets.Widget

        handle
    • Constructor Summary

      Constructors 
      Constructor Description
      ConditionEditor​(org.eclipse.swt.widgets.Composite composite, int arg1, org.pentaho.di.core.Condition co, org.pentaho.di.core.row.RowMetaInterface inputFields)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addModifyListener​(org.eclipse.swt.events.ModifyListener lsMod)  
      void drawMessage​(org.eclipse.swt.graphics.GC gc)  
      void drawUp​(org.eclipse.swt.graphics.GC gc)  
      int getLevel()  
      String getMessageString()  
      void goUp()  
      void repaint​(org.eclipse.swt.graphics.GC gc, int width, int height)  
      void setMenu​(org.eclipse.swt.widgets.Menu menu)  
      void setMessageString​(String messageString)  
      void setModified()  
      • Methods inherited from class org.eclipse.swt.widgets.Canvas

        drawBackground, getCaret, getIME, scroll, setCaret, setFont, setIME
      • Methods inherited from class org.eclipse.swt.widgets.Composite

        changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
      • Methods inherited from class org.eclipse.swt.widgets.Scrollable

        computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
      • Methods inherited from class org.eclipse.swt.widgets.Control

        addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setForeground, setLayoutData, setLocation, setLocation, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
      • Methods inherited from class org.eclipse.swt.widgets.Widget

        addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
    • Field Detail

      • widget

        protected org.eclipse.swt.widgets.Canvas widget
    • Constructor Detail

      • ConditionEditor

        public ConditionEditor​(org.eclipse.swt.widgets.Composite composite,
                               int arg1,
                               org.pentaho.di.core.Condition co,
                               org.pentaho.di.core.row.RowMetaInterface inputFields)
    • Method Detail

      • getLevel

        public int getLevel()
      • goUp

        public void goUp()
      • setMenu

        public void setMenu​(org.eclipse.swt.widgets.Menu menu)
        Overrides:
        setMenu in class org.eclipse.swt.widgets.Control
      • repaint

        public void repaint​(org.eclipse.swt.graphics.GC gc,
                            int width,
                            int height)
      • drawUp

        public void drawUp​(org.eclipse.swt.graphics.GC gc)
      • drawMessage

        public void drawMessage​(org.eclipse.swt.graphics.GC gc)
      • setMessageString

        public void setMessageString​(String messageString)
        Parameters:
        messageString - The messageString to set.
      • getMessageString

        public String getMessageString()
        Returns:
        Returns the messageString.
      • addModifyListener

        public void addModifyListener​(org.eclipse.swt.events.ModifyListener lsMod)
      • setModified

        public void setModified()