Commit 9d53b881 authored by seinturi's avatar seinturi

Support custom setter name in AttributeDesc.

Adlet: support declaring the attribute control interface.
parent 1ff0284f
......@@ -575,7 +575,9 @@ public class EMFParserSupportImpl extends AbstractADLSupportImpl<Composite> {
type = typeqname.getLocalPart();
}
String value = propvalue.getValue();
AttributeDesc adesc = new AttributeDesc(cdesc,null,name,value,type);
String setterName = name.substring(0,1).toUpperCase()+name.substring(1);
AttributeDesc adesc =
new AttributeDesc(cdesc,null,name,value,type,setterName);
cdesc.putAttribute(name,adesc);
}
......
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