public ActionControlPanel(Action downloadAction, ProjectConsoleAction... consoleActions) {
this.downloadAction = downloadAction;
this.consoleActions = ArrayListMultimap.create();
for (ProjectConsoleAction a : consoleActions) {
try {
Category cat = Category.fromId(a.getCategory());
this.consoleActions.put(cat, a.getAction());
} catch (RuntimeException ex) {
ErrorLog.log(ActionControlPanel.class, "Invalid action category in the Project Console configuration: "
+ a.getCategory(), ex);
}