All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ioc.commons.impl.gwt.client.flowcontrol.GwtFlowController Maven / Gradle / Ivy

There is a newer version: 1.2.1
Show newest version
package org.ioc.commons.impl.gwt.client.flowcontrol;

import org.ioc.commons.flowcontrol.HasFlowControl;
import org.ioc.commons.flowcontrol.actioncontroller.ActionController;
import org.ioc.commons.flowcontrol.actioncontroller.IsExternalAction;
import org.ioc.commons.flowcontrol.eventbus.EventBus;
import org.ioc.commons.flowcontrol.eventbus.IsEvent;
import org.ioc.commons.flowcontrol.operationmanager.IsOperation;
import org.ioc.commons.flowcontrol.operationmanager.OperationManager;
import org.ioc.commons.impl.gwt.client.flowcontrol.actioncontroller.GwtActionControllerImpl;
import org.ioc.commons.impl.gwt.client.flowcontrol.eventbus.GwtEventBusImpl;
import org.ioc.commons.impl.gwt.client.flowcontrol.operationmanager.GwtOperationManagerImpl;

public class GwtFlowController, O extends Enum, A extends Enum>
		implements HasFlowControl {

	protected final GwtEventBusImpl eventbus;
	protected final GwtOperationManagerImpl operationManager;
	protected final GwtActionControllerImpl actionController;

	public GwtFlowController(com.google.web.bindery.event.shared.EventBus eventBus, Object owner) {
		this.eventbus = new GwtEventBusImpl(eventBus, owner);
		this.operationManager = new GwtOperationManagerImpl(eventBus, owner);
		this.actionController = new GwtActionControllerImpl(eventBus, owner);
	}

	final public EventBus eventBus() {
		return this.eventbus;
	}

	final public OperationManager operationManager() {
		return this.operationManager;
	}

	final public ActionController actionController() {
		return this.actionController;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy