Can't find IDiagramElement->addDiagramElementListener in openapi.jar


Although referenced by the API documentation, I can’t seem to find the following
function in the ‘openapi’ JAR (VP Suite 4.1)

void addDiagramElementListener(IDiagramElementListener listener)

I found the function signature in the API documentation at the following URL:

I’m probably missing something, but I can’t see what…
Thanks in advance,


Hi Michel,

Thanks for your post. I’ve forwarded the issue to our engineers to follow-up, and I’ll come back to you once there is any news on this issue.

Best regards,
Lilian Wong

Hi Michel,

IDiagramElement is subclass of IBaseDiagramElement

IBaseDiagramElement have functions to add/remove DiagramElementListener:
public void addDiagramElementListener(IDiagramElementListener listener);
public void removeDiagramElementListener(IDiagramElementListener listener);

Best regards,
Jick Yeung