Commit 3a32e2d3 authored by Hernan Ponce de Leon's avatar Hernan Ponce de Leon

GREEN

Issue-Ref: 3470
Signed-off-by: Hernan Ponce de Leon's avatarponce <ponce@fortiss.org>
parent 0b3602ae
......@@ -2,7 +2,7 @@ AbstractDecoratedStyledTextCellDatabindingEditingSupport.java a0b06a9bd98ce28da3
AbstractDecoratedTextCellDatabindingEditingSupport.java d82943c0d4000b164beb45b00c64665cdcab2352 GREEN
AbstractStyledTextCellDatabindingEditingSupport.java 6ddea6d5cb18847f202043d9bb2bd8a55ae27a12 GREEN
AbstractTextCellDatabindingEditingSupport.java 8728e78f399a63c11f020fa447c002f42d735771 GREEN
FloatValidator.java 3173a438f0dc773331be9c7d57478984e1fd52b6 GREEN
FloatValidator.java 1e7f4077ce63ea23df23d1fe03e458428cd015af GREEN
IntValidator.java 934eee306191839be6d319432a1a238ff38c3f66 GREEN
NumberPositiveValidator.java c45d4433c260e1e7bd4117954221dacb6d2df225 GREEN
NumberPositiveZeroValidator.java 8ba0dfdcc8b8ad2154f2fb3e6217ff585e59d6e5 GREEN
......
......@@ -15,7 +15,7 @@
+--------------------------------------------------------------------------*/
package org.fortiss.tooling.kernel.ui.databinding;
import java.text.NumberFormat;
import static java.text.NumberFormat.getNumberInstance;
/**
* Validator to check if a number is an floating point number.
......@@ -29,7 +29,7 @@ public class FloatValidator extends NumberValidator {
/** Constructor. */
private FloatValidator() {
super(NumberFormat.getNumberInstance());
super(getNumberInstance());
}
/** {@inheritDoc} */
......
......@@ -2,15 +2,15 @@ ConstraintUIBases.java 3676a600e0866091db9798763c6eee97eec5b55b GREEN
ContextMenuSubMenuContributorBase.java 6275d96fe8690d9d4744bcbaef3c7d14ba8e30ff GREEN
DialogMessageHandler.java 8714da09a777c8557de0a5c48ff68c340f9fa91d GREEN
EObjectActionBase.java 4ef9f8be59e64d4838acc9e268d418ba5d94fa1a GREEN
EReferenceListPropertySectionBase.java 7390dd7bfdc979e8ff0c5c30c67ab7b6c9d70c92 YELLOW
EReferencePropertySectionBase.java 0548da6778516003257f59d0b4c2b60d458be3b6 YELLOW
EReferenceListPropertySectionBase.java 7390dd7bfdc979e8ff0c5c30c67ab7b6c9d70c92 GREEN
EReferencePropertySectionBase.java 0548da6778516003257f59d0b4c2b60d458be3b6 GREEN
EditorBase.java 9c09fff92945256bb8680992ae7bb2c78f47b150 GREEN
IListPropertySection.java 8bb00fe7959583e794ff9437b7a77404c9a9e70f YELLOW
IListPropertySection.java 8bb00fe7959583e794ff9437b7a77404c9a9e70f GREEN
ModelEditorBindingBase.java 4c5ac569c0b6e7678fc8191096b26dfd09fdcb98 GREEN
ModelElementHandlerBase.java 384727748f125c9d43f19d9c0eba4ba1be5a7a26 GREEN
MultiEObjectActionBase.java 9e237d8ea640c4194e4877af4a9cfce88698e543 GREEN
NamedCommentedModelElementHandlerBase.java 681b98b50b362f01abb7a36f108f4f11b9e51829 GREEN
PropertySectionBase.java 0a39bd8587eeeeb72693b57e80ae8951c3e45c22 YELLOW
PropertySectionBase.java 02836dd112912771d99fe8845e0774e29381f724 GREEN
TutorialStepUIAtomicBase.java cea2a158158b476de2108d2309afcf47f217b6d9 GREEN
TutorialStepUIAtomicWithWhitelistBase.java a9788ae514f62d27169c737ef59fb583234b5d43 GREEN
TutorialStepUICompositeBase.java 8225210eacb5b88de47d78280c5819f572f00ffa GREEN
......
......@@ -15,6 +15,7 @@
+--------------------------------------------------------------------------*/
package org.fortiss.tooling.kernel.ui.extension.base;
import static com.ibm.icu.text.NumberFormat.getNumberInstance;
import static org.eclipse.core.databinding.conversion.NumberToStringConverter.fromBigDecimal;
import static org.eclipse.core.databinding.conversion.NumberToStringConverter.fromDouble;
import static org.eclipse.core.databinding.conversion.NumberToStringConverter.fromInteger;
......@@ -379,7 +380,7 @@ public abstract class PropertySectionBase extends AbstractPropertySection {
protected void bindBigDecimalValue(Control text, IObservableValue<?> observedValue,
IValidator numberValidator) {
NumberFormat nf = NumberFormat.getNumberInstance();
NumberFormat nf = getNumberInstance();
bindBigDecimalValue(text, observedValue, numberValidator, nf);
}
......@@ -390,7 +391,7 @@ public abstract class PropertySectionBase extends AbstractPropertySection {
protected void bindBigDecimalValue(Control text, IObservableValue<?> observedValue,
IValidator numberValidator, int maxFractionDigits) {
NumberFormat nf = NumberFormat.getNumberInstance();
NumberFormat nf = getNumberInstance();
nf.setMaximumFractionDigits(maxFractionDigits);
bindBigDecimalValue(text, observedValue, numberValidator, nf);
}
......@@ -429,7 +430,7 @@ public abstract class PropertySectionBase extends AbstractPropertySection {
protected void bindDoubleValue(Control text, IObservableValue<?> observedValue,
IValidator numberValidator, int maxFractionDigits) {
NumberFormat nf = NumberFormat.getNumberInstance();
NumberFormat nf = getNumberInstance();
nf.setMaximumFractionDigits(maxFractionDigits);
performComplexTextBinding(dbc, text, observedValue, fromDouble(nf, false),
toDouble(nf, false), FLOAT_VALIDATOR, numberValidator);
......
IdLabeledPropertySection.java 8a360874918ca84a319ae7668011a19cea574148 GREEN
NamedCommentedPropertySection.java d4fab618eca361f132b1baafecd66ad8f7919dfa YELLOW
NamedCommentedPropertySection.java d4fab618eca361f132b1baafecd66ad8f7919dfa GREEN
PropertiesAdapterFactory.java edcf34766a60f21c9ba22a1ba73aa487c3d9a946 GREEN
......@@ -9,4 +9,4 @@ MarkerViewPart.java cbb650271b6877af205421b7cb11f930440a7ef9 GREEN
NavigatorNewMenu.java a35e391960d1dacbe7f77982e53e1891e9382d5a GREEN
NavigatorTreeContentComparator.java d9f1354cfdff78b104b28887d2397e5ca0e9755b GREEN
NavigatorTreeContentProvider.java 1fbe97bebf3805cc1af190cecd784fc1cfd12306 GREEN
NavigatorViewPart.java 79872dfaab92f20e8767cff84b66dc9e173601d1 YELLOW
NavigatorViewPart.java 79872dfaab92f20e8767cff84b66dc9e173601d1 GREEN
EMFTypeMap.java b6c39465568f0edbfbd5c90400a4f519c042d423 YELLOW
EMFTypeToTypeMap.java 294abe02e7af4ad751d8760b6c6286a3c1f6d73f YELLOW
EMFTypeToTypeSetMap.java 47ab03966258e7512fa990eb5d420f5787dff3eb YELLOW
TypeSet.java e18e66236b223eaf4c22037459779b421a0c2703 YELLOW
EMFTypeMap.java b6c39465568f0edbfbd5c90400a4f519c042d423 GREEN
EMFTypeToTypeMap.java 294abe02e7af4ad751d8760b6c6286a3c1f6d73f GREEN
EMFTypeToTypeSetMap.java 47ab03966258e7512fa990eb5d420f5787dff3eb GREEN
TypeSet.java e18e66236b223eaf4c22037459779b421a0c2703 GREEN
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment