KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > opensymphony > workflow > designer > actions > NewWorkspace


1 package com.opensymphony.workflow.designer.actions;
2
3 import java.awt.event.ActionEvent JavaDoc;
4 import javax.swing.*;
5
6 import com.opensymphony.workflow.designer.WorkflowDesigner;
7
8 /**
9  * @author Hani Suleiman (hani@formicary.net)
10  * Date: May 21, 2003
11  * Time: 1:14:32 AM
12  */

13 public class NewWorkspace extends AbstractAction
14 {
15   public void actionPerformed(ActionEvent JavaDoc e)
16   {
17     //todo need to prompt user for where to save the workspace, and remove prompting from SaveWorkspace
18
WorkflowDesigner.INSTANCE.newWorkspace();
19   }
20 }
21
Popular Tags