Package org.pentaho.di.ui.core.widget
Class ConditionEditor
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.swt.widgets.Canvas
org.pentaho.di.ui.core.widget.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 inherited from class org.eclipse.swt.widgets.Composite
embeddedHandle
Fields inherited from class org.eclipse.swt.widgets.Widget
handle
-
Constructor Summary
ConstructorDescriptionConditionEditor
(org.eclipse.swt.widgets.Composite composite, int arg1, org.pentaho.di.core.Condition co, org.pentaho.di.core.row.RowMetaInterface inputFields) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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()
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
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 Details
-
widget
protected org.eclipse.swt.widgets.Canvas widget
-
-
Constructor Details
-
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 Details
-
getLevel
public int getLevel() -
goUp
public void goUp() -
setMenu
public void setMenu(org.eclipse.swt.widgets.Menu menu) - Overrides:
setMenu
in classorg.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
- Parameters:
messageString
- The messageString to set.
-
getMessageString
- Returns:
- Returns the messageString.
-
addModifyListener
public void addModifyListener(org.eclipse.swt.events.ModifyListener lsMod) -
setModified
public void setModified()
-