All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.jface.internal.InternalPolicy Maven / Gradle / Ivy

There is a newer version: 3.29.0
Show newest version
/*******************************************************************************
 * Copyright (c) 2007, 2009 IBM Corporation and others.
 * 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:
 *     IBM Corporation - initial API and implementation
 ******************************************************************************/
package org.eclipse.jface.internal;


/**
 * Internal class used for non-API debug flags.
 * 
 * @since 1.0
 */
public class InternalPolicy {

	/**
	 * (NON-API) A flag to indicate whether reentrant viewer calls should always be
	 * logged. If false, only the first reentrant call will cause a log entry.
	 * 
	 * @since 1.0
	 */
	public static boolean DEBUG_LOG_REENTRANT_VIEWER_CALLS = false;

	/**
	 * (NON-API) A flag to indicate whether label provider changed notifications
	 * should always be logged when the underlying control has been disposed. If
	 * false, only the first notification when disposed will cause a log entry.
	 * 
	 * @since 1.3
	 */
	public static boolean DEBUG_LOG_LABEL_PROVIDER_NOTIFICATIONS_WHEN_DISPOSED = false;
	
	/**
	 * (NON-API) A flag to indicate whether the JFace bundle is running inside an OSGi
	 * container
	 * 
	 * @since 1.3
	 */
	public static boolean OSGI_AVAILABLE; // default value is false
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy