Changeset 12745


Ignore:
Timestamp:
2006-09-14T16:51:01+12:00 (17 years ago)
Author:
kjdon
Message:

commented out the workflow stuff. it doesn't work properly, and its a bit dumb having it here anyway. workflows can still be changed by editing the config file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gui/Preferences.java

    r12633 r12745  
    113113    tab_pane.addTab(Dictionary.get("Preferences.General"), null, general_preferences, Dictionary.get("Preferences.General_Tooltip"));
    114114    tab_pane.addTab(Dictionary.get("Preferences.Mode"), null, createModePreferences(), Dictionary.get("Preferences.Mode_Tooltip"));
    115     tab_pane.addTab(Dictionary.get("Preferences.Workflow"), null, createWorkflowPreferences(), Dictionary.get("Preferences.Workflow_Tooltip"));
     115    //  tab_pane.addTab(Dictionary.get("Preferences.Workflow"), null, createWorkflowPreferences(), Dictionary.get("Preferences.Workflow_Tooltip"));
    116116    JPanel connection_preferences = createConnectionPreferences();
    117117    tab_pane.addTab(Dictionary.get("Preferences.Connection"), null, connection_preferences, Dictionary.get("Preferences.Connection_Tooltip"));
     
    764764
    765765        // Workflow preferences
    766         Configuration.set("workflow.download", false, workflow_download.isSelected());
    767         Configuration.set("workflow.gather", false, workflow_gather.isSelected());
    768         Configuration.set("workflow.enrich", false, workflow_enrich.isSelected());
    769         Configuration.set("workflow.design", false, workflow_design.isSelected());
    770         Configuration.set("workflow.create", false, workflow_create.isSelected());
    771         Configuration.set("workflow.format", false, workflow_format.isSelected());
     766//      Configuration.set("workflow.download", false, workflow_download.isSelected());
     767//      Configuration.set("workflow.gather", false, workflow_gather.isSelected());
     768//      Configuration.set("workflow.enrich", false, workflow_enrich.isSelected());
     769//      Configuration.set("workflow.design", false, workflow_design.isSelected());
     770//      Configuration.set("workflow.create", false, workflow_create.isSelected());
     771//      Configuration.set("workflow.format", false, workflow_format.isSelected());
    772772       
    773         Gatherer.g_man.workflowUpdate("Download", workflow_download.isSelected());
    774         Gatherer.g_man.workflowUpdate("Gather", workflow_gather.isSelected());
    775         Gatherer.g_man.workflowUpdate("Enrich", workflow_enrich.isSelected());
    776         Gatherer.g_man.workflowUpdate("Design", (workflow_design.isSelected() && Configuration.getMode() > Configuration.ASSISTANT_MODE));
    777         Gatherer.g_man.workflowUpdate("Create", workflow_create.isSelected());
    778         Gatherer.g_man.workflowUpdate("Format", workflow_format.isSelected());
     773//      Gatherer.g_man.workflowUpdate("Download", workflow_download.isSelected());
     774//      Gatherer.g_man.workflowUpdate("Gather", workflow_gather.isSelected());
     775//      Gatherer.g_man.workflowUpdate("Enrich", workflow_enrich.isSelected());
     776//      Gatherer.g_man.workflowUpdate("Design", (workflow_design.isSelected() && Configuration.getMode() > Configuration.ASSISTANT_MODE));
     777//      Gatherer.g_man.workflowUpdate("Create", workflow_create.isSelected());
     778//      Gatherer.g_man.workflowUpdate("Format", workflow_format.isSelected());
    779779
    780780        // Always save configuration changes immediately (in case the GLI crashes)
Note: See TracChangeset for help on using the changeset viewer.