diff --git a/AlgebraicDataflowArchitectureModel/src/graphicalrefactor/actions/NewWebServiceAction.java b/AlgebraicDataflowArchitectureModel/src/graphicalrefactor/actions/NewWebServiceAction.java new file mode 100644 index 0000000..b6e5c05 --- /dev/null +++ b/AlgebraicDataflowArchitectureModel/src/graphicalrefactor/actions/NewWebServiceAction.java @@ -0,0 +1,36 @@ +package graphicalrefactor.actions; + +import java.awt.event.ActionEvent; +import graphicalrefactor.editor.Editor; +import graphicalrefactor.views.GraphicalRefactor; + +/**-------------------------------------------------------------------------------- + * this action's going to be called when you design of Web services. +/**-------------------------------------------------------------------------------- + * + */ +public class NewWebServiceAction extends AbstractSystemAction { + + /**-------------------------------------------------------------------------------- + * [constructor] + /**-------------------------------------------------------------------------------- + * + * @param frame + */ + public NewWebServiceAction(GraphicalRefactor frame) { + super("Create New Web Service", frame); + } + + /**-------------------------------------------------------------------------------- + * [public] + /**-------------------------------------------------------------------------------- + * + * @param e + */ + @Override + public void actionPerformed(ActionEvent e) { + frame.getEditor().clear(); + frame.setTitle(frame.title); + } + +}