|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.action.AbstractGUIAction
net.sf.doolin.gui.action.AbstractSimpleGUIAction
net.sf.doolin.gui.action.OpenViewAction<V>
V - Type of view for the datapublic class OpenViewAction<V>
Opens a view.
| Constructor Summary | |
|---|---|
OpenViewAction()
|
|
| Method Summary | |
|---|---|
protected void |
doExecute(ActionContext context)
Builds a new model and opens the view |
DataFactory<V> |
getModelFactory()
Gets the model factory. |
ViewOpener<V> |
getViewOpener()
Gets the view opener. |
void |
setModelFactory(DataFactory<V> modelFactory)
Sets the model factory. |
void |
setUseContextData(boolean useContextData)
Deprecated. Use AbstractGUIAction.setActionContextDataExtractor(net.sf.doolin.gui.action.support.ActionContextDataExtractor) |
void |
setViewOpener(ViewOpener<V> viewOpener)
Sets the view opener. |
| Methods inherited from class net.sf.doolin.gui.action.AbstractSimpleGUIAction |
|---|
getIconId, getIconIDExpression, getId, getShortcut, getShortcutExpression, getTextExpression, getTip, getTipExpression, getTitle, init, setBeanName, setIconId, setShortcut, setTip, setTitle, toString |
| Methods inherited from class net.sf.doolin.gui.action.AbstractGUIAction |
|---|
execute, getActionContextData, getActionContextDataExtractor, getDisplayStateHandler, getIcon, getIconService, setActionContextDataExtractor, setDisplayStateHandler, setIconService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OpenViewAction()
| Method Detail |
|---|
protected void doExecute(ActionContext context)
throws Exception
doExecute in class AbstractGUIActioncontext - the context
Exception - the exceptionAbstractGUIAction.doExecute(net.sf.doolin.gui.action.ActionContext)public DataFactory<V> getModelFactory()
public ViewOpener<V> getViewOpener()
public void setModelFactory(DataFactory<V> modelFactory)
modelFactory - the model factory@Deprecated public void setUseContextData(boolean useContextData)
AbstractGUIAction.setActionContextDataExtractor(net.sf.doolin.gui.action.support.ActionContextDataExtractor)
useContextData - true if the contextual data of the context must
used instead of the datapublic void setViewOpener(ViewOpener<V> viewOpener)
viewOpener - the new view opener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||