def.setType( EXPRESSION_TYPE );
def.setType( EXPRESSION_TYPE ); def.setDefault( UIUtil.convertToModelString( defaultValueEditor.getText( ), false ) );
	protected void okPressed( )	{		UserPropertyDefn def = new UserPropertyDefn( );		def.setName( nameEditor.getText( ).trim( ) );		switch ( style )		{			case USER_PROPERTY :				def.setType( PROPERTY_TYPES[typeChooser.getSelectionIndex( )] );				break;			case NAMED_EXPRESSION :				def.setType( EXPRESSION_TYPE );								break;		}		setResult( def );		super.okPressed( );	}