1 26 30 31 package org.omg.lifl.eclipse.plugin.project.OpenCCM.utils; 32 33 import org.eclipse.swt.SWT; 34 import org.eclipse.swt.layout.RowLayout; 35 import org.eclipse.swt.widgets.Composite; 36 import org.eclipse.swt.widgets.Group; 37 import org.eclipse.swt.widgets.Label; 38 39 45 public class ORBChooser { 46 private Group group_ ; 47 private String ORBGroupLabel_; 48 private String OBPathLabel_; 49 50 public ORBChooser (Composite parent, String ORBGroupLabel, String OBPathLabel){ 51 setGroup_(new Group(parent, SWT.NONE)); 52 group_.setLayout(new RowLayout()); 53 setORBGroupLabel_(ORBGroupLabel); 54 group_.setText(getORBGroupLabel_()); 55 Label label = new Label(group_, SWT.LEFT); 56 setOBPathLabel_(OBPathLabel); 57 label.setText(getOBPathLabel_()); 58 59 60 } 61 62 63 66 public Group getGroup_() { 67 return group_; 68 } 69 70 73 public void setGroup_(Group group) { 74 group_ = group; 75 } 76 77 80 public String getORBGroupLabel_() { 81 return ORBGroupLabel_; 82 } 83 84 87 public void setORBGroupLabel_(String string) { 88 ORBGroupLabel_ = string; 89 } 90 91 94 public String getOBPathLabel_() { 95 return OBPathLabel_; 96 } 97 98 101 public void setOBPathLabel_(String string) { 102 OBPathLabel_ = string; 103 } 104 105 } 106 | Popular Tags |