- Timestamp:
- 2006-09-21T16:55:21+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/FormatManager.java
r12809 r12815 89 89 90 90 format_map = new HashMap(); 91 format_map.put(DATELIST, "<td>[link][icon][/link]</td>\n<td>[highlight]{Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}[/highlight]</td>\n<td>[ex.Date]</td>");92 format_map.put(HLIST, "[link][highlight][ex.Title][/highlight][/link]");93 format_map.put(VLIST, "<td valign=\"top\">[link][icon][/link]</td>\n<td valign=\"top\">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>\n<td valign=\"top\">[highlight]\n{Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}\n[/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>");94 format_map.put(DOCUMENTHEADING, "{Or}{[parent(Top):Title],[Title],untitled}<br>");95 format_map.put(DOCUMENTTEXT, "[Text]");96 format_map.put( DOCUMENTBUTTONS,"Detach|Highlight");97 format_map.put( "","");98 91 format_map.put(DATELIST, DATELIST_DEFAULT_FORMAT); 92 format_map.put(HLIST, HLIST_DEFAULT_FORMAT); 93 format_map.put(VLIST, VLIST_DEFAULT_FORMAT); 94 format_map.put(DOCUMENTHEADING, DOCUMENTHEADING_DEFAULT_FORMAT); 95 format_map.put(DOCUMENTTEXT, DOCUMENTTEXT_DEFAULT_FORMAT); 96 format_map.put(DOCUMENTBUTTONS, DOCUMENTBUTTONS_DEFAULT_FORMAT); 97 format_map.put("", ""); 98 99 99 DebugStream.println("FormatManager: parsed " + getSize() + " format statements."); 100 100 // Establish all of the format objects, so that classifier indexes are initially correct (subsequent refreshes of the model will be sufficient to keep these up to date, as long as we start with a live reference to a classifier. … … 681 681 } 682 682 else { 683 683 ///ystem.err.println("Value type"); 684 684 ///election_pane.add(part_pane); 685 685 card_layout.show(control_pane, VALUE);
Note:
See TracChangeset
for help on using the changeset viewer.