rhapsody API: how to get mutliple selected elements

295 Views Asked by At

Ho can I get multiple selected elements with the Java-API?

The Application-Interface (RPIApplication) seems to have only a getSelectedElement() method. Is there a way to get multiple items?

I saw the get getSelectedGraphElements() method, but it seems that this one only gives diagram elements.

But I want Model-Elements and also the possibility to get selected items from the tree view.

1

There are 1 best solutions below

1
On BEST ANSWER

From memory, I think there is a method called getListOfSelectedElements(), which returns an IRPCollection.

Regards, Simon