net.sf.doolin.gui.window.opener
Class WindowOpener<C>

java.lang.Object
  extended by net.sf.doolin.gui.window.opener.AbstractViewOpener<C>
      extended by net.sf.doolin.gui.window.opener.WindowOpener<C>
Type Parameters:
C - Type of data for the window
All Implemented Interfaces:
ViewOpener<C>

public class WindowOpener<C>
extends AbstractViewOpener<C>

Opens a new window.

Author:
Damien Coraboeuf

Constructor Summary
WindowOpener()
           
 
Method Summary
 GUIWindowDescriptor<C> getWindowDescriptor()
          Gets the window descriptor.
protected  ActionContext openViewInternal(ActionContext actionContext, C model)
           
 void setWindowDescriptor(GUIWindowDescriptor<C> windowDescriptor)
          Sets the window descriptor.
 
Methods inherited from class net.sf.doolin.gui.window.opener.AbstractViewOpener
delegate, getActionDelegate, openView, setActionDelegate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowOpener

public WindowOpener()
Method Detail

getWindowDescriptor

public GUIWindowDescriptor<C> getWindowDescriptor()
Gets the window descriptor.

Returns:
the window descriptor

openViewInternal

protected ActionContext openViewInternal(ActionContext actionContext,
                                         C model)
Specified by:
openViewInternal in class AbstractViewOpener<C>

setWindowDescriptor

public void setWindowDescriptor(GUIWindowDescriptor<C> windowDescriptor)
Sets the window descriptor.

Parameters:
windowDescriptor - the new window descriptor


Copyright © 2011. All Rights Reserved.