Skip to content

Package: EMFFormsSWTConstants

EMFFormsSWTConstants

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2016 EclipseSource Muenchen GmbH and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Johannes Faltermeier - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emfforms.swt.core;
15:
16: /**
17: * Constants which may be used by SWT related renderers.
18: *
19: * @author Johannes Faltermeier
20: * @since 1.9
21: *
22: */
23: public final class EMFFormsSWTConstants {
24:
25:         private EMFFormsSWTConstants() {
26:                 // empty
27:         }
28:
29:         /**
30:          * Key used to pass a value indicating if a renderer should setup databinding using on modify events or on focus
31:          * out event.
32:          */
33:         public static final String USE_ON_MODIFY_DATABINDING_KEY = "useOnModifyDatabinding"; //$NON-NLS-1$
34:
35:         /**
36:          * Value for the {@link #USE_ON_MODIFY_DATABINDING_KEY} indicating the modify events should be used.
37:          */
38:         public static final String USE_ON_MODIFY_DATABINDING_VALUE = "true"; //$NON-NLS-1$
39:
40: }