Class 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

      Constructors 
      Constructor Description
      MultipleSelectionCombo​(org.eclipse.swt.widgets.Composite parent, int style)  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected int calculateTotalHeight​(SelectionLabel label)  
      org.eclipse.swt.widgets.Button getAddButton()  
      org.eclipse.swt.widgets.Button getArrowButton()  
      org.eclipse.swt.widgets.Composite getBottomRow()  
      org.eclipse.swt.widgets.Text getDisplayText()  
      org.eclipse.swt.events.MouseAdapter getExitAction()  
      String[] getSelectedItemLabels()  
      String getSelectedItems()
      Serializes all selected tags in comma separated list to be returned and saved in the steps metadata
      String getText()
      Deprecated.
      Simply a convenience interface to keep backward compatibility
      org.eclipse.swt.widgets.Composite getTopRowComposite()  
      protected void init()  
      void setItems​(String[] items)  
      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 items
      void setText​(String selectedItems)
      Deprecated.
      Simply a convenience interface to keep backward compatibility
      void triggerDropdownClose()
      Public interface for other dropdowns or components to trigger open dropdowns to close
      protected 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 Detail

      • MultipleSelectionCombo

        public MultipleSelectionCombo​(org.eclipse.swt.widgets.Composite parent,
                                      int style)
    • Method Detail

      • 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

        public String[] getSelectedItemLabels()
      • setSelectedItemLabels

        public void setSelectedItemLabels​(String[] selectedItemLabels)
      • getBottomRow

        public org.eclipse.swt.widgets.Composite getBottomRow()
      • getExitAction

        public org.eclipse.swt.events.MouseAdapter getExitAction()
      • init

        protected void init()
      • calculateTotalHeight

        protected int calculateTotalHeight​(SelectionLabel label)
      • updateTagsUI

        protected void updateTagsUI​(int height)
      • setItems

        public void setItems​(String[] items)
      • getSelectedItems

        public String 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

        public 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 items
        Parameters:
        selectedItems -
      • triggerDropdownClose

        public void triggerDropdownClose()
        Public interface for other dropdowns or components to trigger open dropdowns to close
      • getText

        @Deprecated
        public String getText()
        Deprecated.
        Simply a convenience interface to keep backward compatibility
      • setText

        @Deprecated
        public void setText​(String selectedItems)
        Deprecated.
        Simply a convenience interface to keep backward compatibility
        Parameters:
        selectedItems -