View Javadoc

1   /*
2    * $Id: NewOWLProjectWizardAction.java,v 1.1 2005/03/29 18:53:33 aperezlo Exp $
3    * Created on May 6, 2004
4    *
5    * Copyright (c) 1999-2004, BBN Technologies, LLC.
6    * All rights reserved.
7    * http://www.daml.org/legal/opensource/bbn_license.html
8    */
9   
10  package com.bbn.swede.ui.wizards.action;
11  
12  import org.eclipse.core.runtime.CoreException;
13  import org.eclipse.jface.wizard.Wizard;
14  
15  import com.bbn.swede.ui.wizards.NewOWLProjectWizard;
16  
17  
18  /***
19   * Action for launching the New Semantic Web Project wizard.
20   * @author tself
21   */
22  public class NewOWLProjectWizardAction extends AbstractOpenWizardAction
23  {
24     /***
25      * Creates a NewOWLProjectWizardAction.
26      */
27     public NewOWLProjectWizardAction()
28     {
29        this("New SWeDE Project", null);
30     }
31     /***
32      * Creates a NewOWLOntologyWizardAction.
33      * @param label The display name for the action
34      * @param acceptedTypes An array of types the action may be run against
35      */
36     public NewOWLProjectWizardAction(String label, Class[] acceptedTypes)
37     {
38        super(label, acceptedTypes, true, true);
39     }
40  
41     /* (non-Javadoc)
42      * @see com.bbn.swede.action.AbstractOpenWizardAction#createWizard()
43      */
44     protected Wizard createWizard() throws CoreException
45     {
46        return new NewOWLProjectWizard();
47     }
48  }