Package org.eclipse.m2m.atl.dsls
Class DSLResourceProvider
- java.lang.Object
-
- org.eclipse.m2m.atl.dsls.DSLResourceProvider
-
public class DSLResourceProvider extends java.lang.ObjectThe DSL resource provider.
-
-
Constructor Summary
Constructors Constructor Description DSLResourceProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.osgi.framework.BundlegetBundle()Returns the bundle.static DSLResourceProvidergetDefault()Returns the default DSL provider.protected java.lang.StringgetPluginId()Returns the plugin Id.ResourcegetResource(java.lang.String id)Returns the resource by id.
-
-
-
Method Detail
-
getDefault
public static DSLResourceProvider getDefault()
Returns the default DSL provider.- Returns:
- the default DSL provider
-
getResource
public Resource getResource(java.lang.String id)
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
protected java.lang.String getPluginId()
Returns the plugin Id. Must be redefined in sub-classes.- Returns:
- the plugin Id
-
-