com.bbn.swede.ui.wizards.action
Class NewOWLOntologyWizardAction

java.lang.Object
  extended byAction
      extended bycom.bbn.swede.ui.wizards.action.AbstractOpenWizardAction
          extended bycom.bbn.swede.ui.wizards.action.NewOWLOntologyWizardAction

public class NewOWLOntologyWizardAction
extends AbstractOpenWizardAction

Action for launching the New Ontology wizard.

Author:
tself
See Also:
Serialized Form

Constructor Summary
NewOWLOntologyWizardAction()
          Creates a NewOWLOntologyWizardAction.
NewOWLOntologyWizardAction(String label, boolean acceptEmptySelection)
          Creates a NewOWLOntologyWizardAction.
NewOWLOntologyWizardAction(String label, Class[] activatedOnTypes, boolean acceptEmptySelection)
          Creates a NewOWLOntologyWizardAction.
 
Method Summary
protected  Wizard createWizard()
          Creates a wizard for the action.
 
Methods inherited from class com.bbn.swede.ui.wizards.action.AbstractOpenWizardAction
canActionBeAdded, checkWorkspaceNotEmpty, dispose, getActiveWorkbenchShell, getCurrentSelection, getWorkbench, init, run, run, selectionChanged, shouldAcceptElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewOWLOntologyWizardAction

public NewOWLOntologyWizardAction(String label,
                                  boolean acceptEmptySelection)
Creates a NewOWLOntologyWizardAction.

Parameters:
label - The display name for the action
acceptEmptySelection - true to allow the action to be run when nothing is selected, otherwise false.

NewOWLOntologyWizardAction

public NewOWLOntologyWizardAction(String label,
                                  Class[] activatedOnTypes,
                                  boolean acceptEmptySelection)
Creates a NewOWLOntologyWizardAction.

Parameters:
label - The display name for the action
activatedOnTypes - An array of types the action may be run against
acceptEmptySelection - true to allow the action to be run when nothing is selected, otherwise false.

NewOWLOntologyWizardAction

public NewOWLOntologyWizardAction()
Creates a NewOWLOntologyWizardAction.

Method Detail

createWizard

protected Wizard createWizard()
                       throws CoreException
Description copied from class: AbstractOpenWizardAction
Creates a wizard for the action.

Specified by:
createWizard in class AbstractOpenWizardAction
Returns:
The wizard
Throws:
CoreException


Copyright © 2004-2005 BBN Technologies. All Rights Reserved.