Package net.bluemind.eclipse.common
Class RunnableExtensionLoader<T>
java.lang.Object
net.bluemind.eclipse.common.RunnableExtensionLoader<T>
- Type Parameters:
T
-
Load plugins based on some interface
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
loadExtensions
(String pluginId, String pointName, String element, String attribute) Load plugins declaring an executable extensionloadExtensionsWithPriority
(String pluginId, String pointName, String element, String attribute) Load plugins declaring an executable extension biggest priority is sorted first
-
Constructor Details
-
RunnableExtensionLoader
public RunnableExtensionLoader()
-
-
Method Details
-
builder
-
loadExtensions
Load plugins declaring an executable extension- Parameters:
pluginId
-pointName
-element
-attribute
-- Returns:
-
loadExtensionsWithPriority
public List<T> loadExtensionsWithPriority(String pluginId, String pointName, String element, String attribute) Load plugins declaring an executable extension biggest priority is sorted first- Parameters:
pluginId
-pointName
-element
-attribute
-- Returns:
-