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 Type
    Method
    Description
    void
    Exposes the specified descendant on the EditPart which returned this helper.
  • Method Details

    • exposeDescendant

      void exposeDescendant(EditPart editpart)
      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