New VJET Type Wizard

The New VJET Type wizard helps you to create a new VJET type in in a VJET project.

To reach this page please through the File menu (File > New > VJET Type) of the workbench or the Context menu (New > VJET Type) in the Script Explorer.

An example is shown below.

Create a VJET Type page
VJET Type Options
Option Description Default
Source folder Enter a source folder for the new type. Either type a valid source folder path or click Browse to select a source folder via a dialog. The source folder of the element that was selected when the wizard has been started.
Package Enter a package to contain the new class. Either type a valid package name or click Browse to select a package via a dialog. The package of the element that was selected when the wizard has been started.
Name Type a name for the new type. <blank>
Modifiers

Select one or more access modifiers for the new type.

  • Either public or default
  • abstract
  • final

Note:

  • The type cannot be both abstract and final.
  • Private and protected are useless when you new a VJET type
<blank>
Supertype Type or click Browse to select a supertype(usually inherits from a ctype) for this type. The type (not the source module!) that was selected when the wizard has been started
Interfaces Click Add to select an itype that the new type satisfies. <blank>
Which method stubs would you like to create?

Choose the method stubs to create in this type:

  • public static void main(String... arguments): Adds a main method stub to the new type.
  • Constructors from supertype: Copies the constructors from the new class's superclass and adds these stubs to the new class. .
Inherited abstract methods enabled

Please refer to the New Java Class Wizard in Java Development User Guide for detailed introduction of the options.

Related reference