Révision 1438
tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/editors/ColRowInfosLabelProvider.java (revision 1438) | ||
---|---|---|
69 | 69 |
/** The coordpattern. */ |
70 | 70 |
DecimalFormat coordpattern = new DecimalFormat("0.00"); //$NON-NLS-1$ |
71 | 71 |
|
72 |
|
|
73 |
int qlength = CAUIMessages.q.length()+2; |
|
72 | 74 |
/** |
73 | 75 |
* Instantiates a new col row infos label provider. |
74 | 76 |
* |
... | ... | |
103 | 105 |
String pattern = CAPreferences.getInstance().getString(CAPreferences.CONTRIB_DISPLAY_FORMAT); |
104 | 106 |
if (pattern != null && !pattern.trim().equals("")) //$NON-NLS-1$ |
105 | 107 |
contribpattern = new DecimalFormat(pattern); |
106 |
} else if (names[i].startsWith(CAUIMessages.q) && names[i].length() == 3) {
|
|
108 |
} else if (names[i].startsWith(CAUIMessages.q) && names[i].length() == qlength) {
|
|
107 | 109 |
String pattern = CAPreferences.getInstance().getString(CAPreferences.QUALITY_DISPLAY_FORMAT); |
108 | 110 |
if (pattern != null && !pattern.trim().equals("")) //$NON-NLS-1$ |
109 | 111 |
qualitypattern = new DecimalFormat(pattern); |
Formats disponibles : Unified diff