When I create a component by using the diagram palette, that component appears in the outline view and in the diagram.
I can drag that component in the outline to another package in the outline view and the diagram reference will be updated accordingly.
I cannot use that component in another diagram by dragging the component from the outline view to the new diagram. An exception is thrown: java.lang.ClassCastException: org.topcased.modeler.uml.componentdiagram.edit.ComponentDiagramEditPart cannot be cast to com.genuitec.eclipse.modeling.core.layout.uml2.IYFilesUMLDiagramEditPart
Additionally, I can create a component in the outline view via the pop-up menu. However, I cannot drag this into any component diagrams. It throws the same exception.
A “+” sign appears on the lower right of the mouse icon which indicates the manuver is correct.
What am I missing? Is there another way to reuse components?
Thank You.