FormatValue formatValueToSet = new StringFormatValue( ); formatValueToSet.setPattern( format ); rule.setProperty( HighlightRule.STRING_FORMAT_MEMBER, formatValueToSet );
Object value = rule.getProperty( null, HighlightRule.STRING_FORMAT_MEMBER ); if ( value == null ) { FormatValue formatValueToSet = new StringFormatValue( ); formatValueToSet.setPattern( format ); rule.setProperty( HighlightRule.STRING_FORMAT_MEMBER, formatValueToSet ); } else { assert value instanceof StringFormatValue;
	public void setStringFormat( String format )	{		FormatValue formatValueToSet = new StringFormatValue( );		formatValueToSet.setPattern( format );		rule.setProperty( HighlightRule.STRING_FORMAT_MEMBER, formatValueToSet );	}