]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/events/EventDebugPolicy.java
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / bundles / org.simantics.scenegraph / src / org / simantics / scenegraph / g2d / events / EventDebugPolicy.java
1 /*******************************************************************************
2  * Copyright (c) 2007, 2010 Association for Decentralized Information Management
3  * in Industry THTH ry.
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  *     VTT Technical Research Centre of Finland - initial API and implementation
11  *******************************************************************************/
12 package org.simantics.scenegraph.g2d.events;
13
14 /**
15  * @author Tuukka Lehtonen
16  */
17 public final class EventDebugPolicy {
18
19     public static final boolean ALL_EVENTS                = false;
20
21     public static final boolean KEY_EVENT_ADAPTION        = false | ALL_EVENTS;
22     public static final boolean MOUSE_EVENT_ADAPTION      = false | ALL_EVENTS;
23
24     public static final boolean AWT_KEY_EVENT_ADAPTION    = false | KEY_EVENT_ADAPTION;
25     public static final boolean SWT_KEY_EVENT_ADAPTION    = false | KEY_EVENT_ADAPTION;
26
27     public static final boolean AWT_MOUSE_EVENT_ADAPTION  = false | MOUSE_EVENT_ADAPTION;
28     public static final boolean SWT_MOUSE_EVENT_ADAPTION  = false | MOUSE_EVENT_ADAPTION;
29
30     public static final boolean CANVAS_COMMAND_DELEGATION = false | ALL_EVENTS;
31
32 }