1 11 package org.eclipse.core.runtime; 12 13 import java.io.InputStream ; 14 import java.util.ResourceBundle ; 15 16 56 public interface IExtensionRegistry { 57 76 public void addRegistryChangeListener(IRegistryChangeListener listener, String namespace); 77 78 95 public void addRegistryChangeListener(IRegistryChangeListener listener); 96 97 107 public IConfigurationElement[] getConfigurationElementsFor(String extensionPointId); 108 109 121 public IConfigurationElement[] getConfigurationElementsFor(String namespace, String extensionPointName); 122 123 136 public IConfigurationElement[] getConfigurationElementsFor(String namespace, String extensionPointName, String extensionId); 137 138 146 public IExtension getExtension(String extensionId); 147 148 160 public IExtension getExtension(String extensionPointId, String extensionId); 161 162 176 public IExtension getExtension(String namespace, String extensionPointName, String extensionId); 177 178 187 public IExtensionPoint getExtensionPoint(String extensionPointId); 188 189 200 public IExtensionPoint getExtensionPoint(String namespace, String extensionPointName); 201 202 208 public IExtensionPoint[] getExtensionPoints(); 209 210 218 public IExtensionPoint[] getExtensionPoints(String namespace); 219 220 228 public IExtension[] getExtensions(String namespace); 229 230 242 public String [] getNamespaces(); 243 244 253 public void removeRegistryChangeListener(IRegistryChangeListener listener); 254 255 291 public boolean addContribution(InputStream is, IContributor contributor, boolean persist, String name, ResourceBundle translationBundle, Object token) throws IllegalArgumentException ; 292 293 315 public boolean removeExtension(IExtension extension, Object token) throws IllegalArgumentException ; 316 317 340 public boolean removeExtensionPoint(IExtensionPoint extensionPoint, Object token) throws IllegalArgumentException ; 341 342 355 public void stop(Object token) throws IllegalArgumentException ; 356 } 357 | Popular Tags |