Get Pkg by selecting elements
When trying to get the package from selected element by: IRPApplication app = RhapsodyAppServer.getActiveRhapsodyApplication(); IRPPackage pkg = (IRPPackage) app.getSelectedElement();
I got the error: class com.telelogic.rhapsody.core.RPClass cannot be cast to class com.telelogic.rhapsody.core.IRPPackage (com.telelogic.rhapsody.core.RPClass and com.telelogic.rhapsody.core.IRPPackage are in unnamed module of loader 'app') |
Be the first one to answer this question!
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Please read How should I ask a question in the Forum if I want to receive useful answers? and ask a question. Refine your question.