TPTP 4.4.0 Testing Tools Project
Internal API Specification

org.eclipse.tptp.test.auto.gui.internal.macro
Interface MacroManager.GlobalStateListener

All Known Implementing Classes:
AutoGUIRecordAction.CustomGlobalStateListener
Enclosing interface:
MacroManager

public static interface MacroManager.GlobalStateListener

A gateway for client to determine the global state changes of the macro recorder.


Method Summary
 void globalStateChange(byte oldState, byte newState)
          Invoked when the global state of the macro manager has changed
 boolean isListenerOn()
          Indicates whether the listener is interested in listening for a global state change.
 

Method Detail

isListenerOn

public boolean isListenerOn()
Indicates whether the listener is interested in listening for a global state change.

Returns:
True if the listener's globalStateChange method should be invoke upon a global state change; false otherwise.

globalStateChange

public void globalStateChange(byte oldState,
                              byte newState)
Invoked when the global state of the macro manager has changed

Parameters:
oldState - The old state
newState - The new state

TPTP 4.4.0 Testing Tools Project
Internal API Specification