Interface IShowInTarget

All Known Implementing Classes:
CommonNavigator, ProjectExplorer, PropertySheet

public interface IShowInTarget
This interface must be provided by Show In targets (parts listed in the Show In prompter). The part can either directly implement this interface, or provide it via IAdaptable.getAdapter(IShowInTarget.class).
Since:
2.1
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Shows the given context in this target.
  • Method Details

    • show

      boolean show(ShowInContext context)
      Shows the given context in this target. The target should check the context's selection for elements to show. If there are no relevant elements in the selection, then it should check the context's input.
      Parameters:
      context - the context to show
      Returns:
      true if the context could be shown, false otherwise