Search in sources :

Example 1 with DashboardView

use of de.catma.ui.module.dashboard.DashboardView in project catma by forTEXT.

the class MainView method handleRouteToDashboard.

@Override
public void handleRouteToDashboard(RouteToDashboardEvent routeToDashboardEvent) {
    closeViews();
    if (isNewTarget(routeToDashboardEvent.getClass())) {
        setContent(new DashboardView(projectManager, remoteGitManagerRestricted, eventBus));
        viewSection.addStyleName("no-margin-view-section");
        eventBus.post(new HeaderContextChangeEvent());
        currentRoute = routeToDashboardEvent.getClass();
    }
}
Also used : HeaderContextChangeEvent(de.catma.ui.events.HeaderContextChangeEvent) DashboardView(de.catma.ui.module.dashboard.DashboardView)

Aggregations

HeaderContextChangeEvent (de.catma.ui.events.HeaderContextChangeEvent)1 DashboardView (de.catma.ui.module.dashboard.DashboardView)1