DataControlDefinition def = new DataControlDefinition();
// full name is used for Definition and BeanClass properties in AdapterDataControl
String fullName = getPkgName() + "." + getName();
def.setFullName(fullName);
def.setMetadata(defNode);
MetaDef metaDef = new MetaDef(MetaDef.CTX_JDEVELOPER);
metaDef.createDataControl(def);
MessageUtils.showInformationMessage("XML Data Control",
"Please click the Refresh button in the Data Controls panel when finished");
}