// Path: org.eclipse.angularjs.ui/src/org/eclipse/angularjs/internal/ui/AngularUIPlugin.java
// public class AngularUIPlugin extends AbstractUIPlugin {
// 
// 	// The plug-in ID
// 	public static final String PLUGIN_ID = "org.eclipse.angularjs.ui"; //$NON-NLS-1$
// 
// 	// The shared instance
// 	private static AngularUIPlugin plugin;
// 
// 	/**
// 	 * The constructor
// 	 */
// 	public AngularUIPlugin() {
// 	}
// 
// 	/*
// 	 * (non-Javadoc)
// 	 * 
// 	 * @see
// 	 * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
// 	 * )
// 	 */
// 	public void start(BundleContext context) throws Exception {
// 		super.start(context);
// 		plugin = this;
// 	}
// 
// 	/*
// 	 * (non-Javadoc)
// 	 * 
// 	 * @see
// 	 * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
// 	 * )
// 	 */
// 	public void stop(BundleContext context) throws Exception {
// 		plugin = null;
// 		super.stop(context);
// 	}
// 
// 	/**
// 	 * Returns the shared instance
// 	 * 
// 	 * @return the shared instance
// 	 */
// 	public static AngularUIPlugin getDefault() {
// 		return plugin;
// 	}
// 
// 	public static IWorkbenchWindow getActiveWorkbenchWindow() {
// 		return getDefault().getWorkbench().getActiveWorkbenchWindow();
// 	}
// 
// 	public static Shell getActiveWorkbenchShell() {
// 		IWorkbenchWindow window = getActiveWorkbenchWindow();
// 		if (window != null) {
// 			return window.getShell();
// 		}
// 		return null;
// 	}
// 
// 	/**
// 	 * @return Returns the active workbench window's currrent page.
// 	 */
// 	public static IWorkbenchPage getActivePage() {
// 		return getActiveWorkbenchWindow().getActivePage();
// 	}
// 
// }
// 
// Path: org.eclipse.angularjs.ui/src/org/eclipse/angularjs/internal/ui/style/IStyleConstantsForAngular.java
// public interface IStyleConstantsForAngular {
// 
// 	public static final String ANGULAR_EXPRESSION_BORDER = "angularExpressionBorder";
// 	public static final String ANGULAR_EXPRESSION = "angularExpression";
// 	public static final String ANGULAR_DIRECTIVE_NAME = "directiveName";
// 	public static final String ANGULAR_DIRECTIVE_PARAMETER_NAME = "directiveParameterName";
// 
// }


import org.eclipse.angularjs.internal.ui.AngularUIPlugin;
import org.eclipse.angularjs.internal.ui.style.IStyleConstantsForAngular;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.resource.ColorRegistry;
import org.eclipse.ui.PlatformUI;
import org.eclipse.wst.sse.ui.internal.preferences.ui.ColorHelper;
/**
 *  Copyright (c) 2013-2016 Angelo ZERR.
 *  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:
 *  Angelo Zerr <angelo.zerr@gmail.com> - initial API and implementation
 */
package org.eclipse.angularjs.internal.ui.preferences;


/**
 * Angular UI preferences constants.
 *
 */
public class PreferenceConstants {

	/**
	 * Returns the Angular UI preferences store.
	 * 
	 * @return the Angular UI preferences store.
	 */
	public static IPreferenceStore getPreferenceStore() {
// Path: org.eclipse.angularjs.ui/src/org/eclipse/angularjs/internal/ui/AngularUIPlugin.java
// public class AngularUIPlugin extends AbstractUIPlugin {
// 
// 	// The plug-in ID
// 	public static final String PLUGIN_ID = "org.eclipse.angularjs.ui"; //$NON-NLS-1$
// 
// 	// The shared instance
// 	private static AngularUIPlugin plugin;
// 
// 	/**
// 	 * The constructor
// 	 */
// 	public AngularUIPlugin() {
// 	}
// 
// 	/*
// 	 * (non-Javadoc)
// 	 * 
// 	 * @see
// 	 * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
// 	 * )
// 	 */
// 	public void start(BundleContext context) throws Exception {
// 		super.start(context);
// 		plugin = this;
// 	}
// 
// 	/*
// 	 * (non-Javadoc)
// 	 * 
// 	 * @see
// 	 * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
// 	 * )
// 	 */
// 	public void stop(BundleContext context) throws Exception {
// 		plugin = null;
// 		super.stop(context);
// 	}
// 
// 	/**
// 	 * Returns the shared instance
// 	 * 
// 	 * @return the shared instance
// 	 */
// 	public static AngularUIPlugin getDefault() {
// 		return plugin;
// 	}
// 
// 	public static IWorkbenchWindow getActiveWorkbenchWindow() {
// 		return getDefault().getWorkbench().getActiveWorkbenchWindow();
// 	}
// 
// 	public static Shell getActiveWorkbenchShell() {
// 		IWorkbenchWindow window = getActiveWorkbenchWindow();
// 		if (window != null) {
// 			return window.getShell();
// 		}
// 		return null;
// 	}
// 
// 	/**
// 	 * @return Returns the active workbench window's currrent page.
// 	 */
// 	public static IWorkbenchPage getActivePage() {
// 		return getActiveWorkbenchWindow().getActivePage();
// 	}
// 
// }
// 
// Path: org.eclipse.angularjs.ui/src/org/eclipse/angularjs/internal/ui/style/IStyleConstantsForAngular.java
// public interface IStyleConstantsForAngular {
// 
// 	public static final String ANGULAR_EXPRESSION_BORDER = "angularExpressionBorder";
// 	public static final String ANGULAR_EXPRESSION = "angularExpression";
// 	public static final String ANGULAR_DIRECTIVE_NAME = "directiveName";
// 	public static final String ANGULAR_DIRECTIVE_PARAMETER_NAME = "directiveParameterName";
// 
// }


// Path: org.eclipse.angularjs.ui/src/org/eclipse/angularjs/internal/ui/preferences/PreferenceConstants.java
import org.eclipse.angularjs.internal.ui.AngularUIPlugin;
import org.eclipse.angularjs.internal.ui.style.IStyleConstantsForAngular;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.resource.ColorRegistry;
import org.eclipse.ui.PlatformUI;
import org.eclipse.wst.sse.ui.internal.preferences.ui.ColorHelper;

/**
 *  Copyright (c) 2013-2016 Angelo ZERR.
 *  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:
 *  Angelo Zerr <angelo.zerr@gmail.com> - initial API and implementation
 */
package org.eclipse.angularjs.internal.ui.preferences;


/**
 * Angular UI preferences constants.
 *
 */
public class PreferenceConstants {

	/**
	 * Returns the Angular UI preferences store.
	 * 
	 * @return the Angular UI preferences store.
	 */
	public static IPreferenceStore getPreferenceStore() {
		return AngularUIPlugin.getDefault().getPreferenceStore();