ccc.client.presenters
Class CreateGroupPresenter

java.lang.Object
  extended by ccc.client.core.AbstractPresenter<GroupPresenter.GroupView,Group>
      extended by ccc.client.presenters.GroupPresenter
          extended by ccc.client.presenters.CreateGroupPresenter
All Implemented Interfaces:
Editable, EventHandler<CommandType>

public class CreateGroupPresenter
extends GroupPresenter

MVP presenter for group creation. TODO: Known issue: if multiple dialogs are open simultaneously they will all be disposed on a successful create.

Author:
Civic Computing Ltd.

Nested Class Summary
 
Nested classes/interfaces inherited from class ccc.client.presenters.GroupPresenter
GroupPresenter.GroupView
 
Constructor Summary
CreateGroupPresenter(GroupPresenter.GroupView view)
          Constructor.
 
Method Summary
 void handle(Event<CommandType> event)
          Handle an event.
 void save()
          Confirm the edits.
 
Methods inherited from class ccc.client.presenters.GroupPresenter
bind, cancel, render, unbind, valid
 
Methods inherited from class ccc.client.core.AbstractPresenter
clearHandlers, dispose, getModel, getView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateGroupPresenter

public CreateGroupPresenter(GroupPresenter.GroupView view)
Constructor.

Parameters:
view - The view for this presenter.
Method Detail

save

public void save()
Confirm the edits.


handle

public void handle(Event<CommandType> event)
Handle an event.

Parameters:
event - The event to handle.


Copyright © 2010. All Rights Reserved.