Algernon Software

org.algernon.kb.okbc.protege.plugins.action
Class ClearQueryHistoryAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.algernon.kb.okbc.protege.plugins.action.AlgernonTabAction
          extended byorg.algernon.kb.okbc.protege.plugins.action.ClearQueryHistoryAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable

public class ClearQueryHistoryAction
extends AlgernonTabAction

Action to clear the query history. User: hewett Date: Mar 7, 2003 Time: 11:50:02 AM

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
 
Fields inherited from class org.algernon.kb.okbc.protege.plugins.action.AlgernonTabAction
f_tab
 
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
ClearQueryHistoryAction(AlgernonTab tab, String name, String tooltip, KeyStroke acceleratorKey, Integer mnemonic)
          Calls back to Algernon to clear the query history in Algernon.
 
Method Summary
 void actionPerformed(ActionEvent event)
           
 
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

ClearQueryHistoryAction

public ClearQueryHistoryAction(AlgernonTab tab,
                               String name,
                               String tooltip,
                               KeyStroke acceleratorKey,
                               Integer mnemonic)
Calls back to Algernon to clear the query history in Algernon. This is useful when doing non-monotonic reasoning, or when adding and removing rules during debugging.

Parameters:
tab - The AlgernonTab using this action.
name - The name of the menu item corresponding to this action.
tooltip - A string to be displayed as brief user help.
acceleratorKey - The KeyStroke used to access this action as a menu item.
mnemonic - The (int) character used to access this action when it is a button.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)

Algernon Software