diff --git a/AlgebraicDataflowArchitectureModel/src/application/actions/InsertStatelessObjectAction.java b/AlgebraicDataflowArchitectureModel/src/application/actions/InsertStatelessObjectAction.java index c9d423b..42160a2 100644 --- a/AlgebraicDataflowArchitectureModel/src/application/actions/InsertStatelessObjectAction.java +++ b/AlgebraicDataflowArchitectureModel/src/application/actions/InsertStatelessObjectAction.java @@ -15,11 +15,7 @@ * */ public class InsertStatelessObjectAction extends AbstractPopupAction{ - - /************************************************************* - * [ *constructor ] - /************************************************************* - */ + private ControlFlowDelegationStage stage = null; /************************************************************* @@ -31,13 +27,20 @@ this.stage = stage; } + /************************************************************* + * [ *public ] + /************************************************************* + * + */ @Override public void actionPerformed(ActionEvent e) { insertObjectNode(targetCell); - stage.setState( ControlFlowDelegationStageStatus.SELECTING_AN_EDGE); + this.stage.setState( ControlFlowDelegationStageStatus.SELECTING_AN_EDGE); } - /*************************************************************/ + /************************************************************ + * + */ private void insertObjectNode(final Object cellObj) { if(cellObj == null) return;