/**
* Returns the <code>IViewPart</code> referenced by this object.
* Returns <code>null</code> if the view was not instantiated or
* it failed to be restored. Tries to restore the view
* if <code>restore</code> is true.
*/
public IViewPart getView(boolean restore);
getViewSite:
IViewSite org.eclipse.ui.part.ViewPart.getViewSite()
Returns the site for this view. This method is equivalent to (IViewSite) getSite().
The site can be null while the view is being initialized. After the initialization is complete, this value must be non-null for the remainder of the view's life cycle.
Returns:
the view site; this value may be null if the view has not yet been initialized
getPage():
IWorkbenchPage org.eclipse.ui.IWorkbenchSite.getPage()
Returns the page containing this workbench site.
Returns:
the page containing this workbench site
findViewReference(joinViewId):
IViewReference org.eclipse.ui.IWorkbenchPage.findViewReference(String viewId)
Returns the view reference with the specified id.
Parameters:
viewId the id of the view extension to use
Returns:
the view reference, or null if none is found
Since:
3.0
getView(true):
Returns the IViewPart referenced by this object. Returns null if the view was not instantiated or it failed to be restored. Tries to restore the view if restore is true.