Home > Diagrams > Class Diagram

Drag and Drop



In a class diagram, you can drag and drop both Java and UML elements from:
  1. Package Explorer
  2. Model Editor


1. From the Package Explorer you can drag and drop the following Java elements:

Select one element in your Package Explorer and drag it to the Class Diagram.
Release the mouse button to drop it into your diagram editor (e.g. Class1 & Class2).



2. From the Model Editor you can drag and drop the following Java or UML (just a metamodel element not related to Java) elements:

Select one element in your Model Editor and drag it to the Class Diagram.
Release the mouse button to drop it into your diagram editor (e.g. Class3)