public final class ViewerUpdate
extends org.gjt.sp.jedit.EBMessage
Modifier and Type | Class and Description |
---|---|
static class |
ViewerUpdate.Type |
Constructor and Description |
---|
ViewerUpdate(ProjectViewer v,
VPTNode n,
ViewerUpdate.Type type)
Construct a new message with the given type and an associated
viewer.
|
ViewerUpdate(org.gjt.sp.jedit.View v,
VPTNode n,
ViewerUpdate.Type type)
Construct a new message with the given type and no associated
viewer.
|
Modifier and Type | Method and Description |
---|---|
VPTNode |
getNode() |
ViewerUpdate.Type |
getType() |
org.gjt.sp.jedit.View |
getView()
Returns the view where the event occurred.
|
ProjectViewer |
getViewer()
Returns the
ProjectViewer . |
public ViewerUpdate(org.gjt.sp.jedit.View v, VPTNode n, ViewerUpdate.Type type)
getViewer()
might still return a viewer, if
the dockable for the view is activated.public ViewerUpdate(ProjectViewer v, VPTNode n, ViewerUpdate.Type type)
public ViewerUpdate.Type getType()
public ProjectViewer getViewer()
ProjectViewer
. This may be null if the
dockable hasn't been activated yet.public VPTNode getNode()
public org.gjt.sp.jedit.View getView()