cz.cuni.sposh.debugger
Class WatchLapAction

Package class diagram package WatchLapAction
java.lang.Object
  extended by org.openide.util.SharedClassObject
      extended by org.openide.util.actions.SystemAction
          extended by org.openide.util.actions.BooleanStateAction
              extended by cz.cuni.sposh.debugger.WatchLapAction
All Implemented Interfaces:
ActionListener, Externalizable, Serializable, EventListener, Action, org.openide.util.actions.Presenter, org.openide.util.actions.Presenter.Menu, org.openide.util.actions.Presenter.Popup, org.openide.util.actions.Presenter.Toolbar, org.openide.util.HelpCtx.Provider

public class WatchLapAction
extends org.openide.util.actions.BooleanStateAction

High-level action (used in toolbar) will place a breakpoint at the evaluation method of the sposh engine and opens new lap debugging window for each different instance of an engine (=running plans). It is a state action, when called for odd time, it starts to watch for new instances of the engine, and when called for even time, it stops the watch.

Author:
HonzaH
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openide.util.actions.Presenter
org.openide.util.actions.Presenter.Menu, org.openide.util.actions.Presenter.Popup, org.openide.util.actions.Presenter.Toolbar
 
Field Summary
 
Fields inherited from class org.openide.util.actions.BooleanStateAction
PROP_BOOLEAN_STATE
 
Fields inherited from class org.openide.util.actions.SystemAction
PROP_ENABLED, PROP_ICON
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 org.openide.util.HelpCtx getHelpCtx()
           
 String getName()
           
protected  String iconResource()
           
 
Methods inherited from class org.openide.util.actions.BooleanStateAction
getBooleanState, getMenuPresenter, getPopupPresenter, getToolbarPresenter, initialize, setBooleanState
 
Methods inherited from class org.openide.util.actions.SystemAction
clearSharedData, createPopupMenu, createToolbarPresenter, get, getIcon, getIcon, getValue, isEnabled, linkActions, putValue, setEnabled, setIcon
 
Methods inherited from class org.openide.util.SharedClassObject
addNotify, addPropertyChangeListener, equals, finalize, findObject, findObject, firePropertyChange, getLock, getProperty, hashCode, putProperty, putProperty, readExternal, removeNotify, removePropertyChangeListener, reset, writeExternal, writeReplace
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, removePropertyChangeListener
 

Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener
Overrides:
actionPerformed in class org.openide.util.actions.BooleanStateAction

iconResource

protected String iconResource()
Overrides:
iconResource in class org.openide.util.actions.SystemAction

getName

public String getName()
Specified by:
getName in class org.openide.util.actions.SystemAction

getHelpCtx

public org.openide.util.HelpCtx getHelpCtx()
Specified by:
getHelpCtx in interface org.openide.util.HelpCtx.Provider
Specified by:
getHelpCtx in class org.openide.util.actions.SystemAction


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.