public void exception(Throwable t) {
Activator.getDefault().getLog().log(
new Status(IStatus.ERROR, Activator.PLUGIN_ID,
- "Global modeled toolbar contribution listener ran into an unexpected exception.",
+ Messages.GlobalModeledToolbarActions_ActivatorGlobalModeledToolbarException,
t));
}
} catch (InvalidContribution e) {
Activator.getDefault().getLog().log(
new Status(IStatus.ERROR, Activator.PLUGIN_ID,
- "Encountered invalid modeled contribution(s) while loading global modeled toolbar contributions.",
+ Messages.GlobalModeledToolbarActions_ActivatorEncounteredInvalidContributionException,
e));
}
if (first)
first = false;
else
- items.add(new Separator(category == null ? "" : category.getLabel()));
+ items.add(new Separator(category == null ? "" : category.getLabel())); //$NON-NLS-1$
for (Action action : actions)
items.add(new ActionContributionItem(action));
}