Ignore:
Timestamp:
2004-10-07T16:44:32+13:00 (20 years ago)
Author:
mdewsnip
Message:

Replaced all "Gatherer.config" with "Configuration".

File:
1 edited

Legend:

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

    r8018 r8231  
    124124    }
    125125    ArrayList build_arguments = new ArrayList();
    126     int current_mode = Gatherer.config.getMode();
     126    int current_mode = Configuration.getMode();
    127127    int total_build_argument_count = build_options.getBuildArgumentCount();       
    128128    for(int i = 0; i < total_build_argument_count; i++) {
     
    142142        pane = new JPanel();
    143143        pane.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
    144         pane.setBackground(Gatherer.config.getColor("coloring.collection_tree_background", false));
     144        pane.setBackground(Configuration.getColor("coloring.collection_tree_background", false));
    145145        int argument_count = build_arguments.size();
    146146        // If in any of the higher detail modes, and assuming we don't want super phat argument controls, we better ensure there is a minimum number or lines in the grid layout
     
    184184    }
    185185    ArrayList import_arguments = new ArrayList();
    186     int current_mode = Gatherer.config.getMode();
     186    int current_mode = Configuration.getMode();
    187187    int total_import_argument_count = build_options.getImportArgumentCount();       
    188188    for(int i = 0; i < total_import_argument_count; i++) {
     
    202202        pane = new JPanel();
    203203        pane.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
    204         pane.setBackground(Gatherer.config.getColor("coloring.collection_tree_background", false));
     204        pane.setBackground(Configuration.getColor("coloring.collection_tree_background", false));
    205205        int argument_count = import_arguments.size();
    206206        // If in any of the higher detail modes, and assuming we don't want super phat argument controls, we better ensure there is a minimum number or lines in the grid layout
     
    392392        String tooltip = Utility.formatHTMLWidth("<html>" + argument.getDescription() + "</html>", 60);
    393393        // Because of the dynamic order of component creation/connection/layout, we can't really follow that pattern here.
    394         setBackground(Gatherer.config.getColor("coloring.collection_tree_background", false));
     394        setBackground(Configuration.getColor("coloring.collection_tree_background", false));
    395395        setBorder(BorderFactory.createEmptyBorder(2,0,2,0));
    396396        setLayout(new BorderLayout());
Note: See TracChangeset for help on using the changeset viewer.