Introduce Field dialog box

From RadPHP XE2 Documentation
Jump to: navigation, search

You can open the Introduce Field dialog from the Refactoring main menu, or by using the Refactoring > Introduce Field command on an expression in RadPHP.

Note: This feature is available for implementation projects only.

Name

Enter a name for the new field.

Visibility

Choose the visibility for the new field. Using the combo box, choose from public, protected, private, internal or internal protected.

Initialize

Choose where to initialize the new field. Using the combo box, choose from Current method, Class constructor(s), or Field declaration.

Static

If applicable, check the Static field.

Replace all occurrences

If applicable, check this field to replace all occurrences of the expression.

Buttons

OK

Creates the new field and closes the dialog box.

Cancel

Discards all changes and closes the dialog box.

Personal tools