Subversion Repositories eFlore/Applications.del

Rev

Rev 1 | Rev 13 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 aurelien 1
package org.tela_botanica.del.client;
2
 
9 benjamin 3
import org.tela_botanica.del.client.history.ApplicationHistoryChangeHandler;
4
import org.tela_botanica.del.client.history.NavigationStatesConstants;
5
 
1 aurelien 6
import com.google.gwt.core.client.EntryPoint;
9 benjamin 7
import com.google.gwt.user.client.History;
1 aurelien 8
 
9
public class Del implements EntryPoint {
10
 
11
	@Override
12
	public void onModuleLoad() {
9 benjamin 13
		History.addValueChangeHandler(new ApplicationHistoryChangeHandler());
14
 
15
		// displays init page
16
		History.newItem(NavigationStatesConstants.MAIN_PAGE, true);
17
 
18
		History.fireCurrentHistoryState();
1 aurelien 19
	}
20
}