Change-Id: I6e8b7e577e64afec69e260b0a25ed3c75d17da17
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
* Contributors:
* IBM Corporation - initial API and implementation
******************************************************************************/
+/*
+ * 2016-10-11 HyunJong Park paulhj.park@samsung.com
+ * Modification by S-Core Co., Ltd.
+ * 1. change the value of text to 10000 when input a number greater than 10000
+ */
package org.eclipse.jface.util;
}
try {
int width = Integer.parseInt(text.getText());
+ /* Tizen */
+ if (width > 10000) {
+ width = 10000;
+ text.setText(Integer.toString(width));
+ text.redraw();
+ }
+ /* ===== */
columnObject.width = width;
} catch (NumberFormatException ex) {
// ignore for now