1 /*******************************************************************************
\r
2 * Copyright (c) 2007, 2012 Association for Decentralized Information Management in
\r
4 * All rights reserved. This program and the accompanying materials
\r
5 * are made available under the terms of the Eclipse Public License v1.0
\r
6 * which accompanies this distribution, and is available at
\r
7 * http://www.eclipse.org/legal/epl-v10.html
\r
10 * VTT Technical Research Centre of Finland - initial API and implementation
\r
11 *******************************************************************************/
\r
12 package org.simantics.sysdyn.ui.properties.widgets;
\r
14 import org.simantics.browsing.ui.Column;
\r
15 import org.simantics.browsing.ui.Column.Align;
\r
17 public class ColumnKeys {
\r
19 public static final String ENUMERATION = "Enumeration";
\r
20 public static final String INDEXES = "Indexes";
\r
21 public static final String SHOW_IN_CHARTS = "ShowInCharts";
\r
22 public static final String REPLACED_WITH = "Replaced with";
\r
23 public static final String MODULE_PARAMETER = "Parameter in Module";
\r
24 public static final String VALUE = "Value";
\r
26 public static String[] ENUMERATION_COLUMNS_KEYS = { ENUMERATION, INDEXES };
\r
27 public static Column[] ENUMERATION_TABLE_COLUMNS = new Column[] {
\r
28 new Column(ENUMERATION, Align.LEFT, 100, "Enumeration", false),
\r
29 new Column(INDEXES, Align.LEFT, 100, "Indexes", true),
\r
33 public static String[] ENUMERATION_INDEX_COLUMNS_KEYS = { ENUMERATION, SHOW_IN_CHARTS };
\r
34 public static Column[] ENUMERATION_INDEX_TABLE_COLUMNS = new Column[] {
\r
35 new Column(ENUMERATION, Align.LEFT, 100, "Enumeration", true),
\r
36 new Column(SHOW_IN_CHARTS, Align.LEFT, 20, "Show in charts", false),
\r
39 public static String[] ENUMERATION_REDECLARATION_KEYS = { ENUMERATION, REPLACED_WITH };
\r
40 public static Column[] ENUMERATION_REDECLARATION_COLUMNS = new Column[] {
\r
41 new Column(ENUMERATION, Align.LEFT, 200, "Enumeration in module", false),
\r
42 new Column(REPLACED_WITH, Align.LEFT, 200, "Replaced with", true),
\r
45 public static String[] MODULE_PARAMETER_KEYS = { MODULE_PARAMETER, VALUE };
\r
46 public static Column[] MODULE_PARAMETER_COLUMNS = new Column[] {
\r
47 new Column(MODULE_PARAMETER, Align.LEFT, 200, MODULE_PARAMETER, false),
\r
48 new Column(VALUE, Align.LEFT, 200, VALUE, true),
\r