Mercurial > projects > dwt-addons
comparison dwtx/jface/viewers/ColumnLayoutData.d @ 10:b6c35faf97c8
Viewers
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 31 Mar 2008 00:47:19 +0200 |
parents | |
children | 7ffeace6c47f |
comparison
equal
deleted
inserted
replaced
9:6c14e54dfc11 | 10:b6c35faf97c8 |
---|---|
1 /******************************************************************************* | |
2 * Copyright (c) 2000, 2006 IBM Corporation and others. | |
3 * All rights reserved. This program and the accompanying materials | |
4 * are made available under the terms of the Eclipse Public License v1.0 | |
5 * which accompanies this distribution, and is available at | |
6 * http://www.eclipse.org/legal/epl-v10.html | |
7 * | |
8 * Contributors: | |
9 * IBM Corporation - initial API and implementation | |
10 * Port to the D programming language: | |
11 * Frank Benoit <benoit@tionex.de> | |
12 *******************************************************************************/ | |
13 module dwtx.jface.viewers.ColumnLayoutData; | |
14 | |
15 /** | |
16 * An abstract column layout data describing the information needed | |
17 * (by <code>TableLayout</code>) to properly lay out a table. | |
18 * <p> | |
19 * This class is not intended to be subclassed outside the framework. | |
20 * </p> | |
21 */ | |
22 public abstract class ColumnLayoutData { | |
23 | |
24 /** | |
25 * Indicates whether the column is resizable. | |
26 */ | |
27 public bool resizable; | |
28 | |
29 /** | |
30 * Creates a new column layout data object. | |
31 * | |
32 * @param resizable <code>true</code> if the column is resizable, and <code>false</code> if not | |
33 */ | |
34 protected this(bool resizable) { | |
35 this.resizable = resizable; | |
36 } | |
37 } |