edu.stanford.smi.protegex.owl.ui.code
Class SymbolPanel.InsertIndividualAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byedu.stanford.smi.protegex.owl.ui.resourceselection.ResourceSelectionAction
          extended byedu.stanford.smi.protegex.owl.ui.code.SymbolPanel.InsertIndividualAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, ResourceSelectionListener, Serializable
Enclosing class:
SymbolPanel

private class SymbolPanel.InsertIndividualAction
extends ResourceSelectionAction


Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
 
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
(package private) SymbolPanel.InsertIndividualAction()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
          Shows the frame picker dialog from pickFrame and then calls resourceSelected on the selected Frame.
 Collection getSelectableResources()
           
 RDFResource pickResource()
          This method is used when single selection is allowed for this Action.
 void resourceSelected(RDFResource resource)
           
 
Methods inherited from class edu.stanford.smi.protegex.owl.ui.resourceselection.ResourceSelectionAction
activateComboBox, getRenderer, getShowHiddenResources, 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
 

Constructor Detail

SymbolPanel.InsertIndividualAction

SymbolPanel.InsertIndividualAction()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Description copied from class: ResourceSelectionAction
Shows the frame picker dialog from pickFrame and then calls resourceSelected on the selected Frame.

Specified by:
actionPerformed in interface ActionListener
Overrides:
actionPerformed in class ResourceSelectionAction
Parameters:
e - ignored

resourceSelected

public void resourceSelected(RDFResource resource)

getSelectableResources

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

pickResource

public RDFResource pickResource()
Description copied from class: ResourceSelectionAction
This method is used when single selection is allowed for this Action.

Overrides:
pickResource in class ResourceSelectionAction
Returns:
the selected Frame