Package org.eclipse.gef
Interface ExposeHelper
- All Known Implementing Classes:
ViewportExposeHelper
public interface ExposeHelper
An adapter on an
EditPart
used to expose a descendant
contained in that EditPart. EditPartViewer
uses this interface
to reveal a given EditPart.
An expose helper is obtained by calling IAdaptable.getAdapter(Class)
.
The returned helper is responsible for modifying *only* that EditPart's
visuals such that the specified descendant is made visible.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
exposeDescendant
(EditPart editpart) Exposes the specified descendant on the EditPart which returned this helper.
-
Method Details
-
exposeDescendant
Exposes the specified descendant on the EditPart which returned this helper. This is done by adjusting the EditPart's visuals such that the descendants visuals are exposed. Expose is performed from the bottom up, meaning that EditParts in the parent-chain between the helper's EditPart and the descendant will already have had a change to expose the descendant.- Parameters:
editpart
- the descendant to expose
-