Package org.apache.hop.ui.core.gui
Class GuiCompositeWidgets
- java.lang.Object
-
- org.apache.hop.ui.core.gui.GuiCompositeWidgets
-
public class GuiCompositeWidgets extends Object
This class contains the widgets for the GUI elements of a GUI Plugin
-
-
Constructor Summary
Constructors Constructor Description GuiCompositeWidgets(IVariables variables)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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateCompositeWidgets(Object sourceData, String parentKey, org.eclipse.swt.widgets.Composite parent, String parentGuiElementId, org.eclipse.swt.widgets.Control lastControl)voidenableWidgets(Object sourceData, String parentGuiElementId, boolean enabled)Map<String,org.eclipse.swt.widgets.Control>getLabelsMap()Gets labelsMapIVariablesgetVariables()Gets variablesvoidgetWidgetsContents(Object sourceData, String parentGuiElementId)IGuiPluginCompositeWidgetsListenergetWidgetsListener()Map<String,org.eclipse.swt.widgets.Control>getWidgetsMap()Gets widgetsMapITypeFilenameinstantiateTypeFilename(GuiElements guiElements)ITypeMetadatainstantiateTypeMetadata(GuiElements guiElements)protected voidnotifyWidgetModified(org.eclipse.swt.widgets.Event event, org.eclipse.swt.widgets.Control control, String widgetId)voidsetLabelsMap(Map<String,org.eclipse.swt.widgets.Control> labelsMap)voidsetVariables(IVariables variables)voidsetWidgetsContents(Object sourceData, org.eclipse.swt.widgets.Composite parentComposite, String parentGuiElementId)voidsetWidgetsListener(IGuiPluginCompositeWidgetsListener listener)voidsetWidgetsMap(Map<String,org.eclipse.swt.widgets.Control> widgetsMap)
-
-
-
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)
-
instantiateTypeFilename
public ITypeFilename instantiateTypeFilename(GuiElements guiElements)
-
instantiateTypeMetadata
public ITypeMetadata instantiateTypeMetadata(GuiElements guiElements)
-
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)
-
getWidgetsListener
public IGuiPluginCompositeWidgetsListener getWidgetsListener()
-
setWidgetsListener
public void setWidgetsListener(IGuiPluginCompositeWidgetsListener listener)
-
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
-
-