net.sf.doolin.gui.window.dialog
Class AbstractDialogAction<B>

java.lang.Object
  extended by net.sf.doolin.gui.action.AbstractGUIAction
      extended by net.sf.doolin.gui.action.AbstractTextAction
          extended by net.sf.doolin.gui.window.dialog.AbstractDialogAction<B>
Type Parameters:
B - Type of bean for the window
All Implemented Interfaces:
GUIAction
Direct Known Subclasses:
DialogCancelAction, DialogOKAction

public abstract class AbstractDialogAction<B>
extends AbstractTextAction

Abstract implementation for an action which deals with a DialogGUIWindow.

Author:
Damien Coraboeuf

Constructor Summary
AbstractDialogAction(String id, String text, boolean textKey)
          Constructor for the action
 
Method Summary
 DialogGUIWindow<B> getDialog(ActionContext actionContext)
          Gets the DialogGUIWindow instance for the ActionContext.
 
Methods inherited from class net.sf.doolin.gui.action.AbstractTextAction
getIconIDExpression, getId, getShortcut, getShortcutExpression, getText, getTextExpression, getTipExpression
 
Methods inherited from class net.sf.doolin.gui.action.AbstractGUIAction
doExecute, execute, getActionContextData, getActionContextDataExtractor, getDisplayStateHandler, getIcon, getIconService, setActionContextDataExtractor, setDisplayStateHandler, setIconService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDialogAction

public AbstractDialogAction(String id,
                            String text,
                            boolean textKey)
Constructor for the action

Parameters:
id - Action id
See Also:
DialogAction
Method Detail

getDialog

public DialogGUIWindow<B> getDialog(ActionContext actionContext)
Gets the DialogGUIWindow instance for the ActionContext.

Parameters:
actionContext - Action content
Returns:
DialogGUIWindow instance


Copyright © 2011. All Rights Reserved.