class ExplorerMenu {

    public void onArchiveActiveProject() {
        view.archive(context.getActiveModule()
                            .map(module -> module.getRootPath())
                            .orElseThrow(() -> new IllegalStateException("Cannot get root path without active module.")));
    }

    public  ExplorerMenu();
    @Inject public  ExplorerMenu(final ExplorerMenuView view,
                        final ActiveContextOptions activeOptions,
                        final WorkspaceProjectContext projectContext);

}