private void loadProperties(IConfigurationElement element) { IConfigurationElement[] children = element.getChildren(); properties = new HashMap(children.length); for (int i = 0; i < children.length; i++) { IConfigurationElement child = children[i]; String key = child.getAttribute(ATTR_NAME); String value = child.getAttribute(ATTR_VALUE); if (key != null && value != null) properties.put(key, value); } definingBundle = Activator.getBundle(element.getContributor()); }
private void loadProperties(IConfigurationElement element) { IConfigurationElement[] children = element.getChildren(); properties = new HashMap(children.length); for (int i = 0; i < children.length; i++) { IConfigurationElement child = children[i]; String key = child.getAttribute(ATTR_NAME); String value = child.getAttribute(ATTR_VALUE); if (key != null && value != null) properties.put(key, value); } definingBundle = Activator.getBundle(element.getContributor()); }
private void loadProperties(IConfigurationElement element) { IConfigurationElement[] children = element.getChildren(); properties = new HashMap(children.length); for (int i = 0; i < children.length; i++) { IConfigurationElement child = children[i]; String key = child.getAttribute(ATTR_NAME); String value = child.getAttribute(ATTR_VALUE); if (key != null && value != null) properties.put(key, value); } definingBundle = Activator.getBundle(element.getContributor()); }
iconPath = configs[0].getAttribute(PT_APP_ICON); appDescriptor = new EclipseAppDescriptor(Activator.getBundle(appExtension.getContributor()), appExtension.getUniqueIdentifier(), appExtension.getLabel(), iconPath, flags, cardinality, this);
iconPath = configs[0].getAttribute(PT_APP_ICON); appDescriptor = new EclipseAppDescriptor(Activator.getBundle(appExtension.getContributor()), appExtension.getUniqueIdentifier(), appExtension.getLabel(), iconPath, flags, cardinality, this);
iconPath = configs[0].getAttribute(PT_APP_ICON); appDescriptor = new EclipseAppDescriptor(Activator.getBundle(appExtension.getContributor()), appExtension.getUniqueIdentifier(), appExtension.getLabel(), iconPath, flags, cardinality, this);