Changeset 5064
- Timestamp:
- Aug 19, 2009, 2:09:14 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/core/net/sf/basedb/core/data/ImageData.java
r4889 r5064 36 36 public class ImageData 37 37 extends BasicData 38 implements NameableData, RemovableData, FileAttachableData 38 implements NameableData, RemovableData, FileAttachableData, LoggableData 39 39 { 40 40 public ImageData() -
trunk/src/core/net/sf/basedb/core/log/db/DbLogManagerFactory.java
r5063 r5064 30 30 import net.sf.basedb.core.data.BioMaterialEventData; 31 31 import net.sf.basedb.core.data.FileSetMemberData; 32 import net.sf.basedb.core.data.ImageData; 32 33 import net.sf.basedb.core.data.LoggableData; 33 34 import net.sf.basedb.core.data.PlateEventData; … … 62 63 setSpecialLogger(FileSetMemberData.class, new FileSetMemberLogger()); 63 64 setSpecialLogger(PlateEventData.class, new PlateEventLogger(detailedProperties)); 65 setSpecialLogger(ImageData.class, new ImageLogger(detailedProperties)); 64 66 } 65 67 -
trunk/www/views/hybridizations/view_hybridization.jsp
r5045 r5064 56 56 import="net.sf.basedb.core.query.Hql" 57 57 import="net.sf.basedb.clients.web.Base" 58 import="net.sf.basedb.clients.web.ChangeHistoryUtil" 58 59 import="net.sf.basedb.clients.web.PermissionUtil" 59 60 import="net.sf.basedb.clients.web.util.HTML" … … 158 159 { 159 160 if (TabControl.isActive(tabControlId, tabId)) return; 160 if ( tabId == 'overview'&& tabId != '<%=tab%>')161 if ((tabId == 'overview' || tabId == 'history') && tabId != '<%=tab%>') 161 162 { 162 163 location.href = 'index.jsp?ID=<%=ID%>&cmd=ViewItem&item_id=<%=itemId%>&tab='+tabId; … … 597 598 %> 598 599 </t:tab> 600 <t:tab id="history" title="Change history" 601 tooltip="Displays a log of all modifications made to this item" 602 visible="<%=ChangeHistoryUtil.showChangeHistoryTab(sc)%>"> 603 <% 604 if ("history".equals(tab)) 605 { 606 %> 607 <jsp:include page="../../common/history/frameset.jsp"> 608 <jsp:param name="source_type" value="<%=itemType.name()%>" /> 609 <jsp:param name="source_id" value="<%=itemId%>" /> 610 <jsp:param name="ID" value="<%=ID%>" /> 611 </jsp:include> 612 <% 613 } 614 %> 615 </t:tab> 599 616 </t:tabcontrol> 600 617 -
trunk/www/views/rawbioassays/rawdata/list_rawdata.jsp
r5028 r5064 59 59 import="net.sf.basedb.clients.web.Base" 60 60 import="net.sf.basedb.clients.web.ModeInfo" 61 import="net.sf.basedb.clients.web.ChangeHistoryUtil" 61 62 import="net.sf.basedb.clients.web.util.HTML" 62 63 import="net.sf.basedb.util.Values" … … 177 178 function switchTab(tabControlId, tabId) 178 179 { 179 if (tabId == 'properties' || tabId == 'annotations' || tabId == 'overview' )180 if (tabId == 'properties' || tabId == 'annotations' || tabId == 'overview' || tabId == 'history') 180 181 { 181 182 location.href = '../index.jsp?ID=<%=ID%>&cmd=ViewItem&item_id=<%=rawBioAssayId%>&tab='+tabId; … … 911 912 <t:tab id="overview" title="Overview" 912 913 tooltip="Display a tree overview of related items" /> 914 <t:tab id="history" title="Change history" 915 tooltip="Displays a log of all modifications made to this item" 916 visible="<%=ChangeHistoryUtil.showChangeHistoryTab(sc)%>" /> 913 917 </t:tabcontrol> 914 918 </base:body> -
trunk/www/views/rawbioassays/view_rawbioassay.jsp
r4889 r5064 63 63 import="net.sf.basedb.util.formatter.Formatter" 64 64 import="net.sf.basedb.clients.web.Base" 65 import="net.sf.basedb.clients.web.ChangeHistoryUtil" 65 66 import="net.sf.basedb.clients.web.PermissionUtil" 66 67 import="net.sf.basedb.clients.web.util.HTML" … … 187 188 { 188 189 if (TabControl.isActive(tabControlId, tabId)) return; 189 if ( tabId == 'overview'&& tabId != '<%=tab%>')190 if ((tabId == 'overview' || tabId == 'history') && tabId != '<%=tab%>') 190 191 { 191 192 location.href = 'index.jsp?ID=<%=ID%>&cmd=ViewItem&item_id=<%=itemId%>&tab='+tabId; … … 695 696 %> 696 697 </t:tab> 698 <t:tab id="history" title="Change history" 699 tooltip="Displays a log of all modifications made to this item" 700 visible="<%=ChangeHistoryUtil.showChangeHistoryTab(sc)%>"> 701 <% 702 if ("history".equals(tab)) 703 { 704 %> 705 <jsp:include page="../../common/history/frameset.jsp"> 706 <jsp:param name="source_type" value="<%=itemType.name()%>" /> 707 <jsp:param name="source_id" value="<%=itemId%>" /> 708 <jsp:param name="ID" value="<%=ID%>" /> 709 </jsp:include> 710 <% 711 } 712 %> 713 </t:tab> 697 714 </t:tabcontrol> 698 715 -
trunk/www/views/scans/images/list_images.jsp
r4889 r5064 45 45 import="net.sf.basedb.clients.web.Base" 46 46 import="net.sf.basedb.clients.web.ModeInfo" 47 import="net.sf.basedb.clients.web.ChangeHistoryUtil" 47 48 import="net.sf.basedb.clients.web.util.HTML" 48 49 import="net.sf.basedb.clients.web.extensions.ExtensionsControl" … … 171 172 function switchTab(tabControlId, tabId) 172 173 { 173 if (tabId == 'properties' || tabId == 'annotations' || tabId == 'overview' )174 if (tabId == 'properties' || tabId == 'annotations' || tabId == 'overview' || tabId == 'history') 174 175 { 175 176 location.href = '../index.jsp?ID=<%=ID%>&cmd=ViewItem&item_id=<%=scanId%>&tab='+tabId; … … 487 488 <t:tab id="overview" title="Overview" 488 489 tooltip="Display a tree overview of related items" /> 490 <t:tab id="history" title="Change history" 491 tooltip="Displays a log of all modifications made to this item" 492 visible="<%=ChangeHistoryUtil.showChangeHistoryTab(sc)%>" /> 489 493 </t:tabcontrol> 490 494 -
trunk/www/views/scans/view_scan.jsp
r5045 r5064 52 52 import="net.sf.basedb.core.query.Hql" 53 53 import="net.sf.basedb.clients.web.Base" 54 import="net.sf.basedb.clients.web.ChangeHistoryUtil" 54 55 import="net.sf.basedb.clients.web.PermissionUtil" 55 56 import="net.sf.basedb.clients.web.util.HTML" … … 153 154 { 154 155 if (TabControl.isActive(tabControlId, tabId)) return; 155 if ( tabId == 'overview'&& tabId != '<%=tab%>')156 if ((tabId == 'overview' || tabId == 'history') && tabId != '<%=tab%>') 156 157 { 157 158 location.href = 'index.jsp?ID=<%=ID%>&cmd=ViewItem&item_id=<%=itemId%>&tab='+tabId; … … 530 531 %> 531 532 </t:tab> 533 <t:tab id="history" title="Change history" 534 tooltip="Displays a log of all modifications made to this item" 535 visible="<%=ChangeHistoryUtil.showChangeHistoryTab(sc)%>"> 536 <% 537 if ("history".equals(tab)) 538 { 539 %> 540 <jsp:include page="../../common/history/frameset.jsp"> 541 <jsp:param name="source_type" value="<%=itemType.name()%>" /> 542 <jsp:param name="source_id" value="<%=itemId%>" /> 543 <jsp:param name="ID" value="<%=ID%>" /> 544 </jsp:include> 545 <% 546 } 547 %> 548 </t:tab> 532 549 </t:tabcontrol> 533 550
Note: See TracChangeset
for help on using the changeset viewer.