1 6 package com.nightlabs.rcp.composite; 7 8 import org.eclipse.swt.SWT; 9 import org.eclipse.swt.widgets.Combo; 10 import org.eclipse.swt.widgets.Composite;import org.eclipse.swt.widgets.Label; 11 ; 12 13 17 public class LabeledComboComposite extends TightWrapperComposite { 18 19 private Combo combo; 20 private Label label; 21 22 public LabeledComboComposite(Composite parent, int style, boolean setLayoutData) { 23 super(parent, style, setLayoutData); 24 label = new Label(this, SWT.NONE); 25 combo = new Combo(this, SWT.NONE); 26 } 27 28 public Combo getCombo() { 29 return combo; 30 } 31 32 33 public Label getLabel() { 34 return label; 35 } 36 37 38 39 } 40 | Popular Tags |