Changeset 4430


Ignore:
Timestamp:
2003-05-30T14:28:19+12:00 (21 years ago)
Author:
mdewsnip
Message:

Now uses radio buttons instead of toggle buttons, to make the interaction mode more obvious.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/msm/ExportMDSPrompt.java

    r4418 r4430  
    7272    private JTextField file_name = null;
    7373    /** Ths button that, if selected, signifies you wish to export the metadata set with all values. */
    74     private JToggleButton all_values = null;
     74    private JRadioButton all_values = null;
    7575    /** The button that, if selected, signifies you wish to export the metadata set without any values (ie no mdv files). */
    76     private JToggleButton no_values = null;
     76    private JRadioButton no_values = null;
    7777    /** The button that, if selected, signifies you wish to export the metadata set with only those values that are subject nodes in the hierarchy. */
    78     private JToggleButton structure_only = null;
     78    private JRadioButton structure_only = null;
    7979    /** A reference to the metadata set manager. */
    8080    private MetadataSetManager manager;
     
    112112    JPanel condition_pane = new JPanel();
    113113    ButtonGroup condition_group = new ButtonGroup();
    114     all_values = new JToggleButton(get("Export_All_Values"));
     114    all_values = new JRadioButton(get("Export_All_Values"));
     115    all_values.setOpaque(false);
    115116    condition_group.add(all_values);
    116     no_values = new JToggleButton(get("Export_No_Values"));
     117    no_values = new JRadioButton(get("Export_No_Values"));
     118    no_values.setOpaque(false);
    117119    condition_group.add(no_values);
    118     structure_only = new JToggleButton(get("Export_Subjects_Only"));
     120    structure_only = new JRadioButton(get("Export_Subjects_Only"));
     121    structure_only.setOpaque(false);
    119122    condition_group.add(structure_only);
    120123    all_values.setSelected(true);
Note: See TracChangeset for help on using the changeset viewer.