if ( isStatic( ) && !DesignChoiceConstants.PARAM_CONTROL_TEXT_BOX.equals( inputParameter.getControlType( ) ) && ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( inputParameter.getDataType( ) ) || DesignChoiceConstants.PARAM_TYPE_STRING.equals( inputParameter.getDataType( ) ) ) ) { defaultValue = removeQuoteString( inputParameter.getDefaultValue( ) ); } else { defaultValue = inputParameter.getDefaultValue( ); }
	protected boolean initDialog( )	{		Assert.isNotNull( inputParameter );		nameEditor.setText( inputParameter.getName( ) );		if ( inputParameter.getDisplayName( ) != null )		{			promptTextEditor.setText( inputParameter.getDisplayName( ) );		}		if ( isStatic( )				&& !DesignChoiceConstants.PARAM_CONTROL_TEXT_BOX.equals( inputParameter.getControlType( ) )				&& ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( inputParameter.getDataType( ) ) || DesignChoiceConstants.PARAM_TYPE_STRING.equals( inputParameter.getDataType( ) ) ) )		{			defaultValue = removeQuoteString( inputParameter.getDefaultValue( ) );		}		else		{			defaultValue = inputParameter.getDefaultValue( );		}		helpTextEditor.setText( UIUtil.convertToGUIString( inputParameter.getHelpText( ) ) );		if ( inputParameter.getValueType( )				.equals( DesignChoiceConstants.PARAM_VALUE_TYPE_STATIC ) )		{			staticRadio.setSelection( true );			for ( Iterator iter = inputParameter.getPropertyHandle( ScalarParameterHandle.SELECTION_LIST_PROP )					.iterator( ); iter.hasNext( ); )			{				SelectionChoiceHandle choiceHandle = (SelectionChoiceHandle) iter.next( );				choiceList.add( choiceHandle.getStructure( ) );			}		}		else		{			dynamicRadio.setSelection( true );		}		if ( inputParameter.getPropertyHandle( ScalarParameterHandle.LIST_LIMIT_PROP )				.isSet( ) )		{			listLimit.setText( String.valueOf( inputParameter.getListlimit( ) ) );		}		changeDataType( );		dataTypeChooser.setText( dataType.findChoice( inputParameter.getDataType( ) )				.getDisplayName( ) );		switchParamterType( );		loading = false;		return true;	}