public interface ICommonViewerContentDescriber
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.ecore.EObject |
getDisplayableContainer(org.eclipse.emf.ecore.EObject element)
Gets the first element that is displayable in the ancestry of
element , starting at the element itself. |
org.eclipse.gmf.runtime.common.ui.util.IEditStringProvider |
getEditStringProvider()
Returns the
org.eclipse.gmf.runtime.common.ui.util.IEditStringProvider
for the specific content. |
java.lang.Object |
getViewerElement(org.eclipse.emf.ecore.EObject eObject)
Returns the wrapper for the given EObject shown under either the Models
or Profiles logical folder.
|
org.eclipse.emf.ecore.EObject getDisplayableContainer(org.eclipse.emf.ecore.EObject element)
element
, starting at the element
itself.element
- the element whose first displayable ancestor is to be foundnull
if there
is no displayable ancestor.java.lang.Object getViewerElement(org.eclipse.emf.ecore.EObject eObject)
eObject
- EObject whose wrapper is returnedorg.eclipse.gmf.runtime.common.ui.util.IEditStringProvider getEditStringProvider()
org.eclipse.gmf.runtime.common.ui.util.IEditStringProvider
for the specific content.org.eclipse.gmf.runtime.common.ui.util.IEditStringProvider