Skip to content

Package: EMFFormsCellStyleConstants

EMFFormsCellStyleConstants

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2015 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: * Eugen - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emfforms.spi.spreadsheet.core.converter;
15:
16: /**
17: * This defines constants for retrieving predefines cell styles from the ViewModelContext.
18: *
19: * @author Eugen Neufeld
20: *
21: */
22: public final class EMFFormsCellStyleConstants {
23:         private EMFFormsCellStyleConstants() {
24:         }
25:
26:         /**
27:          * Constant for a cell style that locks the cell.
28:          */
29:         public static final String LOCKED = "CellStyle_Locked"; //$NON-NLS-1$
30:         /**
31:          * Constant for a cell style that locks the cell and wraps the text.
32:          */
33:         public static final String LOCKED_AND_WRAPPED = "CellStyle_LockedWrapped"; //$NON-NLS-1$
34:         /**
35:          * Constant for a cell style that sets the cell format to text.
36:          */
37:         public static final String TEXT = "CellStyle_Text"; //$NON-NLS-1$
38:         /**
39:          * Constant for a cell style that sets the cell format to date.
40:          */
41:         public static final String DATE = "CellStyle_Date"; //$NON-NLS-1$
42: }