|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.ui.actions.ActionContext
An ActionContext
represents the context used to determine
which actions are added by an ActionGroup
, and what their
enabled state should be.
This class encapsulates a selection and an input element. Clients may subclass this class to add more information to the context.
Constructor Summary | |
ActionContext(ISelection selection)
Creates a new action context with the given selection. |
Method Summary | |
Object |
getInput()
Returns the input element. |
ISelection |
getSelection()
Returns the selection. |
void |
setInput(Object input)
Sets the input element. |
void |
setSelection(ISelection selection)
Sets the selection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ActionContext(ISelection selection)
Method Detail |
public ISelection getSelection()
public void setSelection(ISelection selection)
public Object getInput()
public void setInput(Object input)
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |