Class HopGuiWorkflowActionContext
- java.lang.Object
-
- org.apache.hop.ui.hopgui.context.BaseGuiContextHandler
-
- org.apache.hop.ui.hopgui.file.workflow.context.HopGuiWorkflowActionContext
-
- All Implemented Interfaces:
IGuiContextHandler
public class HopGuiWorkflowActionContext extends BaseGuiContextHandler implements IGuiContextHandler
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONTEXT_IDstatic Class<?>PKG
-
Constructor Summary
Constructors Constructor Description HopGuiWorkflowActionContext(WorkflowMeta workflowMeta, ActionMeta actionMeta, HopGuiWorkflowGraph workflowGraph, Point click)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionMetagetActionMeta()Gets actionCopyPointgetClick()Gets clickStringgetContextId()GuiActionLambdaBuilder<HopGuiWorkflowActionContext>getLambdaBuilder()Gets lambdaBuilderList<GuiAction>getSupportedActions()Create a list of supported actions on a action.HopGuiWorkflowGraphgetWorkflowGraph()Gets workflow graphWorkflowMetagetWorkflowMeta()Gets workflowMetastatic voidopenReferencedObject(WorkflowMeta workflowMeta, IVariables variables, IAction action, String objectDescription, int index)voidsetActionMeta(ActionMeta actionMeta)voidsetClick(Point click)voidsetLambdaBuilder(GuiActionLambdaBuilder<HopGuiWorkflowActionContext> lambdaBuilder)voidsetWorkflowGraph(HopGuiWorkflowGraph workflowGraph)voidsetWorkflowMeta(WorkflowMeta workflowMeta)-
Methods inherited from class org.apache.hop.ui.hopgui.context.BaseGuiContextHandler
evaluateActionFilter, findClassLoader, getFilterMethod, getFilterObject, getPluginActions
-
-
-
-
Field Detail
-
PKG
public static final Class<?> PKG
-
CONTEXT_ID
public static final String CONTEXT_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HopGuiWorkflowActionContext
public HopGuiWorkflowActionContext(WorkflowMeta workflowMeta, ActionMeta actionMeta, HopGuiWorkflowGraph workflowGraph, Point click)
-
-
Method Detail
-
getContextId
public String getContextId()
- Specified by:
getContextIdin interfaceIGuiContextHandler- Specified by:
getContextIdin classBaseGuiContextHandler- Returns:
- The name of the context handler
-
getSupportedActions
public List<GuiAction> getSupportedActions()
Create a list of supported actions on a action.- Specified by:
getSupportedActionsin interfaceIGuiContextHandler- Returns:
- The list of supported actions
-
openReferencedObject
public static final void openReferencedObject(WorkflowMeta workflowMeta, IVariables variables, IAction action, String objectDescription, int index)
-
getWorkflowMeta
public WorkflowMeta getWorkflowMeta()
Gets workflowMeta- Returns:
- value of workflowMeta
-
setWorkflowMeta
public void setWorkflowMeta(WorkflowMeta workflowMeta)
- Parameters:
workflowMeta- The workflowMeta to set
-
getActionMeta
public ActionMeta getActionMeta()
Gets actionCopy- Returns:
- value of actionCopy
-
setActionMeta
public void setActionMeta(ActionMeta actionMeta)
- Parameters:
actionMeta- The actionCopy to set
-
getWorkflowGraph
public HopGuiWorkflowGraph getWorkflowGraph()
Gets workflow graph- Returns:
- value of workflowGraph
-
setWorkflowGraph
public void setWorkflowGraph(HopGuiWorkflowGraph workflowGraph)
- Parameters:
workflowGraph- The workflow graph to set
-
getClick
public Point getClick()
Gets click- Returns:
- value of click
-
setClick
public void setClick(Point click)
- Parameters:
click- The click to set
-
getLambdaBuilder
public GuiActionLambdaBuilder<HopGuiWorkflowActionContext> getLambdaBuilder()
Gets lambdaBuilder- Returns:
- value of lambdaBuilder
-
setLambdaBuilder
public void setLambdaBuilder(GuiActionLambdaBuilder<HopGuiWorkflowActionContext> lambdaBuilder)
- Parameters:
lambdaBuilder- The lambdaBuilder to set
-
-