Community
Participate
Working Groups
logMissingAttribute(element, IWorkbenchRegistryConstants.ATT_NAME);
return true;
}
// Get editor icon (required field for internal editors)
if (element.getAttribute(IWorkbenchRegistryConstants.ATT_ICON) == null) {
if (getClassValue(element, IWorkbenchRegistryConstants.ATT_CLASS) != null) {
logMissingAttribute(element, IWorkbenchRegistryConstants.ATT_ICON);
// Get target extensions (optional field)
String extensionsString = element.getAttribute(IWorkbenchRegistryConstants.ATT_EXTENSIONS);
StringBuffer buf = new StringBuffer();
buf
.append("Plugin " + extension.getNamespace() + ", extension " + extension.getExtensionPointUniqueIdentifier());//$NON-NLS-2$//$NON-NLS-1$
buf.append("\n" + text);//$NON-NLS-1$
// look for an ID if available - this should help debugging
String id = element.getAttribute("id"); //$NON-NLS-1$
if (id != null) {
buf.append(", id "); //$NON-NLS-1$
buf.append(id);
buf.append(": " + text);//$NON-NLS-1$
WorkbenchPlugin.log(buf.toString());