Protégé-OWL 3.4

edu.stanford.smi.protegex.owl.ui.properties.actions
Class CreateSubpropertyAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by edu.stanford.smi.protegex.owl.ui.actions.ResourceAction
          extended by edu.stanford.smi.protegex.owl.ui.properties.actions.CreateSubpropertyAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, Comparable, EventListener, Action

public class CreateSubpropertyAction
extends ResourceAction

Author:
Holger Knublauch
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
CreateSubpropertyAction()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
static void createInverseSlot(edu.stanford.smi.protege.model.Slot slot, Collection superslots)
           
 boolean isSuitable(Component component, RDFResource resource)
           
static void performAction(OWLModel owlModel, RDFProperty superProperty, OWLSubpropertyPane pane)
           
 
Methods inherited from class edu.stanford.smi.protegex.owl.ui.actions.ResourceAction
compareTo, getComponent, getGroup, getOWLModel, getPriority, getResource, initialize, isInToolBar
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateSubpropertyAction

public CreateSubpropertyAction()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)

createInverseSlot

public static void createInverseSlot(edu.stanford.smi.protege.model.Slot slot,
                                     Collection superslots)

isSuitable

public boolean isSuitable(Component component,
                          RDFResource resource)
Specified by:
isSuitable in class ResourceAction

performAction

public static void performAction(OWLModel owlModel,
                                 RDFProperty superProperty,
                                 OWLSubpropertyPane pane)

Protégé-OWL 3.4

Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.