|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.portlets.admin.wftemplates.client.presenter.WfTemplatesPresenter
public class WfTemplatesPresenter
WfTemplatesPresenter
class is the presenter component accorinding to the MVP model of this webapp
Presenter
Nested Class Summary | |
---|---|
static interface |
WfTemplatesPresenter.Display
|
Constructor Summary | |
---|---|
WfTemplatesPresenter(WfTemplatesServiceAsync rpcService,
com.google.gwt.event.shared.HandlerManager eventBus,
WfTemplatesPresenter.Display display)
|
Method Summary | |
---|---|
void |
addNewStep(String label,
String description)
|
void |
addRolesOnConnection(com.orange.links.client.connection.Connection selectedEdge,
ArrayList<org.gcube.portlets.admin.wfdocslibrary.shared.WfRoleDetails> roles)
|
void |
bind()
method used to catch and consequently fire the events raised from the view controls |
void |
doDeleteTemplate(org.gcube.portlets.admin.wfdocslibrary.shared.WfTemplate toDelete)
|
void |
doRemoveConnectionFromModel(com.orange.links.client.connection.Connection selected)
remove the connection from the model |
void |
doRemoveConnectionFromView(com.orange.links.client.connection.Connection selected)
|
void |
doRemoveStep(WfStep step)
remove the connections attached to the step from the model |
void |
doSaveTemplate(String templateName)
called when saving the template, send the template to the service |
void |
go(com.google.gwt.user.client.ui.HasWidgets container)
go method, executed at the beginning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WfTemplatesPresenter(WfTemplatesServiceAsync rpcService, com.google.gwt.event.shared.HandlerManager eventBus, WfTemplatesPresenter.Display display)
rpcService
- .eventBus
- .display
- .Method Detail |
---|
public void bind()
public void go(com.google.gwt.user.client.ui.HasWidgets container)
go
in interface Presenter
public void addRolesOnConnection(com.orange.links.client.connection.Connection selectedEdge, ArrayList<org.gcube.portlets.admin.wfdocslibrary.shared.WfRoleDetails> roles)
addRolesOnConnection
in interface Presenter
public void addNewStep(String label, String description)
addNewStep
in interface Presenter
public void doSaveTemplate(String templateName)
doSaveTemplate
in interface Presenter
public void doRemoveConnectionFromModel(com.orange.links.client.connection.Connection selected)
doRemoveConnectionFromModel
in interface Presenter
public void doRemoveStep(WfStep step)
doRemoveStep
in interface Presenter
public void doRemoveConnectionFromView(com.orange.links.client.connection.Connection selected)
doRemoveConnectionFromView
in interface Presenter
public void doDeleteTemplate(org.gcube.portlets.admin.wfdocslibrary.shared.WfTemplate toDelete)
doDeleteTemplate
in interface Presenter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |