Class GuiCompositeWidgets


  • public class GuiCompositeWidgets
    extends Object
    This class contains the widgets for the GUI elements of a GUI Plugin
    • Constructor Detail

      • GuiCompositeWidgets

        public GuiCompositeWidgets​(IVariables variables)
      • GuiCompositeWidgets

        @Deprecated(since="2.0")
        public GuiCompositeWidgets​(IVariables variables,
                                   int maxNrItems)
        Deprecated.
        The maximum number of items used to pad to a maximum number of control lines is no longer implemented.
        Parameters:
        variables -
        maxNrItems -
    • Method Detail

      • createCompositeWidgets

        public void createCompositeWidgets​(Object sourceData,
                                           String parentKey,
                                           org.eclipse.swt.widgets.Composite parent,
                                           String parentGuiElementId,
                                           org.eclipse.swt.widgets.Control lastControl)
      • notifyWidgetModified

        protected void notifyWidgetModified​(org.eclipse.swt.widgets.Event event,
                                            org.eclipse.swt.widgets.Control control,
                                            String widgetId)
      • setWidgetsContents

        public void setWidgetsContents​(Object sourceData,
                                       org.eclipse.swt.widgets.Composite parentComposite,
                                       String parentGuiElementId)
      • getWidgetsContents

        public void getWidgetsContents​(Object sourceData,
                                       String parentGuiElementId)
      • enableWidgets

        public void enableWidgets​(Object sourceData,
                                  String parentGuiElementId,
                                  boolean enabled)
      • getVariables

        public IVariables getVariables()
        Gets variables
        Returns:
        value of variables
      • setVariables

        public void setVariables​(IVariables variables)
        Parameters:
        variables - The variables to set
      • getLabelsMap

        public Map<String,​org.eclipse.swt.widgets.Control> getLabelsMap()
        Gets labelsMap
        Returns:
        value of labelsMap
      • setLabelsMap

        public void setLabelsMap​(Map<String,​org.eclipse.swt.widgets.Control> labelsMap)
        Parameters:
        labelsMap - The labelsMap to set
      • getWidgetsMap

        public Map<String,​org.eclipse.swt.widgets.Control> getWidgetsMap()
        Gets widgetsMap
        Returns:
        value of widgetsMap
      • setWidgetsMap

        public void setWidgetsMap​(Map<String,​org.eclipse.swt.widgets.Control> widgetsMap)
        Parameters:
        widgetsMap - The widgetsMap to set