com.bbn.swede.editor.visualeditors.restriction
Class NewRestrictionWizard

java.lang.Object
  extended byWizard
      extended bycom.bbn.swede.editor.visualeditors.restriction.NewRestrictionWizard

public class NewRestrictionWizard
extends Wizard

A dialog tied to the Restriction Editor used to create a new Restriction.

Author:
aperezlo
See Also:
Serialized Form

Field Summary
static ViewerFilter THE_LANGUAGE_NAMESPACE_FILTER
          Comment for THE_NAMESPACE_FILTER This filter accepts as input a URI or a String, and will allow through all URIs that do not begin with the OWL, RDF or RDFS namespaces.
static ViewerFilter THE_XSD_NAMESPACE_FILTER
          A filter that identifies items in the XSD namespace.
 
Constructor Summary
NewRestrictionWizard(RestrictionEditorInspector inspector, IOWLAbstractSyntaxTree oast, List classes, List properties)
           
 
Method Summary
 URI getSelectedClass()
          Retrieves the URI of the currently selected class.
 URI getSelectedProperty()
          Retrieves the URI of the currently selected property.
 boolean performFinish()
           
 void setSelectedClass(URI klass)
          Allows for initialization and preselection of a particular class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

THE_LANGUAGE_NAMESPACE_FILTER

public static final ViewerFilter THE_LANGUAGE_NAMESPACE_FILTER
Comment for THE_NAMESPACE_FILTER This filter accepts as input a URI or a String, and will allow through all URIs that do not begin with the OWL, RDF or RDFS namespaces.


THE_XSD_NAMESPACE_FILTER

public static final ViewerFilter THE_XSD_NAMESPACE_FILTER
A filter that identifies items in the XSD namespace.

Constructor Detail

NewRestrictionWizard

public NewRestrictionWizard(RestrictionEditorInspector inspector,
                            IOWLAbstractSyntaxTree oast,
                            List classes,
                            List properties)
Method Detail

setSelectedClass

public void setSelectedClass(URI klass)
Allows for initialization and preselection of a particular class.

Parameters:
klass - a URI specifying the class to select

getSelectedClass

public URI getSelectedClass()
Retrieves the URI of the currently selected class.

Returns:
the class selected by the user in this Wizard's dialog

getSelectedProperty

public URI getSelectedProperty()
Retrieves the URI of the currently selected property.

Returns:
the property selected by the user in this Wizard's dialog

performFinish

public boolean performFinish()


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