io.sarl.apputils.eclipseextensions
Class Extensions
final class Extensions
extends java.lang.Object
Tools for the Eclipse extensions.
Maven Group Identifier:
io.sarl.apputils
Maven Artifact Identifier:
eclipseextensions
Since:
0.15
Action Summary
Modifier and type Action and description
static java.util.stream.Stream<T> getExtensions(String,String)
Replies the extensions that are defined in the given Eclipse plugin.
static java.util.stream.Stream<T> getExtensions(String,String,String,Class<T>)
Replies the extensions that are defined in the given Eclipse plugin.
Action Details
getExtensions(String,String)
def getExtensions(String,String) : java.util.stream.Stream<T>
Replies the extensions that are defined in the given Eclipse plugin.
Parameters:
pluginId - the identifier of the plugin that defines the extension.
extensionId - the identifier of the extension.
Returns:
the list of the extensions' informations.
getExtensions(String,String,String,Class<T>)
def getExtensions(String,String,String,Class<T>) : java.util.stream.Stream<T>

with T

Replies the extensions that are defined in the given Eclipse plugin.
Parameters:
<T> - the type of the extension.
pluginId - the identifier of the plugin that defines the extension.
extensionId - the identifier of the extension.
fieldName - the name of the field that describes the type of the extension to be created.
extensionType - the type of the extension.
Returns:
the list of the extensions.