Changeset 3927
- Timestamp:
- Nov 1, 2010, 8:56:15 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/servlet/src/org/proteios/gui/form/FormFactory.java
r3887 r3927 2203 2203 } 2204 2204 2205 //Cleaning up from here 2205 2206 2206 public Form getSecondaryLabeledExtractForm(LabeledExtract extract, 2207 2207 DbControl dc, LabeledExtract fromExtract) … … 3080 3080 return quantity; 3081 3081 } 3082 3083 public Form getSeparationForm() 3084 { 3085 Form form = new Form("separationEvent"); 3086 form.setTitle("SeparationMethods"); 3087 Fieldset fs = new Fieldset(); 3088 modifyForPopup(fs); 3089 fs.setTitle("SelectMethod"); 3090 form.addFieldset(fs); 3091 // Selectbox for separation events 3092 Select<VString> method = new Select<VString>(VCLASSNAME); 3093 method.setLabel("SeparationMethod"); 3094 // 3095 Option electrophoresis = new Option(GelElectrophoresis.class.getName()); 3096 electrophoresis.setContent("Gel Electrophoresis"); 3097 electrophoresis.setSelected(true); 3098 method.addOption(electrophoresis); 3099 // 3100 Option ipg = new Option(IPG.class.getName()); 3101 ipg.setContent("Isoelectric focusing"); 3102 method.addOption(ipg); 3103 // 3104 Option chrom = new Option(null); 3105 chrom.setContent("Liquid chromatography"); 3106 method.addOption(chrom); 3107 fs.add(method); 3108 // 3109 TextField<Date> eventDateF = new TextField<Date>(VENTRYDATE); 3110 eventDateF.setValue(new Date()); 3111 fs.add(eventDateF); 3112 return form; 3113 } 3082 3083 //Cleaning up from here 3084 3114 3085 3115 3086 public Form getFileProtocolTypeForm(ProtocolType protocolType)
Note: See TracChangeset
for help on using the changeset viewer.