protected void addField ( FieldEditor editor ) { if ( fields == null ) { fields = new ArrayList < FieldEditor > ( ) ; } // Set the actual preference name based on the current selection // in the Kie Navigator tree view. The preference name is constructed // from the path to the selected tree node by getPreferenceName(). String name = editor . getPreferenceName ( ) ; editor . setPreferenceName ( getPreferenceName ( name ) ) ; fields . add ( editor ) ; }
Adds the given field editor to this page .