actions
Class PropertyAction

java.lang.Object
  extended by actions.PropertyAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class PropertyAction
extends java.lang.Object
implements java.awt.event.ActionListener

Action for displaying the properties of an object.


Field Summary
private  InteractionHandler handler
          the interaction handler
 
Constructor Summary
PropertyAction(InteractionHandler handler)
          Constructs a property action.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent arg0)
          Displays a property editor for the currently selected object.
static void showPropertyDialog(InteractionHandler handler, OntologyObject selected)
          Displays a property editor dialog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handler

private InteractionHandler handler
the interaction handler

Constructor Detail

PropertyAction

public PropertyAction(InteractionHandler handler)
Constructs a property action.

Parameters:
handler - - the interaction handler
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent arg0)
Displays a property editor for the currently selected object.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

showPropertyDialog

public static void showPropertyDialog(InteractionHandler handler,
                                      OntologyObject selected)
Displays a property editor dialog. Changes to non-graphical properties are not applied to the object until the dialog is closed

Parameters:
handler - - the interaction handler
selected - - the object to display