public class ViewpointElementChangedEvent extends ViewpointEvent
ENABLE_VIEWPOINT_CHANGED, REGISTER, REGISTER_VIEWPONT_ELEMENT, UNREGISTER, UNREGISTER_VIEWPONT_ELEMENT, VIEWPOINT_CHANGED
Constructor and Description |
---|
ViewpointElementChangedEvent(Viewpoint viewpoint,
com.ibm.xtools.common.ui.reduction.internal.viewpoints.ViewpointElement viewpointElement,
java.lang.Object previousData,
java.lang.Object data)
Constructs a new
ViewpointElementChangedEvent |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getData() |
java.lang.Object |
getPreviousData() |
com.ibm.xtools.common.ui.reduction.internal.viewpoints.ViewpointElement |
getViewpointElement()
Returns the active viepointElement of the certain type
|
getEventType, getViewpoint
public ViewpointElementChangedEvent(Viewpoint viewpoint, com.ibm.xtools.common.ui.reduction.internal.viewpoints.ViewpointElement viewpointElement, java.lang.Object previousData, java.lang.Object data)
ViewpointElementChangedEvent
viewpoint
- the Viewpoint
that changedviewpointElement
- the active ViewpointElement
public com.ibm.xtools.common.ui.reduction.internal.viewpoints.ViewpointElement getViewpointElement()
public java.lang.Object getData()
public java.lang.Object getPreviousData()