Commit 64881335 authored by seinturi's avatar seinturi

Add a field in ComponentDesc to reference the code element that is the source...

Add a field in ComponentDesc to reference the code element that is the source for this component definition.
parent d0c45562
......@@ -48,7 +48,7 @@ extends org.ow2.frascati.tinfi.emf.EMFParserSupportImpl {
// ----------------------------------------------------------------------
@Override
protected ComponentDesc handleComponent(
protected ComponentDesc<?> handleComponent(
String compositeName, Component sub, String controllerDesc )
throws IOException {
......@@ -58,7 +58,7 @@ extends org.ow2.frascati.tinfi.emf.EMFParserSupportImpl {
String name = sub.getName();
ComponentType subct = ecore2fractal(sub);
Implementation implementation = sub.getImplementation();
ComponentDesc cdesc = null;
ComponentDesc<?> cdesc = null;
if( implementation instanceof OsgiImplementation ) {
......@@ -71,8 +71,8 @@ extends org.ow2.frascati.tinfi.emf.EMFParserSupportImpl {
String id = "C"+(compidx++);
cdesc =
new ComponentDesc(
id,name,name,subct,controllerDesc,contentDesc);
new ComponentDesc<Object>(
id,name,name,subct,controllerDesc,contentDesc,null);
}
else {
cdesc = super.handleComponent(compositeName,sub,controllerDesc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment