]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/InputValidators.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.browsing.ui.swt / src / org / simantics / browsing / ui / swt / InputValidators.java
index 2edac9b14d131433ef453bee314def04781f2570..9a63b9224fe42639ff9dc94c21e9f7fdbe6279a5 100644 (file)
@@ -1,32 +1,32 @@
-/*******************************************************************************\r
- * Copyright (c) 2012 Association for Decentralized Information Management in\r
- * Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.browsing.ui.swt;\r
-\r
-import org.eclipse.jface.dialogs.IInputValidator;\r
-import org.simantics.db.layer0.variable.InputValidator;\r
-\r
-final public class InputValidators {\r
-       \r
-       public static IInputValidator string(final InputValidator validator) {\r
-\r
-               return new IInputValidator() {\r
-                       \r
-                       @Override\r
-                       public String isValid(String newText) {\r
-                               return validator.isValid(newText);\r
-                       }\r
-                       \r
-               };\r
-               \r
-       }\r
-\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2012 Association for Decentralized Information Management in
+ * Industry THTH ry.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     VTT Technical Research Centre of Finland - initial API and implementation
+ *******************************************************************************/
+package org.simantics.browsing.ui.swt;
+
+import org.eclipse.jface.dialogs.IInputValidator;
+import org.simantics.db.layer0.variable.InputValidator;
+
+final public class InputValidators {
+       
+       public static IInputValidator string(final InputValidator validator) {
+
+               return new IInputValidator() {
+                       
+                       @Override
+                       public String isValid(String newText) {
+                               return validator.isValid(newText);
+                       }
+                       
+               };
+               
+       }
+
+}