6
|
1 /*******************************************************************************
|
|
2 * Copyright (c) 2007 IBM Corporation and others.
|
|
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 * IBM Corporation - initial API and implementation
|
|
10 * Port to the D programming language:
|
|
11 * Frank Benoit <benoit@tionex.de>
|
|
12 ******************************************************************************/
|
|
13 module dwtx.jface.internal.InternalPolicy;
|
|
14
|
|
15 import tango.util.collection.model.Map;
|
|
16
|
|
17 /**
|
|
18 * Internal class used for non-API debug flags.
|
|
19 *
|
|
20 * @since 3.3
|
|
21 */
|
|
22 public class InternalPolicy {
|
|
23
|
|
24 /**
|
|
25 * (NON-API) A flag to indicate whether reentrant viewer calls should always be
|
|
26 * logged. If false, only the first reentrant call will cause a log entry.
|
|
27 *
|
|
28 * @since 3.3
|
|
29 */
|
|
30 public static bool DEBUG_LOG_REENTRANT_VIEWER_CALLS = false;
|
|
31
|
|
32 /**
|
|
33 * (NON-API) Instead of logging current conflicts they can be
|
|
34 * held here. If there is a problem, they can be reported then.
|
|
35 */
|
|
36 public static Map!(Object/+???+/,Object/+???+/) currentConflicts = null;
|
|
37 }
|