Changeset 4416
- Timestamp:
- 2003-05-30T12:09:17+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/custom/CustomAZList.java
r4363 r4416 55 55 import org.greenstone.gatherer.valuetree.GValueModel; 56 56 import org.greenstone.gatherer.valuetree.GValueNode; 57 import org.greenstone.gatherer.gui.SimpleMenuBar; 58 import org.greenstone.gatherer.gui.ModalDialog; 57 59 import org.w3c.dom.*; 58 60 /** Provides the functionality for a custom AZList, including a GUI for configuration of this classifier. … … 97 99 final static private Dimension LABEL_SIZE = new Dimension(200,25); 98 100 /** The size of the controls for this pseudo-classifier. */ 99 final static private Dimension SIZE = new Dimension(550,4 00);101 final static private Dimension SIZE = new Dimension(550,425); 100 102 /** An array of values for the separators. */ 101 103 final static private String VALUES[] = {"Numbers", "A", "B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"}; … … 155 157 if(controls == null) { 156 158 Vector elements = gatherer.c_man.getCollection().msm.getAssignedElements(); 157 158 controls = new JDialog();159 // Creation 160 controls = new ModalDialog(gatherer.g_man); 159 161 controls.setModal(true); 160 162 controls.setSize(SIZE); 161 163 controls.setTitle(get("Title_JDialog")); 164 controls.setJMenuBar(new SimpleMenuBar("7.7")); 162 165 JPanel content_pane = (JPanel) controls.getContentPane(); 163 166 JPanel upper_pane = new JPanel(); … … 253 256 screen_size = null; 254 257 if(show) { 255 controls.s how();258 controls.setVisible(true); 256 259 // Create the new metadata, hierarchy etc. 257 260 if(process) { … … 268 271 else { 269 272 process = false; 270 controls.s how();273 controls.setVisible(true); 271 274 if(process) { 272 275 process((ElementWrapper)metadata.getSelectedItem(), getPreview(false));
Note:
See TracChangeset
for help on using the changeset viewer.