@Deprecated
public class UnwrappingSelectionProvider
extends org.eclipse.emf.edit.ui.provider.UnwrappingSelectionProvider
ModelElementItem)
org.eclipse.emf.edit.ui.provider.UnwrappingSelectionProvider, from which this class is
derived).
You can use this selection provider to register a context menu on a
viewer created using the CustomizableModelContentProvider, so that the menu actions will
get the Ecore versions of the elements as the selection:
getSite().registerContextMenu(MENU_ID, contextMenu, new UnwrappingSelectionProvider(treeViewer));
| Constructor and Description |
|---|
UnwrappingSelectionProvider(ISelectionProvider selectionProvider)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setSelection(ISelection selection)
Deprecated.
|
static java.lang.Object |
unwrapElement(java.lang.Object element)
Deprecated.
|
static ISelection |
unwrapSelection(ISelection selection)
Deprecated.
Replace proxy objects by their underlying Ecore objects in the given selection
|
public UnwrappingSelectionProvider(ISelectionProvider selectionProvider)
public void setSelection(ISelection selection)
public static ISelection unwrapSelection(ISelection selection)
public static java.lang.Object unwrapElement(java.lang.Object element)