Home | History | Annotate | Download | only in core
      1 /*******************************************************************************
      2  * Copyright (c) 2011 Google, Inc.
      3  * All rights reserved. This program and the accompanying materials
      4  * are made available under the terms of the Eclipse Public License v1.0
      5  * which accompanies this distribution, and is available at
      6  * http://www.eclipse.org/legal/epl-v10.html
      7  *
      8  * Contributors:
      9  *    Google, Inc. - initial API and implementation
     10  *******************************************************************************/
     11 package org.eclipse.wb.internal.core;
     12 
     13 import org.eclipse.ui.plugin.AbstractUIPlugin;
     14 
     15 /**
     16  * Helper for environment state access.
     17  *
     18  * @author scheglov_ke
     19  * @coverage core
     20  */
     21 public final class EnvironmentUtils extends AbstractUIPlugin {
     22   ////////////////////////////////////////////////////////////////////////////
     23   //
     24   // Operating systems
     25   //
     26   ////////////////////////////////////////////////////////////////////////////
     27   /** True if this is running on Windows */
     28   public static boolean IS_WINDOWS;
     29   /** True if this is running on Mac */
     30   public static boolean IS_MAC;
     31   /** True if this is running on Linux */
     32   public static boolean IS_LINUX;
     33 }
     34