|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
edu.stanford.smi.protegex.owl.ui.resourceselection.ResourceSelectionAction
edu.stanford.smi.protegex.owl.ui.components.AddResourceAction
Nested Class Summary |
Nested classes inherited from class javax.swing.AbstractAction |
|
Field Summary | |
private AddablePropertyValuesComponent |
component
|
private boolean |
symmetric
|
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 | |
AddResourceAction(AddablePropertyValuesComponent component,
boolean symmetric)
|
Method Summary | |
Collection |
getSelectableResources()
|
private boolean |
isClassProperty()
|
private boolean |
isPropertyProperty()
|
Collection |
pickResources()
This method is only used when multiple selection is allowed for this Action. |
void |
resourceSelected(RDFResource resource)
|
Methods inherited from class edu.stanford.smi.protegex.owl.ui.resourceselection.ResourceSelectionAction |
actionPerformed, activateComboBox, getRenderer, getShowHiddenResources, pickResource, 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 |
private AddablePropertyValuesComponent component
private boolean symmetric
Constructor Detail |
public AddResourceAction(AddablePropertyValuesComponent component, boolean symmetric)
Method Detail |
public Collection getSelectableResources()
getSelectableResources
in class ResourceSelectionAction
private boolean isClassProperty()
private boolean isPropertyProperty()
public Collection pickResources()
ResourceSelectionAction
pickFrame
.
pickResources
in class ResourceSelectionAction
public void resourceSelected(RDFResource resource)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |