edu.stanford.smi.protegex.owl.ui.classform.form
Class AddPropertyFormComponentAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byedu.stanford.smi.protegex.owl.ui.resourceselection.ResourceSelectionAction
          extended byedu.stanford.smi.protegex.owl.ui.classform.form.AddPropertyFormComponentAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, ResourceSelectionListener, Serializable

public class AddPropertyFormComponentAction
extends ResourceSelectionAction

A ResourceSelectionAction allowing users to add a property component to a ClassForm.

Author:
Holger Knublauch
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
private  ClassForm classForm
           
static Icon ICON
           
 
Fields inherited from class edu.stanford.smi.protegex.owl.ui.resourceselection.ResourceSelectionAction
activated
 
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
AddPropertyFormComponentAction(ClassForm classForm)
           
 
Method Summary
 Collection getSelectableResources()
           
 void resourceSelected(RDFResource resource)
           
 
Methods inherited from class edu.stanford.smi.protegex.owl.ui.resourceselection.ResourceSelectionAction
actionPerformed, activateComboBox, getRenderer, getShowHiddenResources, pickResource, pickResources, setActivated, setShowHiddenResources
 
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
 

Field Detail

classForm

private ClassForm classForm

ICON

public static final Icon ICON
Constructor Detail

AddPropertyFormComponentAction

public AddPropertyFormComponentAction(ClassForm classForm)
Method Detail

getSelectableResources

public Collection getSelectableResources()
Specified by:
getSelectableResources in class ResourceSelectionAction

resourceSelected

public void resourceSelected(RDFResource resource)