|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.part.ShowInContext
Carries the context for the Show In action. The default implementation carries an input and a selection. Subclasses may extend.
IShowInSource
,
IShowInTarget
Constructor Summary | |
---|---|
ShowInContext(Object input,
ISelection selection)
Constructs a new ShowInContext with the given input and
selection. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ShowInContext(Object input, ISelection selection)
ShowInContext
with the given input and
selection.
input
- the input or null
selection
- the selection or null
Method Detail |
public Object getInput()
null
to indicate no input
null
.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
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.