Package org.eclipse.net4j.util
Class PluginUtil
java.lang.Object
org.eclipse.net4j.util.PluginUtil
- Since:
- 3.19
- Author:
- Eike Stepper
-
Method Summary
Modifier and TypeMethodDescriptionstatic IConfigurationElement[]
getConfigurationElements
(String namespace, String extensionPointName) static <T> T
instantiate
(IConfigurationElement element) static <T> T
instantiate
(IConfigurationElement element, String classAttribute) static IConfigurationElement[]
removePredecessors
(IConfigurationElement[] elements) Removes all elements with a 'class' attribute that is specified in the 'predecessor' list of any other element.static IConfigurationElement[]
removePredecessors
(IConfigurationElement[] elements, String classAttribute, String predecessorAttribute) Removes all elements with a 'class' attribute that is specified in the 'predecessor' list of any other element.
-
Method Details
-
instantiate
-
instantiate
-
getConfigurationElements
public static IConfigurationElement[] getConfigurationElements(String namespace, String extensionPointName) -
removePredecessors
Removes all elements with a 'class' attribute that is specified in the 'predecessor' list of any other element. -
removePredecessors
public static IConfigurationElement[] removePredecessors(IConfigurationElement[] elements, String classAttribute, String predecessorAttribute) Removes all elements with a 'class' attribute that is specified in the 'predecessor' list of any other element.
-