| java.lang.Object net.refractions.udig.core.internal.ExtensionPointUtil
Method Summary | |
public static List | list(String xpid, ExtensionPointItemCreator itemCreator) Process extentionpoint with an itemCreator. | public static void | process(String xpid, ExtensionPointProcessor processor) Finds all the Extension or the Extension point identified by the xpid method and calls a
callback method on the processor class for processing of the extension. | public static void | process(Plugin plugin, String xpid, ExtensionPointProcessor processor) Finds all the Extension or the Extension point identified by the xpid method and calls a
callback method on the processor class for processing of the extension. |
list | public static List list(String xpid, ExtensionPointItemCreator itemCreator)(Code) | | Process extentionpoint with an itemCreator.
Example Use:
List<Thingy> stuff = ExtentionPointUtil.list( new ExtentionPointProcessor2(){
public Object process( IExtention extention, IConfigurationElement element ){
return new Thingy( element );
}
}
Parameters: xpid - Parameters: itemCreator - Used to process extention points into items for a list List |
|
|