-/*******************************************************************************\r
- * Copyright (c) 2007 SAS Institute.\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
- * SAS Institute - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.utils.ui.internal.awt;\r
-\r
-import org.eclipse.swt.SWT;\r
-\r
-class Platform {\r
- private static String platformString = SWT.getPlatform();\r
-\r
- // prevent instantiation\r
- private Platform() {\r
- }\r
- \r
- public static boolean isWin32() {\r
- return "win32".equals(platformString); //$NON-NLS-1$\r
- }\r
- \r
- public static boolean isGtk() {\r
- return "gtk".equals(platformString); //$NON-NLS-1$\r
- }\r
- \r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2007 SAS Institute.
+ * 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:
+ * SAS Institute - initial API and implementation
+ *******************************************************************************/
+package org.simantics.utils.ui.internal.awt;
+
+import org.eclipse.swt.SWT;
+
+class Platform {
+ private static String platformString = SWT.getPlatform();
+
+ // prevent instantiation
+ private Platform() {
+ }
+
+ public static boolean isWin32() {
+ return "win32".equals(platformString); //$NON-NLS-1$
+ }
+
+ public static boolean isGtk() {
+ return "gtk".equals(platformString); //$NON-NLS-1$
+ }
+
+}