Package org.eclipse.m2m.atl.dsls
Class DSLResourceProvider
java.lang.Object
org.eclipse.m2m.atl.dsls.DSLResourceProvider
The DSL resource provider.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.osgi.framework.Bundle
Returns the bundle.static DSLResourceProvider
Returns the default DSL provider.protected String
Returns the plugin Id.getResource
(String id) Returns the resource by id.
-
Constructor Details
-
DSLResourceProvider
public DSLResourceProvider()
-
-
Method Details
-
getDefault
Returns the default DSL provider.- Returns:
- the default DSL provider
-
getResource
Returns the resource by id.- Parameters:
id
- the resource Id- Returns:
- the resource by id
-
getBundle
protected org.osgi.framework.Bundle getBundle()Returns the bundle. Must be redefined in sub-classes.- Returns:
- the bundle
-
getPluginId
Returns the plugin Id. Must be redefined in sub-classes.- Returns:
- the plugin Id
-