ControlWizard.NameValidator Interface
- public static interface ControlWizard.NameValidator
A class that allows a custom insert wizard to request name validation from the IDE
before returning from the wizard's show method. Use this class to verify
that the user's proposed names for control instance and/or extension are
suitable (from the IDE's perspective) before returning from the show method.
-
Enclosing class
-
ControlWizard
validateExtensionName(String) Method
public Issue
[] validateExtensionName(String
name)
Prompts the IDE to verify whether the proposed extension name is acceptible.
Your wizard is responsible for displaying resulting issues (if any) to the
user.
Parameters
-
name
- The proposed JCX name.
Returns
null
if the name is allowable; otherwise, an
Issue to be displayed in the IDE.
validateInstanceName(String) Method
public Issue
[] validateInstanceName(String
name)
Prompts the IDE to verify whether the proposed instance name is acceptible.
Your wizard is responsible for displaying resulting issues (if any) to the
user.
Parameters
-
name
- The proposed instance name.
Returns
null
if the name is allowable; otherwise, an Issue to be
displayed in the IDE.