this.launchers = launchers;
this.actions = actions;
addResource(new ViewDestroyingResource(view.getWindow().getViewManager(), view, WindowElementStateSpan.WHEN_OPEN));
addResource(new ViewActivationResource(view, WindowElementStateSpan.WHEN_ACTIVE));
addResource(new ContextMenuShortCutResource(view.getWindow()));
CommandModule commands = new ConsoleCommands(launchers).build();
addResource(new CommandActivator(view.getWindow().getCommandConsole(), commands));
}