
final String id = readRequired(element, ATT_ID, warningsToLog,
"Actions require an id"); //$NON-NLS-1$</BUG>
if (id == null) {
continue;
<BUG>}
final ParameterizedCommand command = convertActionToCommand(
element, primaryId, id, warningsToLog);</BUG>
if (command == null) {
continue;

viewContributionCount);
}
private final void readActions(final String primaryId,
final IConfigurationElement[] elements, final List warningsToLog,
final Expression visibleWhenExpression, final String viewId) {
for (final IConfigurationElement configElement : elements) {
final String id = readRequired(configElement, ATT_ID, warningsToLog, "Actions require an id"); //$NON-NLS-1$
if (id == null) {
continue;
