Changeset 16400
- Timestamp:
- 2008-07-14T19:46:21+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/gui/CreatePane.java
r16148 r16400 62 62 import org.greenstone.gatherer.util.Utility; 63 63 64 import org.greenstone.gatherer.collection.CollectionManager; 64 65 65 66 /** This class provides a GUI view showing some statistics on your current collection, and options for building it. As the collection is built this initial view is replaced with one showing progress bars and a message log of the creation process. This log can be later accessed via the options tree located in the center of the initial pane. This class is also responsible for creating the GShellProgressMonitors that are then attatched to external shell processes, and calling the methods in the CollectionManager for actually importing and building the collection. <br><BR> … … 364 365 sargument_configuration_panel = options_pane.buildImport(null); 365 366 sargument_configuration_panel = options_pane.buildBuild(sargument_configuration_panel); 366 sargument_configuration_panel = options_pane.buildSchedule(sargument_configuration_panel); 367 if(CollectionManager.canDoScheduling()) { 368 sargument_configuration_panel = options_pane.buildSchedule(sargument_configuration_panel); 369 } 367 370 } 368 371 else { … … 484 487 sargument_configuration_panel = options_pane.buildImport(null); 485 488 sargument_configuration_panel = options_pane.buildBuild(sargument_configuration_panel); 486 sargument_configuration_panel = options_pane.buildSchedule(sargument_configuration_panel); 489 if(CollectionManager.canDoScheduling()) { 490 sargument_configuration_panel = options_pane.buildSchedule(sargument_configuration_panel); 491 } 487 492 } 488 493 else { … … 626 631 sargument_configuration_panel = options_pane.buildImport(null); 627 632 sargument_configuration_panel = options_pane.buildBuild(sargument_configuration_panel); 628 sargument_configuration_panel = options_pane.buildSchedule(sargument_configuration_panel); 633 if(CollectionManager.canDoScheduling()) { 634 sargument_configuration_panel = options_pane.buildSchedule(sargument_configuration_panel); 635 } 629 636 sargument_configuration_scroll = new JScrollPane(sargument_configuration_panel); 630 637 sargument_configuration_scroll.setPreferredSize(ARGUMENT_SIZE); … … 982 989 //target_pane.add(previous_pane, BorderLayout.CENTER); 983 990 } 984 else if(node != null && node.equals(scheduling) ) {991 else if(node != null && node.equals(scheduling) && CollectionManager.canDoScheduling()) { 985 992 build_button.setActionCommand(Dictionary.get("CreatePane.Schedule_Build")); 986 993 build_button.setText(Dictionary.get("CreatePane.Schedule_Build"));
Note:
See TracChangeset
for help on using the changeset viewer.