public final class CallHierarchyViewOpener
extends java.lang.Object
| Constructor and Description |
|---|
CallHierarchyViewOpener(java.lang.String viewId,
CallHierarchyViewManager viewManager)
Constructs an opener for a call hierarchy view with the given id
and the given view manager.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.ui.IViewPart |
openView(org.eclipse.ui.IWorkbenchPage page,
java.lang.Object[] inputElements)
Shows a call hierarchy view in the given workbench page, gives it focus,
and sets its input to the given elements.
|
public CallHierarchyViewOpener(java.lang.String viewId,
CallHierarchyViewManager viewManager)
viewId - not nullviewManager - not nullpublic org.eclipse.ui.IViewPart openView(org.eclipse.ui.IWorkbenchPage page,
java.lang.Object[] inputElements)
throws org.eclipse.ui.PartInitException
Note that in some error cases this method may return a view
that is not an instance of CallHierarchyViewPart
(e.g., an ErrorViewPart may be returned).
page - not nullinputElements - not null, must not contain nulls;
may be emptynull)org.eclipse.ui.PartInitException - if the view could not be initializedjava.lang.IllegalArgumentException - if the given elements are not valid
input elements for the viewCopyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0