org.eclipse.rwt.lifecycle
Class PhaseEvent
java.lang.Object
java.util.EventObject
org.eclipse.rwt.lifecycle.PhaseEvent
-
All Implemented Interfaces:
-
Serializable
- public class PhaseEvent
- extends
EventObject
This event is sent to the PhaseListener
before and after
a lifecycle phase is executed.
The getSource()
method returns an instance of type
ILifeCycle
.
This class is not intended to be instantiated by clients.
-
Since:
- 1.0
-
See Also:
-
Serialized Form
Constructor Summary
|
PhaseEvent
(
ILifeCycle source,
PhaseId phaseId)
Creates a PhaseEvent for the given lifecycle with the given
phaseId . |
Method Summary
|
PhaseId
|
getPhaseId
()
Returns the id of the phase that will be or was executed. |
PhaseEvent
public PhaseEvent(
ILifeCycle source,
PhaseId phaseId)
-
Creates a PhaseEvent for the given lifecycle with the given
phaseId
.
-
Parameters:
-
source
- the lifecycle which causes this event -
phaseId
- the id of the phase that will be or was executed.
getPhaseId
public
PhaseId getPhaseId()
-
Returns the id of the phase that will be or was executed.
-
-
Returns:
- the
PhaseId
of this event
Copyright (c) Innoopract Informationssysteme GmbH and others 2002, 2008. All rights reserved.