public JPanel getEditor ( PresentsContext ctx , Field field ) { if ( field . getType ( ) . equals ( Boolean . TYPE ) ) { return new BooleanFieldEditor ( ctx , field , this ) ; } else { return new AsStringFieldEditor ( ctx , field , this ) ; } }
Returns the editor panel for the specified field .