Setting documentation programatically

Hi,

I’m developing a plugin which set the documentation of a model elements programatically.

I use a method like this:



void setDoc(IClass element, String string)
{
	element.setDocumentation(string);
}


The problem is that even if the documentation I set appears in the specification panel of the class, the exported XMI doesn’t contain it, nor the generated documentation.

I get the same behaviour for all the elements that have a setDocument method (IPackage, IOperation etc)

What am I doing wrong?

10x

pappy

Dear Razvan,

Thank you for reporting the problem. I’ve forwarded this problem to our engineers to follow-up. Once there are any feedbacks, I’ll comeback to you immediately. If you have any further questions, please feel free to contact us again.

Best regards,
Rain

No feedback for about three weeks; do you need more info?

Dear Razvan,

Sorry to reply you so late. The set documentation problem has been fixed and deployed in the latest VP Suite 2.1. Please download the latest VP Suite 2.1 (build no: 20051118) at
http://www.visual-paradigm.com/download/download.jsp?product=vpsuite

If you have any further questions, please feel free to contact us again.

Best regards,
Rain