Resource componentType = g.getPossibleType(component, STR.Component);
String componentTypePrefix = componentType != null
? g.<String>getPossibleRelatedValue(componentType, L0X.HasGeneratedNamePrefix, Bindings.STRING)
- : "";
+ : ""; //$NON-NLS-1$
entries.add(new NameEntry(component, name, name, componentTypePrefix));
}
Collections.sort(entries);
}
});
} catch (DatabaseException e) {
- Activator.getDefault().getLog().log(new Status(IStatus.ERROR, Activator.PLUGIN_ID, "validateNewNames failed, see exception for details", e));
+ Activator.getDefault().getLog().log(new Status(IStatus.ERROR, Activator.PLUGIN_ID, "validateNewNames failed, see exception for details", e)); //$NON-NLS-1$
}
} else {
if (reset) {