themesMenu.setContributorURI(BUNDLE_ID);
}
@Override
protected void processTheme(String name, MCommand switchCommand, MParameter themeId, String iconURI) {
MHandledMenuItem menuItem = MMenuFactory.INSTANCE.createHandledMenuItem();
menuItem.setLabel(name);
menuItem.setCommand(switchCommand);
menuItem.getParameters().add(themeId);
menuItem.setContributorURI(BUNDLE_ID);
if (iconURI != null) {
menuItem.setIconURI(iconURI);
}
themesMenu.getChildren().add(menuItem);
}