Lines 9-14
Link Here
|
9 |
* IBM Corporation - initial API and implementation |
9 |
* IBM Corporation - initial API and implementation |
10 |
*******************************************************************************/ |
10 |
*******************************************************************************/ |
11 |
package org.eclipse.ui.forms.widgets; |
11 |
package org.eclipse.ui.forms.widgets; |
|
|
12 |
import org.eclipse.swt.SWT; |
12 |
import org.eclipse.swt.graphics.Point; |
13 |
import org.eclipse.swt.graphics.Point; |
13 |
import org.eclipse.swt.widgets.*; |
14 |
import org.eclipse.swt.widgets.*; |
14 |
/** |
15 |
/** |
Lines 21-27
Link Here
|
21 |
*/ |
22 |
*/ |
22 |
/* package */class LayoutComposite extends Composite { |
23 |
/* package */class LayoutComposite extends Composite { |
23 |
public LayoutComposite(Composite parent, int style) { |
24 |
public LayoutComposite(Composite parent, int style) { |
24 |
super(parent, style); |
25 |
super(parent, SWT.NO_FOCUS | style); |
25 |
setMenu(parent.getMenu()); |
26 |
setMenu(parent.getMenu()); |
26 |
} |
27 |
} |
27 |
public Point computeSize(int wHint, int hHint, boolean changed) { |
28 |
public Point computeSize(int wHint, int hHint, boolean changed) { |