Cut, Copy and Paste from and to Classes in the Package Browser
You can either cut or copy classes in the Package Browser and then paste them into a target class.
-
From the
Package Browser, select a class.
Tip: You can also multiselect classes using the Ctrl or Shift keys. -
To copy the selection, do any of the following:
To cut the selection, perform instead the next step.
- Right-click and select Copy.
- Hold down the
Ctrl key and start dragging the selection.
A 2D representation of the selection follows your cursor.
- Press Ctrl+C.
-
To cut the selection, do any of the following:
Note: You might not be allowed to cut the selection, for example, if the selection is part of a read-only class.
- Right-click and select Cut.
- Start dragging the selection.
A 2D representation of the selection follows your cursor.
- Press Ctrl+X.
-
To paste the selection to the target class you want, do any of
the following, depending on how you performed the copy or cut:
- Open the target class by, for example, double-clicking it in the Package Browser.
-
Paste the selection.
You can paste by any of the following, depending on how you performed the copy or cut:
- Right-click the target class and select Paste.
- Drop the selection on the target class where you want to paste it.
- Select the target class and press Ctrl+V.
The selection has been pasted to the target class.