org.gcube.portlets.user.workflowdocuments.client
Class AppController

java.lang.Object
  extended by org.gcube.portlets.user.workflowdocuments.client.AppController
All Implemented Interfaces:
com.google.gwt.event.logical.shared.ValueChangeHandler<String>, com.google.gwt.event.shared.EventHandler, Presenter

public class AppController
extends Object
implements Presenter, com.google.gwt.event.logical.shared.ValueChangeHandler<String>

Version:
May 2011 (0.1) This AppController contains the view transition logic, to handle logic that is not specific to any presenter and instead resides at the application layer
Author:
Massimiliano Assante, ISTI-CNR - massimiliano.assante@isti.cnr.it

Constructor Summary
AppController(WfDocumentsLibraryServiceAsync rpcService, com.google.gwt.event.shared.HandlerManager eventBus)
           
 
Method Summary
 void doAddComment(String comment, String workflowid)
           
 void doForward(WorkflowDocument wfDoc, String toStepLabel)
           
 void go(com.google.gwt.user.client.ui.HasWidgets container)
           
 void onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent<String> event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppController

public AppController(WfDocumentsLibraryServiceAsync rpcService,
                     com.google.gwt.event.shared.HandlerManager eventBus)
Method Detail

go

public void go(com.google.gwt.user.client.ui.HasWidgets container)
Specified by:
go in interface Presenter

onValueChange

public void onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent<String> event)
Specified by:
onValueChange in interface com.google.gwt.event.logical.shared.ValueChangeHandler<String>

doAddComment

public void doAddComment(String comment,
                         String workflowid)
Specified by:
doAddComment in interface Presenter

doForward

public void doForward(WorkflowDocument wfDoc,
                      String toStepLabel)
Specified by:
doForward in interface Presenter


Copyright © 2014. All Rights Reserved.