Class HopGuiWorkflowContext
- java.lang.Object
-
- org.apache.hop.ui.hopgui.context.BaseGuiContextHandler
-
- org.apache.hop.ui.hopgui.file.workflow.context.HopGuiWorkflowContext
-
- All Implemented Interfaces:
IGuiContextHandler
public class HopGuiWorkflowContext extends BaseGuiContextHandler implements IGuiContextHandler
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONTEXT_ID
-
Constructor Summary
Constructors Constructor Description HopGuiWorkflowContext(WorkflowMeta workflowMeta, HopGuiWorkflowGraph workflowGraph, Point click)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PointgetClick()Gets clickStringgetContextId()GuiActionLambdaBuilder<HopGuiWorkflowContext>getLambdaBuilder()Gets lambdaBuilderList<GuiAction>getSupportedActions()Create a list of supported actions on a workflow.HopGuiWorkflowGraphgetWorkflowGraph()Gets workflowGraphWorkflowMetagetWorkflowMeta()Gets workflowMetavoidsetClick(Point click)voidsetLambdaBuilder(GuiActionLambdaBuilder<HopGuiWorkflowContext> 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
-
CONTEXT_ID
public static final String CONTEXT_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HopGuiWorkflowContext
public HopGuiWorkflowContext(WorkflowMeta workflowMeta, 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 workflow. We'll add the creation of every possible action as well as the modification of the workflow itself from the annotations.- Specified by:
getSupportedActionsin interfaceIGuiContextHandler- Returns:
- The list of supported actions
-
getWorkflowMeta
public WorkflowMeta getWorkflowMeta()
Gets workflowMeta- Returns:
- value of workflowMeta
-
setWorkflowMeta
public void setWorkflowMeta(WorkflowMeta workflowMeta)
- Parameters:
workflowMeta- The workflowMeta to set
-
getWorkflowGraph
public HopGuiWorkflowGraph getWorkflowGraph()
Gets workflowGraph- Returns:
- value of workflowGraph
-
setWorkflowGraph
public void setWorkflowGraph(HopGuiWorkflowGraph workflowGraph)
- Parameters:
workflowGraph- The workflowGraph 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<HopGuiWorkflowContext> getLambdaBuilder()
Gets lambdaBuilder- Returns:
- value of lambdaBuilder
-
setLambdaBuilder
public void setLambdaBuilder(GuiActionLambdaBuilder<HopGuiWorkflowContext> lambdaBuilder)
- Parameters:
lambdaBuilder- The lambdaBuilder to set
-
-