public class ShowInContext extends Object
IShowInSource,
IShowInTarget| Constructor and Description |
|---|
ShowInContext(Object input,
ISelection selection)
Constructs a new
ShowInContext with the given input and
selection. |
| Modifier and Type | Method and Description |
|---|---|
Object |
getInput()
Returns the input, or
null to indicate no input |
ISelection |
getSelection()
Returns the selection, or
null to indicate no selection. |
void |
setInput(Object input)
Sets the input, or
null to indicate no input. |
void |
setSelection(ISelection selection)
Sets the selection, or
null to indicate no selection. |
public ShowInContext(Object input, ISelection selection)
ShowInContext with the given input and
selection.input - the input or nullselection - the selection or nullpublic Object getInput()
null to indicate no inputnull.public ISelection getSelection()
null to indicate no selection.nullpublic void setInput(Object input)
null to indicate no input.input - the input or nullpublic void setSelection(ISelection selection)
null to indicate no selection.selection - the selection or nullGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.