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 null
selection
- the selection or null
public Object getInput()
null
to indicate no inputnull
.public ISelection getSelection()
null
to indicate no selection.null
public void setInput(Object input)
null
to indicate no input.input
- the input or null
public void setSelection(ISelection selection)
null
to indicate no selection.selection
- the selection or null
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.