Implement Interface Pattern

The Implement Interface Pattern creates a class implementing one or more interfaces.

Option Description Default
Source folder Enter a source folder for the new class. 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 was started.
Package Enter a package to contain the new class. You can select either this option or the Enclosing Type option, below. 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 was started.
Enclosing type Select this option to choose a type in which to enclose the new class. You can select either this option or the Package option, above. Either type a valid name in the field or click Browse to select a type via a dialog. The type or the primary type of the compilation unit that was selected when the wizard was started or <blank>
Class name Type a name for the new class. <blank>
Modifiers Select one or more access modifiers for the new class.
  • Either public, default, private, or protected (private and protected are only available if you specify an enclosing type)
  • abstract
  • final
  • static (only available if you specify an enclosing type)
public
Superclass Type or click Browse to select a superclass for this class. <java.lang.Object>
Interfaces Click Add to choose interfaces that the new class implements. <blank>
Class comment Enter the description of the class. <blank>