| 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 |
}
|