org.eclipse.ui.part
Interface IShowInTarget
- 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:
IPageLayout.addShowInPart(java.lang.String)
Method Summary |
boolean |
show(ShowInContext context)
Shows the given context in this target. |
show
public 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
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.