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

com.jpattern.gwt.client.view.IView Maven / Gradle / Ivy

package com.jpattern.gwt.client.view;

import com.google.gwt.user.client.ui.HasWidgets;
import com.jpattern.gwt.client.presenter.IPresenter;

/**
 * 
 * @author Francesco Cina'
 *
 * 14 Apr 2011
 */
public interface IView {

	void visit(IPresenter presenter);
	
	IPresenter getPresenter();
	
	void render(HasWidgets container);

	IErrorArea getErrorArea();
	
	void onNavigationEvent(String eventName);
	
//	/**
//	 * Register a default target area for all the events.
//	 * This is ignored if a specific target for the event has been created using the registerEventTarget(String navigationEventName, HasWidgets hasWidgets)
//	 * method.
//	 * @param hasWidgets
//	 */
//	void registerDefaultEventTarget(HasWidgets hasWidgets);
//	
//	/**
//	 * Register the target area for a specific INavigationEvent
//	 * @param navigationEventName
//	 * @param hasWidgets
//	 */
//	void registerEventTarget(String navigationEventName, HasWidgets hasWidgets);
//	
//	/**
//	 * Return the result area in which the a specific
//	 * INavigationEvent must be rendered
//	 * @return
//	 */
//	HasWidgets getNavigationTarget(String navigationEventName);
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy