| java.lang.Object org.eclipse.ui.part.ShowInContext
ShowInContext | public class ShowInContext (Code) | | Carries the context for the Show In action.
The default implementation carries an input and a selection.
Subclasses may extend.
See Also: IShowInSource See Also: IShowInTarget since: 2.1 |
Constructor Summary | |
public | ShowInContext(Object input, ISelection selection) Constructs a new ShowInContext with the given input and
selection. |
Method Summary | |
public Object | getInput() | public ISelection | getSelection() Returns the selection, or null to indicate no selection. | public void | setInput(Object input) Sets the input, or null to indicate no input. | public void | setSelection(ISelection selection) Sets the selection, or null to indicate no selection. |
ShowInContext | public ShowInContext(Object input, ISelection selection)(Code) | | Constructs a new ShowInContext with the given input and
selection.
Parameters: input - the input or null Parameters: selection - the selection or null |
getInput | public Object getInput()(Code) | | Returns the input, or null to indicate no input
the input or null . |
getSelection | public ISelection getSelection()(Code) | | Returns the selection, or null to indicate no selection.
the selection or null |
setInput | public void setInput(Object input)(Code) | | Sets the input, or null to indicate no input.
Parameters: input - the input or null |
setSelection | public void setSelection(ISelection selection)(Code) | | Sets the selection, or null to indicate no selection.
Parameters: selection - the selection or null |
|
|