In the following example, you will copy a class in another class.
You can either cut or copy classes in the Package Browser.
To cut / paste: Drag and drop the component from a class to another.
To copy / paste:
- Hold down the Ctrl key during the drag and drop.
- Use as usual Ctrl+C then Ctrl + V.
From the Package Browser, select a class.
If need be, you can multiselect classes by using the Ctrl or Shift keys.
Hold down the Ctrl key when dragging your selection to the convenient class.
A 2D representation of the selected class follows your cursor.
Drop your selection in the convenient class.
The class has been copied.