|
JIVE Platform Release 0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJiveView
A view part capable of presenting an IJiveDebugTarget
.
Typically, a target is presented in terms of one of its underlying models
(e.g. the event log, contour model, or sequence model).
Field Summary |
---|
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
PROP_TITLE |
Method Summary | |
---|---|
void |
display(IJiveDebugTarget target)
Changes the view to present the supplied IJiveDebugTarget ,
making it the new active target. |
IJiveDebugTarget |
getDisplayed()
Returns the IJiveDebugTarget that is currently being
presented by the view. |
Methods inherited from interface org.eclipse.ui.IViewPart |
---|
getViewSite, init, init, saveState |
Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
addPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Method Detail |
---|
IJiveDebugTarget getDisplayed()
IJiveDebugTarget
that is currently being
presented by the view. If there isn't an active target, then
null
is returned.
null
if there
isn't onevoid display(IJiveDebugTarget target)
IJiveDebugTarget
,
making it the new active target. Implementers may determine if the
target should actually be presented.
This method should only be called on the UI thread. In order for non-UI threads to invoke this method, the following can be done.
IJiveView view = ... ; IJiveDebugTarget target = ... ; Display display = JiveUITools.getStandardDisplay(); display.syncExec(new Runnable() { public void run() { view.display(target); } });
target
- the target to display in the viewJiveUITools.getStandardDisplay()
,
Display#asyncExec(Runnable)
,
Display#syncExec(Runnable)
|
JIVE Platform Release 0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |