|
org.eclipse.ui.part
Class ShowInContext
java.lang.Object
org.eclipse.ui.part.ShowInContext
-
Direct Known Subclasses:
-
PropertyShowInContext
-
public class ShowInContext
- extends
Object
Carries the context for the Show In action.
The default implementation carries an input and a selection.
Subclasses may extend.
-
Since:
- 2.1
-
See Also:
-
IShowInSource ,
IShowInTarget
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
ShowInContext
public ShowInContext(
Object input,
ISelection selection)
- Constructs a new
ShowInContext with the given input and
selection.
-
Parameters:
-
input - the input or null
-
selection - the selection or null
getInput
public
Object getInput()
- Returns the input, or
null to indicate no input
-
-
Returns:
- the input or
null .
getSelection
public
ISelection getSelection()
- Returns the selection, or
null to indicate no selection.
-
-
Returns:
- the selection or
null
setInput
public void setInput(
Object input)
- Sets the input, or
null to indicate no input.
-
-
Parameters:
-
input - the input or null
setSelection
public void setSelection(
ISelection selection)
- Sets the selection, or
null to indicate no selection.
-
-
Parameters:
-
selection - the selection or null
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.
|
|