Package org.pentaho.di.ui.core.widget
Class MultipleSelectionCombo
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.pentaho.di.ui.core.widget.MultipleSelectionCombo
- All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable
- Direct Known Subclasses:
MultipleSelectionComboVar
public class MultipleSelectionCombo
extends org.eclipse.swt.widgets.Composite
-
Field Summary
Fields inherited from class org.eclipse.swt.widgets.Composite
embeddedHandle
Fields inherited from class org.eclipse.swt.widgets.Widget
handle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
org.eclipse.swt.widgets.Button
org.eclipse.swt.widgets.Button
org.eclipse.swt.widgets.Composite
org.eclipse.swt.widgets.Text
org.eclipse.swt.events.MouseAdapter
String[]
Serializes all selected tags in comma separated list to be returned and saved in the steps metadatagetText()
Deprecated.Simply a convenience interface to keep backward compatibilityorg.eclipse.swt.widgets.Composite
protected void
init()
void
void
setSelectedItemLabels
(String[] selectedItemLabels) void
setSelectedItems
(String selectedItems) Takes a comma separated string of tags and binds it to the data object Then updates the UI for both the tag dropdown and the selected itemsvoid
Deprecated.Simply a convenience interface to keep backward compatibilityvoid
Public interface for other dropdowns or components to trigger open dropdowns to closeprotected void
updateTagsUI
(int height) 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, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, 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
-
Constructor Details
-
MultipleSelectionCombo
public MultipleSelectionCombo(org.eclipse.swt.widgets.Composite parent, int style)
-
-
Method Details
-
getTopRowComposite
public org.eclipse.swt.widgets.Composite getTopRowComposite() -
getDisplayText
public org.eclipse.swt.widgets.Text getDisplayText() -
getAddButton
public org.eclipse.swt.widgets.Button getAddButton() -
getArrowButton
public org.eclipse.swt.widgets.Button getArrowButton() -
getSelectedItemLabels
-
setSelectedItemLabels
-
getBottomRow
public org.eclipse.swt.widgets.Composite getBottomRow() -
getExitAction
public org.eclipse.swt.events.MouseAdapter getExitAction() -
init
protected void init() -
calculateTotalHeight
-
updateTagsUI
protected void updateTagsUI(int height) -
setItems
-
getSelectedItems
Serializes all selected tags in comma separated list to be returned and saved in the steps metadata- Returns:
- comma separated string of all selected tags
-
setSelectedItems
Takes a comma separated string of tags and binds it to the data object Then updates the UI for both the tag dropdown and the selected items- Parameters:
selectedItems
-
-
triggerDropdownClose
public void triggerDropdownClose()Public interface for other dropdowns or components to trigger open dropdowns to close -
getText
Deprecated.Simply a convenience interface to keep backward compatibility -
setText
Deprecated.Simply a convenience interface to keep backward compatibility- Parameters:
selectedItems
-
-