New Java Interface Wizard

This wizard helps you to create a new Java interface in a Java project.

 

Java Interface Options
Option
Description
Default
Source folder
Enter a source folder for the new interface. 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 interface. 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 has been started.
Enclosing type
Select this option to choose a type in which to enclose the new interface. 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 has been started or <blank>
Name
Type a name for the new interface.
<blank>
Access modifiers
Select one or more access modifiers for the new interface.
  • Either public, default, private, or protected (private and protected are only available if you specify an enclosing type)
  • static (only available if you specify an enclosing type)
public
Extended interfaces
Click Add to choose interfaces that the new interface extends.
<blank>

Related tasks

Creating a new Java interface

Related reference

File actions

Copyright IBM Corporation 2000, 2002. All Rights Reserved.