Search in sources :

Example 1 with DashboardPlace

use of org.activityinfo.client.page.dashboard.DashboardPlace in project activityinfo by bedatadriven.

the class HistoryManager method fireInitialPage.

private void fireInitialPage() {
    if (History.getToken().length() != 0) {
        Log.debug("HistoryManager: firing initial placed based on intial token: " + History.getToken());
        History.fireCurrentHistoryState();
    } else {
        eventBus.fireEvent(new NavigationEvent(NavigationHandler.NAVIGATION_REQUESTED, new DashboardPlace()));
    }
}
Also used : NavigationEvent(org.activityinfo.client.event.NavigationEvent) DashboardPlace(org.activityinfo.client.page.dashboard.DashboardPlace)

Aggregations

NavigationEvent (org.activityinfo.client.event.NavigationEvent)1 DashboardPlace (org.activityinfo.client.page.dashboard.DashboardPlace)1