public void update ( ) { ProjectProperties properties = m_projectFile . getProjectProperties ( ) ; char decimalSeparator = properties . getDecimalSeparator ( ) ; char thousandsSeparator = properties . getThousandsSeparator ( ) ; m_unitsDecimalFormat . applyPattern ( "#.##" , null , decimalSeparator , thousandsSeparator ) ; m_decimalFormat . applyPattern ( "0.00#" , null , decimalSeparator , thousandsSeparator ) ; m_durationDecimalFormat . applyPattern ( "#.##" , null , decimalSeparator , thousandsSeparator ) ; m_percentageDecimalFormat . applyPattern ( "##0.##" , null , decimalSeparator , thousandsSeparator ) ; updateCurrencyFormats ( properties , decimalSeparator , thousandsSeparator ) ; updateDateTimeFormats ( properties ) ; }
Called to update the cached formats when something changes .