Package org.apache.hop.ui.hopgui.welcome
Class WelcomeDialogOptions
- java.lang.Object
-
- org.apache.hop.ui.hopgui.welcome.WelcomeDialogOptions
-
- All Implemented Interfaces:
IConfigOptions,IGuiPluginCompositeWidgetsListener
@ConfigPlugin(id="WelcomeDialogOption", description="Enable or disable the welcome dialog") @GuiPlugin(description="i18n::WelcomeDialog.Description") public class WelcomeDialogOptions extends Object implements IConfigOptions, IGuiPluginCompositeWidgetsListener
-
-
Constructor Summary
Constructors Constructor Description WelcomeDialogOptions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WelcomeDialogOptionsgetInstance()booleanhandleOption(ILogChannel log, IHasHopMetadataProvider hasHopMetadataProvider, IVariables variables)booleanisWelcomeDialogDisabled()Gets welcomeDialogDisabledbooleanisWelcomeDialogEnabled()Gets welcomeDialogEnabledbooleanisWelcomeDialogShowAtStartup()Gets welcomeDialogShowAtStartupvoidpersistContents(GuiCompositeWidgets compositeWidgets)Will be called when the changed data needs to be persistedvoidsetWelcomeDialogDisabled(boolean welcomeDialogDisabled)Sets welcomeDialogDisabledvoidsetWelcomeDialogEnabled(boolean welcomeDialogEnabled)Sets welcomeDialogEnabledvoidsetWelcomeDialogShowAtStartup(boolean welcomeDialogShowAtStartup)Sets welcomeDialogShowAtStartupvoidwidgetModified(GuiCompositeWidgets compositeWidgets, org.eclipse.swt.widgets.Control changedWidget, String widgetId)This method is called when a widget was modifiedvoidwidgetsCreated(GuiCompositeWidgets compositeWidgets)This method is called when all the widgets are createdvoidwidgetsPopulated(GuiCompositeWidgets compositeWidgets)This method is called when all the widgets have received data, right before they're shown
-
-
-
Field Detail
-
PKG
protected static Class<?> PKG
-
-
Method Detail
-
getInstance
public static WelcomeDialogOptions getInstance()
-
handleOption
public boolean handleOption(ILogChannel log, IHasHopMetadataProvider hasHopMetadataProvider, IVariables variables) throws HopException
- Specified by:
handleOptionin interfaceIConfigOptions- Throws:
HopException
-
isWelcomeDialogDisabled
public boolean isWelcomeDialogDisabled()
Gets welcomeDialogDisabled- Returns:
- value of welcomeDialogDisabled
-
setWelcomeDialogDisabled
public void setWelcomeDialogDisabled(boolean welcomeDialogDisabled)
Sets welcomeDialogDisabled- Parameters:
welcomeDialogDisabled- value of welcomeDialogDisabled
-
isWelcomeDialogEnabled
public boolean isWelcomeDialogEnabled()
Gets welcomeDialogEnabled- Returns:
- value of welcomeDialogEnabled
-
setWelcomeDialogEnabled
public void setWelcomeDialogEnabled(boolean welcomeDialogEnabled)
Sets welcomeDialogEnabled- Parameters:
welcomeDialogEnabled- value of welcomeDialogEnabled
-
isWelcomeDialogShowAtStartup
public boolean isWelcomeDialogShowAtStartup()
Gets welcomeDialogShowAtStartup- Returns:
- value of welcomeDialogShowAtStartup
-
setWelcomeDialogShowAtStartup
public void setWelcomeDialogShowAtStartup(boolean welcomeDialogShowAtStartup)
Sets welcomeDialogShowAtStartup- Parameters:
welcomeDialogShowAtStartup- value of welcomeDialogShowAtStartup
-
widgetsCreated
public void widgetsCreated(GuiCompositeWidgets compositeWidgets)
Description copied from interface:IGuiPluginCompositeWidgetsListenerThis method is called when all the widgets are created- Specified by:
widgetsCreatedin interfaceIGuiPluginCompositeWidgetsListener
-
widgetsPopulated
public void widgetsPopulated(GuiCompositeWidgets compositeWidgets)
Description copied from interface:IGuiPluginCompositeWidgetsListenerThis method is called when all the widgets have received data, right before they're shown- Specified by:
widgetsPopulatedin interfaceIGuiPluginCompositeWidgetsListener
-
widgetModified
public void widgetModified(GuiCompositeWidgets compositeWidgets, org.eclipse.swt.widgets.Control changedWidget, String widgetId)
Description copied from interface:IGuiPluginCompositeWidgetsListenerThis method is called when a widget was modified- Specified by:
widgetModifiedin interfaceIGuiPluginCompositeWidgetsListener- Parameters:
compositeWidgets- All the widgets to referencechangedWidget- The widget that got changedwidgetId- The ID of the widget changed.
-
persistContents
public void persistContents(GuiCompositeWidgets compositeWidgets)
Description copied from interface:IGuiPluginCompositeWidgetsListenerWill be called when the changed data needs to be persisted- Specified by:
persistContentsin interfaceIGuiPluginCompositeWidgetsListener- Parameters:
compositeWidgets- The widgets
-
-