Changeset 10531 for trunk/gli/src/org
- Timestamp:
- 2005-08-19T11:38:10+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/CreatePane.java
r10517 r10531 472 472 */ 473 473 public synchronized void message(GShellEvent event) { 474 // Ignore the messages from RecPlug with 'show_progress' set(used for progress bars)474 // Ignore the messages from RecPlug (used for progress bars) 475 475 if (event.getMessage().startsWith("import.pl> RecPlug - ")) { 476 476 return; … … 638 638 String extra_args = ""; 639 639 SearchTypeManager st_man = current_collection.cdm.searchtype_manager; 640 if (!Gatherer.GS3 && st_man.isMGPPEnabled()) { 640 if (!Gatherer.GS3 && st_man.isSearchTypeEnabled()) { 641 if (st_man.isMGPP()) { 642 extra_args = "&ct=1"; 643 } else if (st_man.isLucene()) { 644 extra_args = "&ct=2"; 645 } 641 646 // we need some more args on the url 642 647 String search_types = st_man.getSearchTypes(); 643 648 if (search_types.equals("")) { 644 extra_args = "&ct=1&qt=0&qto=3";649 extra_args += "&qt=0&qto=3"; 645 650 } else if (search_types.equals("plain")) { 646 extra_args = "&ct=1&qt=0&qto=1";651 extra_args += "&qt=0&qto=1"; 647 652 } else if (search_types.equals("form")) { 648 extra_args = "&ct=1&qt=1&qto=2";653 extra_args += "&qt=1&qto=2"; 649 654 } else if (search_types.equals("plain,form")) { 650 extra_args = "&ct=1&qt=0&qto=3";655 extra_args += "&qt=0&qto=3"; 651 656 } else if (search_types.equals("form,plain")) { 652 extra_args = "&ct=1&qt=1&qto=3";657 extra_args += "&qt=1&qto=3"; 653 658 } 654 659 } … … 681 686 //Only design options have changes, and we want to be smart in the way we handle them. 682 687 int rebuildTypeRequired = CollectionDesignManager.getRebuildTypeRequired(); 683 684 688 if(rebuildTypeRequired == CollectionDesignManager.UPDATE_COLLECT_CFG && Gatherer.isGsdlRemote) { 685 689 //Special case when the GLI is an applet: Upload the collect.cfg to server … … 688 692 } 689 693 else if(rebuildTypeRequired == CollectionDesignManager.BUILDCOL) { 694 690 695 //Just run the buildcol command. 691 696 DebugStream.println("Just want to run buildcol.pl");
Note:
See TracChangeset
for help on using the changeset viewer.