net.refractions.udig.project.ui.tool
Class ToolLifecycleEvent
java.lang.Object
UDIGEvent
net.refractions.udig.project.ui.tool.ToolLifecycleEvent
public class ToolLifecycleEvent
- extends UDIGEvent
Event of tool lifecycle changing, such as:
- setActive(boolean) is called
- setEnabled(boolean) is called
- setContext(IToolContext) - the new context is set
- Since:
- UDIG 1.1
- Author:
- Vitalus
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToolLifecycleEvent
public ToolLifecycleEvent(java.lang.Object source2,
ToolLifecycleEvent.Type type,
java.lang.Object newValue2,
java.lang.Object oldValue2)
- Parameters:
source2
- type
- newValue2
- oldValue2
-
getType
public ToolLifecycleEvent.Type getType()
- Returns:
getSource
public java.lang.Object getSource()