When editing a JADE method, you can create a new class without leaving the editor pane, even if the current method has been changed and not saved.
To add a new class
In the editor pane, select the Add Class command from the Refactor submenu of the Edit menu.
The Define Class dialog is then displayed. For details, see "Defining Your Own Classes", in Chapter 3.
As the Object class is selected by default in the Subclass of combo box on the Class sheet of the Define Class dialog, you must select the class that you require as the superclass of the new class.
The class is added to the current schema and is displayed in the Class List (you may have to expand the appropriate superclass). The currently selected class, property, and method remain selected.