Class MenuContextHandler
- java.lang.Object
-
- org.apache.hop.ui.hopgui.context.menu.MenuContextHandler
-
- All Implemented Interfaces:
IGuiContextHandler
public class MenuContextHandler extends Object implements IGuiContextHandler
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONTEXT_ID
-
Constructor Summary
Constructors Constructor Description MenuContextHandler(String rootMenuId, GuiMenuWidgets widgets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContextId()StringgetRootMenuId()Gets rootMenuIdList<GuiAction>getSupportedActions()GuiMenuWidgetsgetWidgets()Gets widgets
-
-
-
Field Detail
-
CONTEXT_ID
public static final String CONTEXT_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MenuContextHandler
public MenuContextHandler(String rootMenuId, GuiMenuWidgets widgets)
-
-
Method Detail
-
getContextId
public String getContextId()
- Specified by:
getContextIdin interfaceIGuiContextHandler- Returns:
- The name of the context handler
-
getSupportedActions
public List<GuiAction> getSupportedActions()
- Specified by:
getSupportedActionsin interfaceIGuiContextHandler- Returns:
- Get a list of all the supported actions by this context handler
-
getRootMenuId
public String getRootMenuId()
Gets rootMenuId- Returns:
- value of rootMenuId
-
getWidgets
public GuiMenuWidgets getWidgets()
Gets widgets- Returns:
- value of widgets
-
-