net.sf.doolin.gui.window.opener
Interface ViewOpener<V>

Type Parameters:
V - Type of data for the view
All Known Implementing Classes:
AbstractViewOpener, InnerViewOpener, WindowOpener

public interface ViewOpener<V>

Opens a view, a window, etc. for a given model. It defines an abstraction for actions that have to open a view or a window.

Author:
Damien Coraboeuf

Method Summary
 ActionContext openView(ActionContext actionContext, V model)
          Opens the view or the window
 

Method Detail

openView

ActionContext openView(ActionContext actionContext,
                       V model)
Opens the view or the window

Parameters:
actionContext - Action context
model - Model for the new window or view
Returns:
The action context of the opened view or window


Copyright © 2011. All Rights Reserved.