summaryrefslogtreecommitdiff
path: root/propertysheet/src/org/eclipse/wb/internal/core/EnvironmentUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'propertysheet/src/org/eclipse/wb/internal/core/EnvironmentUtils.java')
-rw-r--r--propertysheet/src/org/eclipse/wb/internal/core/EnvironmentUtils.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/propertysheet/src/org/eclipse/wb/internal/core/EnvironmentUtils.java b/propertysheet/src/org/eclipse/wb/internal/core/EnvironmentUtils.java
new file mode 100644
index 0000000..cedbbc0
--- /dev/null
+++ b/propertysheet/src/org/eclipse/wb/internal/core/EnvironmentUtils.java
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Google, Inc.
+ * 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:
+ * Google, Inc. - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.wb.internal.core;
+
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+
+/**
+ * Helper for environment state access.
+ *
+ * @author scheglov_ke
+ * @coverage core
+ */
+public final class EnvironmentUtils extends AbstractUIPlugin {
+ ////////////////////////////////////////////////////////////////////////////
+ //
+ // Operating systems
+ //
+ ////////////////////////////////////////////////////////////////////////////
+ /** True if this is running on Windows */
+ public static boolean IS_WINDOWS;
+ /** True if this is running on Mac */
+ public static boolean IS_MAC;
+ /** True if this is running on Linux */
+ public static boolean IS_LINUX;
+}