comparison dwt/custom/ControlEditor.d @ 259:c0d810de7093

Update SWT 3.4M7 to 3.4
author Frank Benoit <benoit@tionex.de>
date Sun, 29 Jun 2008 14:33:38 +0200
parents 52b32f5cb1e0
children 96b14a31d9b3
comparison
equal deleted inserted replaced
257:cc1d3de0e80b 259:c0d810de7093
1 /******************************************************************************* 1 /*******************************************************************************
2 * Copyright (c) 2000, 2007 IBM Corporation and others. 2 * Copyright (c) 2000, 2008 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials 3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0 4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at 5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html 6 * http://www.eclipse.org/legal/epl-v10.html
7 * 7 *
64 * Point size = button.computeSize(DWT.DEFAULT, DWT.DEFAULT); 64 * Point size = button.computeSize(DWT.DEFAULT, DWT.DEFAULT);
65 * editor.minimumWidth = size.x; 65 * editor.minimumWidth = size.x;
66 * editor.minimumHeight = size.y; 66 * editor.minimumHeight = size.y;
67 * editor.setEditor (button); 67 * editor.setEditor (button);
68 * </pre></code> 68 * </pre></code>
69 *
70 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
69 */ 71 */
70 public class ControlEditor { 72 public class ControlEditor {
71 73
72 /** 74 /**
73 * Specifies how the editor should be aligned relative to the control. Allowed values 75 * Specifies how the editor should be aligned relative to the control. Allowed values