public interface EMFFormsRevealService
Modifier and Type | Method and Description |
---|---|
void |
addRevealProvider(EMFFormsRevealProvider provider)
Register a reveal provider.
|
void |
removeRevealProvider(EMFFormsRevealProvider provider)
Unregister a reveal provider.
|
boolean |
reveal(org.eclipse.emf.ecore.EObject object)
Attempt to reveal an
object in the most appropriate (by best effort)
control in the current editor context. |
boolean |
reveal(org.eclipse.emf.ecore.EObject object,
org.eclipse.emf.ecore.EStructuralFeature feature)
Attempt to reveal a
feature of an object in the most appropriate
(by best effort) control in the current editor context. |
RevealStep |
reveal(org.eclipse.emf.ecore.EObject object,
org.eclipse.emf.ecore.EStructuralFeature feature,
VElement scope)
Attempt to reveal a
feature of an object in the most appropriate
(by best effort) control within the given scope . |
RevealStep |
reveal(org.eclipse.emf.ecore.EObject object,
VElement scope)
Attempt to reveal an
object in the most appropriate (by best effort)
control within the given scope . |
boolean reveal(org.eclipse.emf.ecore.EObject object)
object
in the most appropriate (by best effort)
control in the current editor context. Effectively equivalent to
reveal(EObject, VElement)
in the topmost scope (the root VView
)
of the context.object
- an object to revealtrue
if the object
was revealed; false
, otherwiseboolean reveal(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature)
feature
of an object
in the most appropriate
(by best effort) control in the current editor context. Effectively equivalent to
reveal(EObject, EStructuralFeature, VElement)
in the topmost scope
(the root VView
) of the context.object
- an object to revealfeature
- a specific feature (implying a detail control) to revealtrue
if the object
was revealed; false
, otherwiseRevealStep reveal(org.eclipse.emf.ecore.EObject object, VElement scope)
object
in the most appropriate (by best effort)
control within the given scope
. Most applications will not need to interact
with reveal steps directly but only through the reveal(EObject)
API;
reveal providers may need this API to delegate
a drill down.object
- an object to revealscope
- a control within which to attempt to reveal the object
object
in the given scope
, or a failed step if noneRevealStep reveal(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, VElement scope)
feature
of an object
in the most appropriate
(by best effort) control within the given scope
. Most applications will not need
to interact with reveal steps directly but only through the
reveal(EObject, EStructuralFeature)
API;
reveal providers may need this API to delegate
a drill down.object
- an object to revealfeature
- a specific feature (implying a detail control) to revealscope
- a control within which to attempt to reveal the object
object
in the given scope
, or a failed step if nonevoid addRevealProvider(EMFFormsRevealProvider provider)
provider
- the reveal provider to registervoid removeRevealProvider(EMFFormsRevealProvider provider)
provider
- the reveal provider to unregisterCopyright © 2019. All rights reserved.