Changeset 10552


Ignore:
Timestamp:
2005-08-23T15:08:42+12:00 (19 years ago)
Author:
kjdon
Message:

removed the commented out references to old 'beta' element of config file

Location:
trunk/gli/src/org/greenstone/gatherer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/GeneralManager.java

    r10511 r10552  
    147147    private boolean has_been_warned = false;
    148148    private boolean ready = false;
    149     //private CollectionMeta beta_collectionmeta;
    150149    private CollectionMeta collection_extra_collectionmeta;
    151150    private CollectionMeta collection_name_collectionmeta;
     
    163162    /** Button to browse for the collection home page icon. */
    164163    private JButton browse_home_icon_button;
    165     /** The checkbox controlling the state of the collection. */
    166     //private JCheckBox beta_checkbox;
    167164    /** The checkbox controlling public access to the collection. */
    168165    private JCheckBox public_checkbox;
     
    187184        super();
    188185        // Retrieve some of the model elements, those we know aren't language dependant
    189         //beta_collectionmeta = new CollectionMeta(CollectionDesignManager.collect_config.getBeta());
    190186        public_collectionmeta = new CollectionMeta(CollectionDesignManager.collect_config.getPublic());
    191187
     
    246242        Dictionary.registerText(browse_home_icon_button, "General.Browse");
    247243
    248         // public and beta
     244        // public
    249245        JPanel box_panel = new JPanel();
    250246        public_checkbox = new JCheckBox("", public_collectionmeta.getValue(CollectionMeta.TEXT).equals(CollectionConfiguration.TRUE_STR));
    251247        Dictionary.registerText(public_checkbox, "CDM.General.Access");
    252         //beta_checkbox = new JCheckBox("", beta_collectionmeta.getValue(CollectionMeta.TEXT).equals(CollectionConfiguration.TRUE_STR));
    253         //Dictionary.registerText(beta_checkbox, "CDM.General.Beta");
    254248
    255249        JPanel description_panel = new JPanel();
     
    260254        Dictionary.registerTooltip(description_textarea, "CDM.General.Collection_Extra_Tooltip");
    261255        // Connection
    262         //beta_checkbox.addActionListener(CollectionDesignManager.change_listener);
    263256        BrowseListener browse_listener = new BrowseListener(StaticStrings.IMAGES_PATH_RELATIVE_TO_GSDL_PREFIX);
    264257        browse_about_icon_button.addActionListener(browse_listener);
     
    334327        box_panel.setLayout(new GridLayout(1,1,5,2));
    335328        box_panel.add(public_checkbox);
    336         //box_panel.add(beta_checkbox);
    337329
    338330        description_panel.setLayout(new BorderLayout());
     
    382374        // I forgot to keep the checkboxes up to date. Why hasn't this caused problems before today?
    383375        public_checkbox.setSelected(public_collectionmeta.getValue(CollectionMeta.TEXT).equals(CollectionConfiguration.TRUE_STR));
    384         //beta_checkbox.setSelected(beta_collectionmeta.getValue(CollectionMeta.TEXT).equals(CollectionConfiguration.TRUE_STR));
    385376        ready = true;
    386377    }
     
    424415        if(ready) {
    425416        // Boolean values
    426         //beta_collectionmeta.setValue((beta_checkbox.isSelected() ? CollectionConfiguration.TRUE_STR : CollectionConfiguration.FALSE_STR));
    427417        public_collectionmeta.setValue((public_checkbox.isSelected() ? CollectionConfiguration.TRUE_STR : CollectionConfiguration.FALSE_STR));
    428418        String creator_email_str = creator_emailfield.getText();
  • trunk/gli/src/org/greenstone/gatherer/util/StaticStrings.java

    r10540 r10552  
    6262    static final public String COLLECTION_ELEMENT                         = "Collection";
    6363    static final public String COLLECTION_STR                             = "Collection: ";
    64     static final public String COLLECTIONMETADATA_BETA_ELEMENT            = "Beta";
    65     static final public String COLLECTIONMETADATA_BETA_STR                = "beta";
    6664    static final public String COLLECTIONMETADATA_COLLECTIONNAME_STR      = "collectionname";
    6765    static final public String COLLECTIONMETADATA_COLLECTIONEXTRA_STR     = "collectionextra";
Note: See TracChangeset for help on using the changeset viewer.