diff --git a/AlgebraicDataflowArchitectureModel/src/application/editor/FlowCellEditor.java b/AlgebraicDataflowArchitectureModel/src/application/editor/FlowCellEditor.java index cd39823..24f98e3 100644 --- a/AlgebraicDataflowArchitectureModel/src/application/editor/FlowCellEditor.java +++ b/AlgebraicDataflowArchitectureModel/src/application/editor/FlowCellEditor.java @@ -6,15 +6,40 @@ import com.mxgraph.swing.view.mxICellEditor; abstract public class FlowCellEditor implements mxICellEditor { + protected Stage stage = null; protected mxGraphComponent graphComponent = null; - + + protected Object editingCell = null; + + /************************************************************* + * [ *constructor] + /************************************************************* + * + * @param stage + * @param graphComponent + */ protected FlowCellEditor(Stage stage, mxGraphComponent graphComponent) { this.stage = stage; this.graphComponent = graphComponent; } - abstract public Object getEditingCell(); + /************************************************************* + * [ *public ] + /************************************************************* + * + */ + public Object getEditingCell() { + return this.editingCell; + } + + /************************************************************* + * + */ abstract public void startEditing(Object arg0, EventObject arg1); - abstract public void stopEditing(boolean arg0); + + /************************************************************* + * + */ + abstract public void stopEditing(boolean cancel); }