class WorkspaceProjectContext {

    public void onModuleUpdated(@Observes final ModuleUpdatedEvent moduleUpdatedEvent) {
        if (activeModule != null && activeModule.getRootPath().equals(moduleUpdatedEvent.getOldModule().getRootPath())) {
            contextChangeEvent.fire(new WorkspaceProjectContextChangeEvent(new WorkspaceProject(activeWorkspaceProject.getOrganizationalUnit(),
                                                                                                activeWorkspaceProject.getRepository(),
                                                                                                activeWorkspaceProject.getBranch(),
                                                                                                moduleUpdatedEvent.getNewModule()),
                                                                           moduleUpdatedEvent.getNewModule()));
        }
    }

    public  WorkspaceProjectContext();
    @Inject public  WorkspaceProjectContext(final Event<WorkspaceProjectContextChangeEvent> contextChangeEvent);

}