comparison org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/layout/GridData.d @ 48:ddbfe84d86df

[swt lin] versioned imports
author Frank Benoit <benoit@tionex.de>
date Fri, 27 Mar 2009 12:05:20 +0100
parents f713da8bc051
children c01d033c633a
comparison
equal deleted inserted replaced
47:65761bc28ab2 48:ddbfe84d86df
14 14
15 import org.eclipse.swt.SWT; 15 import org.eclipse.swt.SWT;
16 import org.eclipse.swt.graphics.Point; 16 import org.eclipse.swt.graphics.Point;
17 import org.eclipse.swt.widgets.Control; 17 import org.eclipse.swt.widgets.Control;
18 18
19 import java.lang.all;
20 version(Tango){
19 import tango.util.Convert; 21 import tango.util.Convert;
20 import java.lang.all; 22 } else { // Phobos
23 }
21 24
22 /** 25 /**
23 * <code>GridData</code> is the layout data object associated with 26 * <code>GridData</code> is the layout data object associated with
24 * <code>GridLayout</code>. To set a <code>GridData</code> object into a 27 * <code>GridLayout</code>. To set a <code>GridData</code> object into a
25 * control, you use the <code>Control.setLayoutData(Object)</code> method. 28 * control, you use the <code>Control.setLayoutData(Object)</code> method.