public final class NavigatorInlineEditUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROJECT_EXPLORER
Viewer Id of the Project Explorer
|
Modifier and Type | Method and Description |
---|---|
static void |
navigateToCommonViewer(java.util.List<org.eclipse.emf.ecore.EObject> elements,
ICommonViewerContentDescriber describer)
Navigates to the specified elements in the Project Explorer
|
static void |
startInlineEdit(org.eclipse.emf.ecore.EObject element,
org.eclipse.emf.ecore.EObject refreshObject,
ICommonViewerContentDescriber describer)
Utility to start the inline editing of the
element in the Project Explorer. |
static void |
startInlineEdit(org.eclipse.emf.ecore.EObject element,
ICommonViewerContentDescriber describer)
Utility to start the inline editing of the
element in the Project Explorer. |
static void |
startInlineEdit(org.eclipse.jface.viewers.TreeViewer cn,
ICommonViewerContentDescriber contentDescriber)
Starts the inline edit of the selected element in the Project Explorer
|
public static final java.lang.String PROJECT_EXPLORER
public static void startInlineEdit(org.eclipse.jface.viewers.TreeViewer cn, ICommonViewerContentDescriber contentDescriber)
cn
- TreeViewer in which the inline editing is requiredcontentDescriber
- ICommonViewerContentDescriber
for selected element
public static void startInlineEdit(org.eclipse.emf.ecore.EObject element, ICommonViewerContentDescriber describer)
element
in the Project Explorer.element
- EObject for editing inline in the Project Explorer. If null, then this API has no effectdescriber
- ICommonViewerContentDescriber
for element
public static void startInlineEdit(org.eclipse.emf.ecore.EObject element, org.eclipse.emf.ecore.EObject refreshObject, ICommonViewerContentDescriber describer)
element
in the Project Explorer.element
- EObject for editing inline in the Project Explorer. If null, then this API has no effectrefreshObject
- EObject for refreshing before starting inline editing. If null, element
is used as refreshObject
describer
- ICommonViewerContentDescriber
for element
public static void navigateToCommonViewer(java.util.List<org.eclipse.emf.ecore.EObject> elements, ICommonViewerContentDescriber describer)
elements
- The list of elements; must not be null