view dwtx/jface/internal/InternalPolicy.d @ 104:04b47443bb01

Reworked the collection uses to make use of a wrapper collection that is compatible to the Java Collections. These new wrappers now use the tango.util.containers instead of the tango.util.collections.
author Frank Benoit <benoit@tionex.de>
date Thu, 07 Aug 2008 15:01:33 +0200
parents 1a6747be662d
children
line wrap: on
line source

/*******************************************************************************
 * Copyright (c) 2007 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
 * Port to the D programming language:
 *     Frank Benoit <benoit@tionex.de>
 ******************************************************************************/
module dwtx.jface.internal.InternalPolicy;

import dwtx.dwtxhelper.Collection;

/**
 * Internal class used for non-API debug flags.
 *
 * @since 3.3
 */
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 3.3
     */
    public static bool DEBUG_LOG_REENTRANT_VIEWER_CALLS = false;

    /**
     * (NON-API) Instead of logging current conflicts they can be
     * held here.  If there is a problem, they can be reported then.
     */
    public static Map currentConflicts = null;
}