diff --git a/AlgebraicDataflowArchitectureModel/src/graphicalrefactor/actions/NewModelAction.java b/AlgebraicDataflowArchitectureModel/src/graphicalrefactor/actions/NewModelAction.java new file mode 100644 index 0000000..116a186 --- /dev/null +++ b/AlgebraicDataflowArchitectureModel/src/graphicalrefactor/actions/NewModelAction.java @@ -0,0 +1,22 @@ +package graphicalrefactor.actions; + +import java.awt.event.ActionEvent; + +import graphicalrefactor.editor.Editor; + +public class NewModelAction extends AbstractEditorAction { + /** + * + */ + private static final long serialVersionUID = 8484493203589724589L; + + public NewModelAction(Editor editor) { + super("Model", editor); + } + + @Override + public void actionPerformed(ActionEvent e) { + editor.clear(); + } + +}