Changeset 4070
- Timestamp:
- Dec 10, 2010, 12:52:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/servlet/src/org/proteios/action/mascot/SelectMascotParameterSetStorage.java
r3986 r4070 36 36 import org.proteios.core.MascotParameterSetStorage; 37 37 import org.proteios.core.User; 38 import org.proteios.gui.Scroller; 38 39 import org.proteios.gui.Title; 39 40 import org.proteios.gui.Toolbar; … … 67 68 throws ActionException, InvalidParameterValue 68 69 { 69 70 70 FormFactory formFactory; 71 formFactory = this.getFormFactory(); 71 72 /*********************************************************************** 72 73 * Check input … … 112 113 TableFactory tableFactory = getTableFactory(); 113 114 tableFactory.setItemClass(MascotParameterSetStorage.class); 115 Integer from = getValidInteger(Scroller.VFROM); 116 Integer max = getValidInteger(Scroller.VMAXRESULT); 117 log.debug("from = " + from + " max = " + max); 118 if (from != null) 119 { 120 tableFactory.setQueryFrom(from); 121 } 122 if (max != null) 123 { 124 tableFactory.setMaxResults(max); 125 } 114 126 ItemQuery<MascotParameterSetStorage> query = MascotParameterSetStorage.getQuery(); 115 127 // Only include MascotParameterSetStorage belonging to the active project. … … 121 133 Table table = tableFactory.build(); 122 134 table.setTitle("MascotParameterSetsInDatabase"); 135 if (table.getScroller() != null) 136 { 137 table.getScroller().setTableConfActionId(getActionFactory().getId( 138 SelectMascotParameterSetStorage.class)); 139 } 123 140 /* 124 141 * Add the tool bar with 'Next' button(s) to the form. … … 130 147 for (Integer spectrumFileId : spectrumFileIds) 131 148 { 132 149 table.add(SearchMascot.VSPECTRUMFILEID,spectrumFileId); 133 150 } 134 151 nextSearch.addParameter(SearchMascot.VMASCOTUSEWEBINTERFACEFLAG, true);
Note: See TracChangeset
for help on using the changeset viewer.