public final class ViewpointChangedEvent extends ViewpointEvent
Viewpoint
.
This class is not intended to be extended by clients.
ENABLE_VIEWPOINT_CHANGED, REGISTER, REGISTER_VIEWPONT_ELEMENT, UNREGISTER, UNREGISTER_VIEWPONT_ELEMENT, VIEWPOINT_CHANGED
Constructor and Description |
---|
ViewpointChangedEvent(Viewpoint viewpoint,
java.util.Set<java.lang.String> previouslyEnabledActivityIds,
java.util.Set<java.lang.String> enabledActivityIds)
Constructs a new
ViewpointChangedEvent |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getEnabledActivityIds()
Returns the activity identifiers that are currently enabled.
|
java.util.Set<java.lang.String> |
getPreviouslyEnabledActivityIds()
Returns the activity identifiers that were previously enabled.
|
getEventType, getViewpoint
public ViewpointChangedEvent(Viewpoint viewpoint, java.util.Set<java.lang.String> previouslyEnabledActivityIds, java.util.Set<java.lang.String> enabledActivityIds)
ViewpointChangedEvent
viewpoint
- the Viewpoint
that changedpreviouslyEnabledActivityIds
- the previously enabled activity IDsenabledActivityIds
- the new enabled activity IDspublic java.util.Set<java.lang.String> getPreviouslyEnabledActivityIds()
null
. This set will only
contain strings.public java.util.Set<java.lang.String> getEnabledActivityIds()
null
. This set will only
contain strings.