Changeset 3842
- Timestamp:
- Sep 10, 2010, 2:09:23 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 37 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/servlet/src/org/proteios/action/events/SelectSeparationMethod.java
r2745 r3842 62 62 Form form = new Form("selectMethod"); 63 63 Fieldset fs = new Fieldset(); 64 fs. getLegendTitle().setTitle("SelectMethod");64 fs.setTitle("SelectMethod"); 65 65 form.addFieldset(fs); 66 66 // -
trunk/client/servlet/src/org/proteios/action/feature/FeatureHitMatchForm.java
r3777 r3842 38 38 Form form = new Form("FeatureHitsMatchForm"); 39 39 Fieldset properties = new Fieldset(); 40 properties. getLegendTitle().setTitle("SettingsForReport");40 properties.setTitle("SettingsForReport"); 41 41 form.addFieldset(properties); 42 42 TextField<Float> tolF = new TextField<Float>( -
trunk/client/servlet/src/org/proteios/action/file/AnnotateBioMaterial.java
r2745 r3842 80 80 DbControl dc = newDbControl(); 81 81 Fieldset fs = new Fieldset(); 82 fs. getLegendTitle().setTitle("Select sample");82 fs.setTitle("Select sample"); 83 83 if (dc != null) 84 84 { -
trunk/client/servlet/src/org/proteios/action/file/InspectActiveSpectrumFile.java
r3544 r3842 447 447 spectrumIterationForm.setTitle("spectrumIterationForm"); 448 448 Fieldset spectrumIterationFS = new Fieldset(); 449 spectrumIterationFS. getLegendTitle().setTitle("SpectrumIteration");449 spectrumIterationFS.setTitle("SpectrumIteration"); 450 450 spectrumIterationForm.addFieldset(spectrumIterationFS); 451 451 Toolbar spectrumIterationToolbar = new Toolbar(); -
trunk/client/servlet/src/org/proteios/action/hit/ExclusionList.java
r3824 r3842 93 93 nameF.setLabel("OutputFileName"); 94 94 properties.add(nameF); 95 properties. getLegendTitle().setTitle("SettingsForReport");95 properties.setTitle("SettingsForReport"); 96 96 form.addFieldset(properties); 97 97 /* -
trunk/client/servlet/src/org/proteios/action/hit/PrideExport.java
r3815 r3842 91 91 form.addFieldset(getContactFieldset()); 92 92 Fieldset fs = new Fieldset(); 93 fs. getLegendTitle().setTitle("SampleInfo");93 fs.setTitle("SampleInfo"); 94 94 Checkbox<VBoolean> isFDR = new Checkbox<VBoolean>( 95 95 CreatePrideExportJob.VADDSAMPLENAME); … … 165 165 { 166 166 Fieldset fs = new Fieldset(); 167 fs. getLegendTitle().setTitle("SpectrumFileContactInput");167 fs.setTitle("SpectrumFileContactInput"); 168 168 Checkbox<VBoolean> isFDR = new Checkbox<VBoolean>( 169 169 CreatePrideExportJob.VADDCONTACT); -
trunk/client/servlet/src/org/proteios/action/hit/ProteinAssembly1.java
r3761 r3842 84 84 Fieldset properties = getFormFactory().getProteinAssemblyFieldset( 85 85 project); 86 properties. getLegendTitle().setTitle("SettingsForReport");86 properties.setTitle("SettingsForReport"); 87 87 form.addFieldset(properties); 88 88 /* … … 105 105 properties.add(isOccamCB); 106 106 Fieldset validation = new Fieldset(); 107 validation. getLegendTitle().setTitle("ValidationSettings");107 validation.setTitle("ValidationSettings"); 108 108 form.addFieldset(validation); 109 109 Checkbox<VBoolean> isFDR = new Checkbox<VBoolean>( … … 161 161 properties.add(isRetrieve); 162 162 Fieldset quantFS = new Fieldset(); 163 quantFS. getLegendTitle().setTitle("QuantitationSettings");163 quantFS.setTitle("QuantitationSettings"); 164 164 Select<VString> selectLabel = selectLabel(); 165 165 quantFS.add(selectLabel); -
trunk/client/servlet/src/org/proteios/action/project/CreateLargeProject.java
r2745 r3842 199 199 Form form = new Form("rootPathForm"); 200 200 Fieldset fs = new Fieldset(); 201 fs. getLegendTitle().setTitle("largeProject");201 fs.setTitle("largeProject"); 202 202 form.addFieldset(fs); 203 203 // Fields -
trunk/client/servlet/src/org/proteios/action/project/ViewActiveProject.java
r3626 r3842 157 157 } 158 158 } 159 membersFS. getLegendTitle().setTitle("Members");159 membersFS.setTitle("Members"); 160 160 // membersT.add(table); 161 161 tabs.add(propertiesT); -
trunk/client/servlet/src/org/proteios/action/spectrumSearch/ViewActivePeptideSearchResult.java
r3448 r3842 110 110 Form mainForm = new Form("Search Result"); 111 111 Fieldset fs=new Fieldset(); 112 fs. getLegendTitle().setTitle("Search Result");112 fs.setTitle("Search Result"); 113 113 mainForm.addFieldset(fs); 114 114 FormTemplateImpl formTemplate = new FormTemplateImpl(); -
trunk/client/servlet/src/org/proteios/gui/form/CombineHitsForm.java
r3822 r3842 77 77 samplesF.addOption(allSampleIds); 78 78 } 79 properties. getLegendTitle().setTitle("SettingsForReport");79 properties.setTitle("SettingsForReport"); 80 80 addFieldset(properties); 81 81 // … … 90 90 91 91 // Score Type field set 92 scoreTypeFS. getLegendTitle().setTitle("ScoreTypeSettings");92 scoreTypeFS.setTitle("ScoreTypeSettings"); 93 93 addFieldset(scoreTypeFS); 94 94 // … … 152 152 // 153 153 // Output field set 154 outputFS. getLegendTitle().setTitle("Output");154 outputFS.setTitle("Output"); 155 155 addFieldset(outputFS); 156 156 // -
trunk/client/servlet/src/org/proteios/gui/form/Fieldset.java
r3841 r3842 48 48 public Fieldset() 49 49 { 50 this.title = new Title(""); 50 51 } 51 52 … … 55 56 } 56 57 57 /** 58 * Get the fieldset legend Title object. 59 * 60 * If legendTitle == null, a new tegendTitle object 61 * will be created with legendTitle.title equal to 62 * an empty string, and legendTitle.subtitle equal to null. 63 * To set part of legend that should be localized, 64 * use getLegendTitle().setTitle(String localizedString). 65 * To set part of legend that should not be localized, 66 * use getLegendTitle().setSubtitle(String unlocalizedString). 67 * 68 * @return Title The fieldset legend Title object. 69 */ 70 public Title getLegendTitle() 58 public Title getTitle() 71 59 { 72 if (this.title == null)73 {74 this.title = new Title("");75 }76 60 return this.title; 77 61 } … … 83 67 * @param legendTitle Title The legend Title to set. 84 68 */ 85 public void set LegendTitle(Title title)69 public void setTitle(Title title) 86 70 { 87 71 this.title = title; 72 } 73 74 public void setTitle(String title) 75 { 76 this.title.setTitle(title); 88 77 } 89 78 -
trunk/client/servlet/src/org/proteios/gui/form/FileTypeForm.java
r3805 r3842 54 54 55 55 fs = new Fieldset(); 56 fs. getLegendTitle().setTitle("FileType");56 fs.setTitle("FileType"); 57 57 fs.add(fileTypeS); 58 58 addFieldset(fs); -
trunk/client/servlet/src/org/proteios/gui/form/FormFactory.java
r3841 r3842 585 585 Fieldset fs = new Fieldset(); 586 586 form.addFieldset(fs); 587 fs. getLegendTitle().setTitle("Annotation");587 fs.setTitle("Annotation"); 588 588 // id field 589 589 TextField<Integer> idF = newIdField(); … … 686 686 // properties 687 687 Fieldset properties = new Fieldset(); 688 properties. getLegendTitle().setTitle("NotificationConfiguration");688 properties.setTitle("NotificationConfiguration"); 689 689 // SMTP host field 690 690 TextField<String> smtpHostF = new TextField<String>( … … 775 775 // properties 776 776 Fieldset properties = new Fieldset(); 777 properties. getLegendTitle().setTitle("TablePreferencesConfiguration");777 properties.setTitle("TablePreferencesConfiguration"); 778 778 // Table preferences reset check-box 779 779 Checkbox<VBoolean> tablePreferencesResetCB = new Checkbox<VBoolean>( … … 840 840 */ 841 841 Fieldset propertiesFS = new Fieldset(); 842 propertiesFS. getLegendTitle().setTitle("Properties");842 propertiesFS.setTitle("Properties"); 843 843 TextField<Integer> spectrumIdF = new TextField<Integer>(new VInteger( 844 844 "spectrumId", 1, true)); … … 849 849 */ 850 850 Fieldset precursorFS = new Fieldset(); 851 precursorFS. getLegendTitle().setTitle("Precursor");851 precursorFS.setTitle("Precursor"); 852 852 /*********************************************************************** 853 853 * Peaklistset fieldset 854 854 */ 855 855 Fieldset peaklistsetFS = new Fieldset(); 856 peaklistsetFS. getLegendTitle().setTitle("ParentPeakListSet");856 peaklistsetFS.setTitle("ParentPeakListSet"); 857 857 PeakListSet pls = peaklist.getPeakListSet(); 858 858 TextField<String> plsNameF = new NameField(); … … 941 941 */ 942 942 Fieldset propertiesFS = new Fieldset(); 943 propertiesFS. getLegendTitle().setTitle("Properties");943 propertiesFS.setTitle("Properties"); 944 944 /* 945 945 * Hit id field. … … 1047 1047 */ 1048 1048 precursorFS = new Fieldset(); 1049 precursorFS. getLegendTitle().setTitle("Precursor");1049 precursorFS.setTitle("Precursor"); 1050 1050 /******************************************************************* 1051 1051 * Peaklistset fieldset 1052 1052 */ 1053 1053 peaklistsetFS = new Fieldset(); 1054 peaklistsetFS. getLegendTitle().setTitle("ParentPeakListSet");1054 peaklistsetFS.setTitle("ParentPeakListSet"); 1055 1055 PeakListSet pls = peaklist.getPeakListSet(); 1056 1056 TextField<String> plsNameF = new NameField(); … … 1171 1171 */ 1172 1172 Fieldset massRangeFS = new Fieldset(); 1173 massRangeFS. getLegendTitle().setTitle("SpectrumMassRangeSelection");1173 massRangeFS.setTitle("SpectrumMassRangeSelection"); 1174 1174 // 1175 1175 TextField<String> cutoffLowF = new TextField<String>( … … 1643 1643 ActionLink cellAction = getActionFactory().getActionLink( 1644 1644 actionClass, actionClass.getName()); 1645 cellAction.addParameter( FormFactory.VID, itemId);1645 cellAction.addParameter(ItemIdField.VPARAM, itemId); 1646 1646 valueCell.setActionLink(cellAction); 1647 1647 } … … 1798 1798 // 1799 1799 Fieldset contactInputFS = new Fieldset(); 1800 contactInputFS. getLegendTitle().setTitle("SpectrumFileContactInput");1800 contactInputFS.setTitle("SpectrumFileContactInput"); 1801 1801 form.addFieldset(contactInputFS); 1802 1802 // … … 1834 1834 // 1835 1835 Fieldset contactOutputFS = new Fieldset(); 1836 contactOutputFS. getLegendTitle().setTitle("SpectrumFileContactOutput");1836 contactOutputFS.setTitle("SpectrumFileContactOutput"); 1837 1837 form.addFieldset(contactOutputFS); 1838 1838 // … … 1894 1894 // 1895 1895 Fieldset sampleInputFS = new Fieldset(); 1896 sampleInputFS. getLegendTitle().setTitle("SpectrumFileSampleInput");1896 sampleInputFS.setTitle("SpectrumFileSampleInput"); 1897 1897 form.addFieldset(sampleInputFS); 1898 1898 // … … 1960 1960 // 1961 1961 Fieldset sampleOutputFS = new Fieldset(); 1962 sampleOutputFS. getLegendTitle().setTitle("SpectrumFileSampleOutput");1962 sampleOutputFS.setTitle("SpectrumFileSampleOutput"); 1963 1963 form.addFieldset(sampleOutputFS); 1964 1964 // … … 2001 2001 */ 2002 2002 Fieldset properties = new Fieldset(); 2003 properties. getLegendTitle().setTitle("Properties");2003 properties.setTitle("Properties"); 2004 2004 // id 2005 2005 TextField<Integer> itemIdF = newHiddenItemIdField(); … … 2015 2015 */ 2016 2016 Fieldset instrumentFS = new Fieldset(); 2017 instrumentFS. getLegendTitle().setTitle("Instrument");2017 instrumentFS.setTitle("Instrument"); 2018 2018 /*********************************************************************** 2019 2019 * Analyzers 2020 2020 */ 2021 2021 Fieldset analyzersFS = new Fieldset(); 2022 analyzersFS. getLegendTitle().setTitle("Analyzers");2022 analyzersFS.setTitle("Analyzers"); 2023 2023 /*********************************************************************** 2024 2024 * Set field values … … 2070 2070 */ 2071 2071 Fieldset fs = new Fieldset(); 2072 fs. getLegendTitle().setTitle("ExportProperties");2072 fs.setTitle("ExportProperties"); 2073 2073 // Peaklist name field 2074 2074 if (pls != null) … … 2161 2161 // Properties fieldset 2162 2162 Fieldset properties = new Fieldset(); 2163 properties. getLegendTitle().setTitle(2163 properties.setTitle( 2164 2164 "ImportHitsNonGelWizardStep1FormLegend"); 2165 2165 form.addFieldset(properties); … … 2227 2227 // Properties fieldset 2228 2228 Fieldset properties = new Fieldset(); 2229 properties. getLegendTitle().setTitle(2229 properties.setTitle( 2230 2230 "ImportHitsNonGelWizardStep2FormLegend"); 2231 2231 form.addFieldset(properties); … … 2539 2539 // 2540 2540 Fieldset properties = new Fieldset(); 2541 properties. getLegendTitle().setTitle("SettingsForHitReportFile");2541 properties.setTitle("SettingsForHitReportFile"); 2542 2542 form.addFieldset(properties); 2543 2543 // Filename field … … 2566 2566 // 2567 2567 Fieldset comparisonOfHitsProjectSelectionFS = new Fieldset(); 2568 comparisonOfHitsProjectSelectionFS. getLegendTitle().setTitle(2568 comparisonOfHitsProjectSelectionFS.setTitle( 2569 2569 "HitsComparisonReportProjectSelection"); 2570 2570 form.addFieldset(comparisonOfHitsProjectSelectionFS); … … 2615 2615 // 2616 2616 Fieldset project1FilterSettingsFS = new Fieldset(); 2617 project1FilterSettingsFS. getLegendTitle().setTitle(2617 project1FilterSettingsFS.setTitle( 2618 2618 "HitsComparisonReportFilterSettings1"); 2619 2619 form.addFieldset(project1FilterSettingsFS); … … 2702 2702 // 2703 2703 Fieldset project2FilterSettingsFS = new Fieldset(); 2704 project2FilterSettingsFS. getLegendTitle().setTitle(2704 project2FilterSettingsFS.setTitle( 2705 2705 "HitsComparisonReportFilterSettings2"); 2706 2706 form.addFieldset(project2FilterSettingsFS); … … 2789 2789 // 2790 2790 Fieldset hitComparisonTypeFS = new Fieldset(); 2791 hitComparisonTypeFS. getLegendTitle().setTitle(2791 hitComparisonTypeFS.setTitle( 2792 2792 "HitsComparisonReportComparisonType"); 2793 2793 form.addFieldset(hitComparisonTypeFS); … … 2807 2807 // 2808 2808 Fieldset hitComparisonProteinSettingsFS = new Fieldset(); 2809 hitComparisonProteinSettingsFS. getLegendTitle().setTitle(2809 hitComparisonProteinSettingsFS.setTitle( 2810 2810 "HitsComparisonReportProteinSettings"); 2811 2811 form.addFieldset(hitComparisonProteinSettingsFS); … … 2894 2894 // 2895 2895 Fieldset comparisonOfHitsOutputFS = new Fieldset(); 2896 comparisonOfHitsOutputFS. getLegendTitle().setTitle(2896 comparisonOfHitsOutputFS.setTitle( 2897 2897 "HitsComparisonReportOutput"); 2898 2898 form.addFieldset(comparisonOfHitsOutputFS); … … 2920 2920 // 2921 2921 Fieldset prideFilterSettingsFS = new Fieldset(); 2922 prideFilterSettingsFS. getLegendTitle().setTitle(2922 prideFilterSettingsFS.setTitle( 2923 2923 "PrideExportFilterSettings"); 2924 2924 form.addFieldset(prideFilterSettingsFS); … … 2945 2945 // 2946 2946 Fieldset prideOutputFS = new Fieldset(); 2947 prideOutputFS. getLegendTitle().setTitle("PrideExportOutput");2947 prideOutputFS.setTitle("PrideExportOutput"); 2948 2948 form.addFieldset(prideOutputFS); 2949 2949 // … … 3037 3037 form.setTitle("NewIPG"); 3038 3038 Fieldset fs = new Fieldset(); 3039 fs. getLegendTitle().setTitle("Properties");3039 fs.setTitle("Properties"); 3040 3040 form.addFieldset(fs); 3041 3041 // … … 3314 3314 form.setTitle("NewMascotParameterSetStorage"); 3315 3315 Fieldset fs = new Fieldset(); 3316 fs. getLegendTitle().setTitle("NewMascotParameterSetStorage");3316 fs.setTitle("NewMascotParameterSetStorage"); 3317 3317 // MascotParameterSetStorage Name 3318 3318 TextField<String> nameF = new NameField(); … … 3426 3426 form.setTitle("SaveAsMascotParameterSetStorage"); 3427 3427 Fieldset fs = new Fieldset(); 3428 fs. getLegendTitle().setTitle("SaveAsMascotParameterSetStorage");3428 fs.setTitle("SaveAsMascotParameterSetStorage"); 3429 3429 // MascotParameterSetStorage Name 3430 3430 TextField<String> nameF = new NameField(); … … 3684 3684 // 3685 3685 Fieldset mascotSearchUserDataInputFS = new Fieldset(); 3686 mascotSearchUserDataInputFS. getLegendTitle().setTitle(3686 mascotSearchUserDataInputFS.setTitle( 3687 3687 "MascotSearchUserDataInput"); 3688 3688 form.addFieldset(mascotSearchUserDataInputFS); … … 3830 3830 } 3831 3831 log.debug("generalFSTitle = " + generalFSTitle); 3832 generalFS. getLegendTitle().setTitle(generalFSTitle);3832 generalFS.setTitle(generalFSTitle); 3833 3833 form.addFieldset(generalFS); 3834 3834 // … … 4415 4415 /* 4416 4416 * Fieldset extraFS = new Fieldset(); 4417 * extraFS. getLegendTitle().setTitle("MascotParameterSetExtra");4417 * extraFS.setTitle("MascotParameterSetExtra"); 4418 4418 * form.addFieldset(extraFS); 4419 4419 */ … … 4446 4446 form.setTitle("NewOMSSAParameterSetStorage"); 4447 4447 Fieldset fs = new Fieldset(); 4448 fs. getLegendTitle().setTitle("NewOMSSAParameterSetStorage");4448 fs.setTitle("NewOMSSAParameterSetStorage"); 4449 4449 // OMSSAParameterSetStorage Name 4450 4450 TextField<String> nameF = new NameField(); … … 4539 4539 form.setTitle("SaveAsOMSSAParameterSetStorage"); 4540 4540 Fieldset fs = new Fieldset(); 4541 fs. getLegendTitle().setTitle("SaveAsOMSSAParameterSetStorage");4541 fs.setTitle("SaveAsOMSSAParameterSetStorage"); 4542 4542 // OMSSAParameterSetStorage Name 4543 4543 TextField<String> nameF = new NameField(); … … 4905 4905 */ 4906 4906 Fieldset generalFS = new Fieldset(); 4907 generalFS. getLegendTitle().setTitle("OMSSAParameterSetGeneral");4907 generalFS.setTitle("OMSSAParameterSetGeneral"); 4908 4908 form.addFieldset(generalFS); 4909 4909 // General, enzyme … … 5288 5288 */ 5289 5289 Fieldset extraFS = new Fieldset(); 5290 extraFS. getLegendTitle().setTitle("OMSSAParameterSetExtra");5290 extraFS.setTitle("OMSSAParameterSetExtra"); 5291 5291 form.addFieldset(extraFS); 5292 5292 // Extra, z dependence … … 5463 5463 form.setTitle("NewXTandemParameterSetStorage"); 5464 5464 Fieldset fs = new Fieldset(); 5465 fs. getLegendTitle().setTitle("NewXTandemParameterSetStorage");5465 fs.setTitle("NewXTandemParameterSetStorage"); 5466 5466 // XTandemParameterSetStorage Name 5467 5467 TextField<String> nameF = new NameField(); … … 5537 5537 form.setTitle("SaveAsXTandemParameterSetStorage"); 5538 5538 Fieldset fs = new Fieldset(); 5539 fs. getLegendTitle().setTitle("SaveAsXTandemParameterSetStorage");5539 fs.setTitle("SaveAsXTandemParameterSetStorage"); 5540 5540 // XTandemParameterSetStorage Name 5541 5541 TextField<String> nameF = new NameField(); … … 6302 6302 */ 6303 6303 Fieldset listPathFS = new Fieldset(); 6304 listPathFS. getLegendTitle().setTitle("XTandemParameterSetListPath");6304 listPathFS.setTitle("XTandemParameterSetListPath"); 6305 6305 form.addFieldset(listPathFS); 6306 6306 // List path, default parameters … … 6357 6357 */ 6358 6358 Fieldset spectrumFS = new Fieldset(); 6359 spectrumFS. getLegendTitle().setTitle("XTandemParameterSetSpectrum");6359 spectrumFS.setTitle("XTandemParameterSetSpectrum"); 6360 6360 form.addFieldset(spectrumFS); 6361 6361 // Spectrum, path … … 6501 6501 */ 6502 6502 Fieldset residueFS = new Fieldset(); 6503 residueFS. getLegendTitle().setTitle("XTandemParameterSetResidue");6503 residueFS.setTitle("XTandemParameterSetResidue"); 6504 6504 form.addFieldset(residueFS); 6505 6505 // Residue, modification mass select … … 6647 6647 */ 6648 6648 Fieldset proteinFS = new Fieldset(); 6649 proteinFS. getLegendTitle().setTitle("XTandemParameterSetProtein");6649 proteinFS.setTitle("XTandemParameterSetProtein"); 6650 6650 form.addFieldset(proteinFS); 6651 6651 // Protein, taxon … … 6864 6864 */ 6865 6865 Fieldset refineFS = new Fieldset(); 6866 refineFS. getLegendTitle().setTitle("XTandemParameterSetRefine");6866 refineFS.setTitle("XTandemParameterSetRefine"); 6867 6867 form.addFieldset(refineFS); 6868 6868 // Refine … … 7062 7062 */ 7063 7063 Fieldset scoringFS = new Fieldset(); 7064 scoringFS. getLegendTitle().setTitle("XTandemParameterSetScoring");7064 scoringFS.setTitle("XTandemParameterSetScoring"); 7065 7065 form.addFieldset(scoringFS); 7066 7066 // Scoring, minimum ion count … … 7212 7212 */ 7213 7213 Fieldset outputFS = new Fieldset(); 7214 outputFS. getLegendTitle().setTitle("XTandemParameterSetOutput");7214 outputFS.setTitle("XTandemParameterSetOutput"); 7215 7215 form.addFieldset(outputFS); 7216 7216 // Output, path … … 7424 7424 */ 7425 7425 Fieldset inputFS = new Fieldset(); 7426 inputFS. getLegendTitle().setTitle("PIKEParameterSetInput");7426 inputFS.setTitle("PIKEParameterSetInput"); 7427 7427 form.addFieldset(inputFS); 7428 7428 // … … 7553 7553 */ 7554 7554 Fieldset outputFS = new Fieldset(); 7555 outputFS. getLegendTitle().setTitle("PIKEParameterSetOutput");7555 outputFS.setTitle("PIKEParameterSetOutput"); 7556 7556 form.addFieldset(outputFS); 7557 7557 // … … 7597 7597 form.setTitle("MascotResultRetrieval"); 7598 7598 Fieldset fs = new Fieldset(); 7599 fs. getLegendTitle().setTitle("MascotResultRetrievalParameters");7599 fs.setTitle("MascotResultRetrievalParameters"); 7600 7600 // Get Mascot server URL string from Mascot properties file 7601 7601 MascotPropertiesFile pf = new MascotPropertiesFile(); … … 7753 7753 { 7754 7754 Fieldset fs = new Fieldset(); 7755 fs. getLegendTitle().setTitle("UsedSample");7755 fs.setTitle("UsedSample"); 7756 7756 TextField<String> sampleIdF = new DummyField(); 7757 7757 sampleIdF.setDisabled(true); … … 7772 7772 { 7773 7773 Fieldset fs = new Fieldset(); 7774 fs. getLegendTitle().setTitle("UsedExtract");7774 fs.setTitle("UsedExtract"); 7775 7775 TextField<String> extractIdF = new DummyField(); 7776 7776 extractIdF.setDisabled(true); … … 7791 7791 { 7792 7792 Fieldset fs = new Fieldset(); 7793 fs. getLegendTitle().setTitle("UsedLabeledExtract");7793 fs.setTitle("UsedLabeledExtract"); 7794 7794 TextField<String> extractIdF = new DummyField(); 7795 7795 extractIdF.setDisabled(true); … … 7813 7813 Fieldset fs = new Fieldset(); 7814 7814 modifyForPopup(fs); 7815 fs. getLegendTitle().setTitle("Properties");7815 fs.setTitle("Properties"); 7816 7816 form.addFieldset(fs); 7817 7817 // … … 7829 7829 // 7830 7830 Fieldset quantityFS = new Fieldset(); 7831 quantityFS. getLegendTitle().setTitle("Quantity");7831 quantityFS.setTitle("Quantity"); 7832 7832 form.addFieldset(quantityFS); 7833 7833 // … … 7861 7861 form.setTitle("NewSecondaryExtract"); 7862 7862 Fieldset fs = new Fieldset(); 7863 fs. getLegendTitle().setTitle("Properties");7863 fs.setTitle("Properties"); 7864 7864 form.addFieldset(fs); 7865 7865 // … … 7877 7877 // 7878 7878 Fieldset quantityFS = new Fieldset(); 7879 quantityFS. getLegendTitle().setTitle("QuantityInMicroLiters");7879 quantityFS.setTitle("QuantityInMicroLiters"); 7880 7880 form.addFieldset(quantityFS); 7881 7881 // … … 7922 7922 Fieldset fs = new Fieldset(); 7923 7923 modifyForPopup(fs); 7924 fs. getLegendTitle().setTitle("Properties");7924 fs.setTitle("Properties"); 7925 7925 form.addFieldset(fs); 7926 7926 // … … 7943 7943 // 7944 7944 Fieldset quantityFS = new Fieldset(); 7945 quantityFS. getLegendTitle().setTitle("QuantityInMicroLiters");7945 quantityFS.setTitle("QuantityInMicroLiters"); 7946 7946 form.addFieldset(quantityFS); 7947 7947 // … … 7988 7988 // Properties field set 7989 7989 Fieldset properties = new Fieldset(); 7990 properties. getLegendTitle().setTitle("ColumnFilterSettings");7990 properties.setTitle("ColumnFilterSettings"); 7991 7991 form.addFieldset(properties); 7992 7992 // Filter name field (hidden - for transfer of value to other classes) … … 8296 8296 // mainFsName = clsName; 8297 8297 // } 8298 mainFS. getLegendTitle().setTitle(mainFsName);8298 mainFS.setTitle(mainFsName); 8299 8299 /* 8300 8300 * Add forward actionId field as first field, for external use. … … 8611 8611 */ 8612 8612 annotationFS = new Fieldset(); 8613 annotationFS. getLegendTitle().setTitle("Annotations");8613 annotationFS.setTitle("Annotations"); 8614 8614 /* 8615 8615 * Get DbControl … … 8859 8859 Form form = new Form("trashCanForm"); 8860 8860 Fieldset fs = new Fieldset(); 8861 fs. getLegendTitle().setTitle("Trash");8861 fs.setTitle("Trash"); 8862 8862 form.addFieldset(fs); 8863 8863 // Get total number of items to delete … … 8953 8953 Fieldset fs = new Fieldset(); 8954 8954 modifyForPopup(fs); 8955 fs. getLegendTitle().setTitle("SelectMethod");8955 fs.setTitle("SelectMethod"); 8956 8956 form.addFieldset(fs); 8957 8957 // Selectbox for separation events … … 8985 8985 form.setTitle("ProtocolType"); 8986 8986 Fieldset fs = new Fieldset(); 8987 fs. getLegendTitle().setTitle("ProtocolType");8987 fs.setTitle("ProtocolType"); 8988 8988 // Protocol Type Select Box 8989 8989 Select<VString> typeS = new Select<VString>(VTYPE); … … 9019 9019 form.setTitle("Protocol"); 9020 9020 Fieldset fs = new Fieldset(); 9021 fs. getLegendTitle().setTitle("Protocol");9021 fs.setTitle("Protocol"); 9022 9022 // Protocol Name 9023 9023 TextField<String> nameF = new NameField(); … … 9079 9079 form.setTitle("NewProtocol"); 9080 9080 Fieldset fs = new Fieldset(); 9081 fs. getLegendTitle().setTitle("NewProtocol");9081 fs.setTitle("NewProtocol"); 9082 9082 // Protocol Name 9083 9083 TextField<String> nameF = new NameField(); … … 9192 9192 // 9193 9193 Fieldset fs = new Fieldset(); 9194 org.proteios.gui.Title title = fs.get LegendTitle();9194 org.proteios.gui.Title title = fs.getTitle(); 9195 9195 title.setTitle(clsName); 9196 9196 modifyForPopup(fs); … … 9742 9742 form.setTitle("SeparationEvent"); 9743 9743 Fieldset fs = new Fieldset(); 9744 fs. getLegendTitle().setTitle(sm.getClass().getSimpleName());9744 fs.setTitle(sm.getClass().getSimpleName()); 9745 9745 form.addFieldset(fs); 9746 9746 // … … 9790 9790 form.setTitle("SeparationEvent"); 9791 9791 Fieldset fs = new Fieldset(); 9792 fs. getLegendTitle().setTitle("Properties");9792 fs.setTitle("Properties"); 9793 9793 form.addFieldset(fs); 9794 9794 // -
trunk/client/servlet/src/org/proteios/gui/form/FormUtil.java
r2745 r3842 62 62 for (Fieldset fs : form.getFieldsets()) 63 63 { 64 log65 .debug(this.getClass().getSimpleName() + "::setFormTextFieldValue(): fs.getLegendTitle() = \"" + fs66 .getLegendTitle() + "\"");67 64 for (Iterator iter = fs.getFields().iterator(); iter.hasNext();) 68 65 { -
trunk/client/servlet/src/org/proteios/gui/form/GroupsForm.java
r3799 r3842 68 68 fs.add(userIdF); 69 69 if (user != null) { userIdF.setValue(user.getId()); } 70 fs. getLegendTitle().setTitle("Groups");70 fs.setTitle("Groups"); 71 71 while (iterator.hasNext()) 72 72 { -
trunk/client/servlet/src/org/proteios/gui/form/ImportFileForm.java
r3807 r3842 50 50 51 51 fs = new Fieldset(); 52 fs. getLegendTitle().setTitle("ImportPlugins");52 fs.setTitle("ImportPlugins"); 53 53 fs.add(itemIdF); 54 54 itemIdF.setValue(file.getId()); -
trunk/client/servlet/src/org/proteios/gui/form/ImportHitsWizardStep1Form.java
r3839 r3842 76 76 77 77 properties = new Fieldset(); 78 properties. getLegendTitle().setTitle("ImportHitsWizardStep1FormLegend");78 properties.setTitle("ImportHitsWizardStep1FormLegend"); 79 79 addFieldset(properties); 80 80 properties.add(pluginIdF); -
trunk/client/servlet/src/org/proteios/gui/form/ImportHitsWizardStep2Form.java
r3840 r3842 51 51 // Properties fieldset 52 52 properties = new Fieldset(); 53 properties. getLegendTitle().setTitle(53 properties.setTitle( 54 54 "ImportHitsWizardStep2FormLegend"); 55 55 addFieldset(properties); -
trunk/client/servlet/src/org/proteios/gui/form/ImportHitsWizardStep3Form.java
r3841 r3842 49 49 // Properties fieldset 50 50 properties = new Fieldset(); 51 properties. getLegendTitle().setTitle("ImportHitsWizardStep3FormLegend");51 properties.setTitle("ImportHitsWizardStep3FormLegend"); 52 52 addFieldset(properties); 53 53 /* -
trunk/client/servlet/src/org/proteios/gui/form/JobForm.java
r3808 r3842 52 52 53 53 properties = new Fieldset(); 54 properties. getLegendTitle().setTitle("Properties");54 properties.setTitle("Properties"); 55 55 properties.add(nameF); 56 56 properties.add(descrF); -
trunk/client/servlet/src/org/proteios/gui/form/LabeledExtractForm.java
r3789 r3842 73 73 concF = new ConcentrationField(); 74 74 75 quantityFS. getLegendTitle().setTitle("QuantityInMicroLiters");75 quantityFS.setTitle("QuantityInMicroLiters"); 76 76 77 77 this.addFieldset(this.propertiesFS); -
trunk/client/servlet/src/org/proteios/gui/form/LoginForm.java
r3793 r3842 54 54 55 55 setId("loginForm"); 56 fs.set LegendTitle(title);56 fs.setTitle(title); 57 57 fs.add(usernameF); 58 58 fs.add(passwordF); -
trunk/client/servlet/src/org/proteios/gui/form/MimeTypeForm.java
r3804 r3842 58 58 59 59 fs = new Fieldset(); 60 fs. getLegendTitle().setTitle("MimeType");60 fs.setTitle("MimeType"); 61 61 fs.add(itemIdF); 62 62 fs.add(mimeTypeS); -
trunk/client/servlet/src/org/proteios/gui/form/NameableProperties.java
r3791 r3842 44 44 this.descriptionF = new DescriptionField(); 45 45 46 this. getLegendTitle().setTitle("Properties");46 this.setTitle("Properties"); 47 47 this.add(nameF); 48 48 this.add(descriptionF); -
trunk/client/servlet/src/org/proteios/gui/form/NewFileForm.java
r3802 r3842 64 64 65 65 fs = new Fieldset(); 66 fs. getLegendTitle().setTitle("Properties");66 fs.setTitle("Properties"); 67 67 fs.add(itemIdF); 68 68 fs.add(fileF); -
trunk/client/servlet/src/org/proteios/gui/form/NewUserForm.java
r3797 r3842 67 67 if(dc != null) 68 68 { 69 roleFS. getLegendTitle().setTitle("Roles");69 roleFS.setTitle("Roles"); 70 70 query = Role.getQuery(); 71 71 for (Role r : query.list(dc)) … … 82 82 pwd1.setLabel("Password"); 83 83 pwd2.setLabel("VerifyPassword"); 84 pwdFS. getLegendTitle().setTitle("Password");84 pwdFS.setTitle("Password"); 85 85 pwdFS.add(pwd1); 86 86 pwdFS.add(pwd2); -
trunk/client/servlet/src/org/proteios/gui/form/NullForm.java
r3408 r3842 47 47 this.title = new Title("NULL FORM"); 48 48 this.setId("nullForm"); 49 this.fs.set LegendTitle(this.title);49 this.fs.setTitle(this.title); 50 50 this.addFieldset(this.fs); 51 51 } -
trunk/client/servlet/src/org/proteios/gui/form/PluginDefinitionForm.java
r3790 r3842 56 56 57 57 setId("pluginDefinitionForm"); 58 propertiesFS. getLegendTitle().setTitle("Properties");58 propertiesFS.setTitle("Properties"); 59 59 propertiesFS.add(classNameF); 60 60 propertiesFS.add(descriptionF); -
trunk/client/servlet/src/org/proteios/gui/form/ProfilePasswordForm.java
r3801 r3842 59 59 pwd1.setLabel("Password"); 60 60 pwd2.setLabel("VerifyPassword"); 61 propertiesFS. getLegendTitle().setTitle("Password");61 propertiesFS.setTitle("Password"); 62 62 propertiesFS.add(userIdF); 63 63 propertiesFS.add(pwd1); -
trunk/client/servlet/src/org/proteios/gui/form/SampleForm.java
r3791 r3842 62 62 externalIdF = new ExternalIdField(); 63 63 64 quantityFS. getLegendTitle().setTitle("Quantity");64 quantityFS.setTitle("Quantity"); 65 65 quantityFS.add(concentrationF); 66 66 quantityFS.add(originalF); -
trunk/client/servlet/src/org/proteios/gui/form/SelectPluginForm.java
r3811 r3842 43 43 super("pluginsForm"); 44 44 fs = new Fieldset(); 45 fs. getLegendTitle().setTitle("SelectPlugin");45 fs.setTitle("SelectPlugin"); 46 46 typeS = new PluginSelect(dc, types); 47 47 fs.add(typeS); … … 52 52 super("pluginsForm"); 53 53 fs = new Fieldset(); 54 fs. getLegendTitle().setTitle("SelectPlugin");54 fs.setTitle("SelectPlugin"); 55 55 typeS = new PluginSelect(); 56 56 fs.add(typeS); -
trunk/client/servlet/src/org/proteios/gui/form/UserRolesForm.java
r3800 r3842 69 69 fs = new Fieldset(); 70 70 fs.add(userIdF); 71 fs. getLegendTitle().setTitle("Roles");71 fs.setTitle("Roles"); 72 72 73 73 query = Role.getQuery(); -
trunk/client/servlet/src/org/proteios/gui/table/TableFactory.java
r3825 r3842 1002 1002 form.setTitle("ConfigureTable"); 1003 1003 Fieldset fields = new Fieldset(); 1004 // fields. getLegendTitle().setTitle("SelectVisibleColumns");1005 fields. getLegendTitle().setTitle("ConfigureTable");1004 // fields.setTitle("SelectVisibleColumns"); 1005 fields.setTitle("ConfigureTable"); 1006 1006 form.addFieldset(fields); 1007 1007 // VString showColumnParameter = new VString("showColumn", 1, 32, true); -
trunk/client/servlet/src/org/proteios/gui/web/GUIConverter.java
r3792 r3842 1291 1291 legend = fieldset.newDiv().setClass("legend"); 1292 1292 title = new Div().addClass("title"); 1293 if (fs.get LegendTitle()!= null)1293 if (fs.getTitle()!= null) 1294 1294 { 1295 1295 title.add(new CData( 1296 locale.get(fs.get LegendTitle().getTitle()) + " "));1297 subtitle = fs.get LegendTitle().getSubtitle();1296 locale.get(fs.getTitle().getTitle()) + " ")); 1297 subtitle = fs.getTitle().getSubtitle(); 1298 1298 if (subtitle != null) 1299 1299 { -
trunk/client/servlet/test/src/org/proteios/gui/GUIFactoryUtil.java
r3693 r3842 115 115 { 116 116 Fieldset fs = new Fieldset(); 117 fs. getLegendTitle().setTitle("Properties");117 fs.setTitle("Properties"); 118 118 TextField<String> nameF = new TextField<String>(VNAME); 119 119 fs.add(nameF); -
trunk/contrib/SpectrumLibraryExport/src/satoshi/LibraryExportForm.java
r3785 r3842 52 52 Fieldset fieldSet = new Fieldset(); 53 53 form.addFieldset(fieldSet); 54 fieldSet.set LegendTitle(new Title("Export settings"));54 fieldSet.setTitle(new Title("Export settings")); 55 55 /* 56 56 * Then add an optional parameter. We'll add a string field. This
Note: See TracChangeset
for help on using the changeset viewer.