Commit | Line | Data |
---|---|---|
be222f56 | 1 | /******************************************************************************* |
c8422608 | 2 | * Copyright (c) 2010, 2012 Ericsson |
be222f56 PT |
3 | * |
4 | * All rights reserved. This program and the accompanying materials are | |
5 | * made available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
8 | * | |
9 | * Contributors: | |
10 | * Matthew Khouzam - Extracted from TmfEventsView | |
11 | ******************************************************************************/ | |
12 | ||
13 | package org.eclipse.linuxtools.tmf.ui.widgets.virtualtable; | |
baafe54c | 14 | |
be222f56 PT |
15 | /** |
16 | * ColumnData | |
be222f56 | 17 | * |
baafe54c AM |
18 | * @author Matthew Khouzam |
19 | * @deprecated Use {@link org.eclipse.linuxtools.tmf.ui.viewers.events.columns.TmfEventTableColumn} instead. | |
be222f56 | 20 | */ |
baafe54c | 21 | @Deprecated |
be222f56 PT |
22 | public class ColumnData { |
23 | /** | |
24 | * The title of the column | |
25 | */ | |
26 | public final String header; | |
27 | /** | |
28 | * the width of the column in pixels | |
29 | */ | |
30 | public final int width; | |
31 | /** | |
32 | * the alignment of the column | |
33 | */ | |
34 | public final int alignment; | |
35 | ||
36 | /** | |
37 | * Constructor | |
38 | * @param h header (title) | |
39 | * @param w width | |
40 | * @param a alignment | |
41 | */ | |
42 | public ColumnData(String h, int w, int a) { | |
43 | header = h; | |
44 | width = w; | |
45 | alignment = a; | |
46 | } | |
47 | ||
48 | } |