Changeset 1376 in josm
- Timestamp:
- 2009-02-07T22:52:18+01:00 (16 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/RelationEditor.java
r1368 r1376 6 6 import java.awt.BorderLayout; 7 7 import java.awt.Dimension; 8 import java.awt.FlowLayout; 8 9 import java.awt.GridBagLayout; 9 10 import java.awt.GridLayout; … … 247 248 }); 248 249 250 /* I don't like this text any more. Let's just get on with doing the specialist 251 * editors instead of talking about it. 249 252 JLabel help = new JLabel("<html><em>"+ 250 253 tr("This is the basic relation editor which allows you to change the relation's tags " + … … 252 255 "detects the type of relationship and limits your choices in a sensible way.")+"</em></html>"); 253 256 getContentPane().add(help, BorderLayout.NORTH); 257 */ 254 258 try { setAlwaysOnTop(true); } catch (SecurityException sx) {} 255 259 … … 346 350 } 347 351 348 JPanel buttonPanel = new JPanel(new GridLayout(1,3)); 352 // this is not exactly pretty but the four buttons simply don't fit in one line. 353 // we should have smaller buttons for situations like this. 354 JPanel buttonPanel = new JPanel(new GridLayout(2,2)); 349 355 350 356 buttonPanel.add(createButton(marktr("Add Selected"),"addselected", … … 355 361 })); 356 362 357 buttonPanel.add(createButton(marktr(" Delete Selected"),"deleteselected",358 tr(" Delete all currently selected objects from relation"), KeyEvent.VK_R, new ActionListener() {363 buttonPanel.add(createButton(marktr("Remove Selected"),"removeselected", 364 tr("Remove all currently selected objects from relation"), KeyEvent.VK_R, new ActionListener() { 359 365 public void actionPerformed(ActionEvent e) { 360 366 deleteSelected(); … … 362 368 })); 363 369 364 buttonPanel.add(createButton(marktr(" Delete"),"delete",370 buttonPanel.add(createButton(marktr("Remove"),"remove", 365 371 tr("Remove the member in the current table row from this relation"), KeyEvent.VK_D, new ActionListener() { 366 372 public void actionPerformed(ActionEvent e) {
Note:
See TracChangeset
for help on using the changeset viewer.