use of de.catma.ui.events.HeaderContextChangeEvent 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();
}
}
use of de.catma.ui.events.HeaderContextChangeEvent in project catma by forTEXT.
the class ProjectView method setProjectReference.
/**
* handler for project selection
*/
public void setProjectReference(ProjectReference projectReference) {
this.projectReference = projectReference;
eventBus.post(new HeaderContextChangeEvent(projectReference.getName()));
initProject(projectReference);
}
Aggregations