Revision 8280 trunk/extensions/extGraph_predes/src/com/iver/cit/gvsig/graph/gui/RouteControPanel.java

View differences:

RouteControPanel.java
43 43
*
44 44
* $Id$
45 45
* $Log$
46
* Revision 1.3  2006-10-23 16:00:20  jaume
46
* Revision 1.4  2006-10-24 08:04:41  jaume
47 47
* *** empty log message ***
48 48
*
49
* Revision 1.3  2006/10/23 16:00:20  jaume
50
* *** empty log message ***
51
*
49 52
* Revision 1.2  2006/10/23 08:05:39  jaume
50 53
* GUI
51 54
*
......
102 105
    private JButton btnLoadStage = null;
103 106
    private JButton btnSaveStage = null;
104 107
    private ArrayList routeFlags;
105
    private ArrayList costs;
106
	private JLabel lblCost;
108
    private JLabel lblCost;
107 109
	private JLabel lblFlagAmout;
108 110
	private JButton btnPullDownStage;
109 111
	private JButton btnPushUpStage;
110 112
	private JButton btnRemoveStage;
111 113
	private JPanel southPanel;
112
	final String[] colName = new String[] {
113

  
114
	private final String[] colName = new String[] {
114 115
            PluginServices.getText(this, "enable"),
115 116
            PluginServices.getText(this, "stage"),
116 117
            PluginServices.getText(this, "cost"),
......
498 499
				_getFlags().set(selected[i], aux);
499 500
				selected[i]--;
500 501
				tblStages.addRowSelectionInterval(selected[i], selected[i]);
501

  
502 502
			}
503
			// move selection
504
			for (int i = 1; i < selected.length; i++) {
505
			}
503

  
506 504
		} else if (name.equals(getBtnPullDownStage().getName())) {
507 505
			// pull down
508 506
			int[] selected = tblStages.getSelectedRows();
......
517 515
				_getFlags().set(selected[i], aux);
518 516
				selected[i]++;
519 517
				tblStages.addRowSelectionInterval(selected[i], selected[i]);
520

  
521 518
			}
522 519

  
523
			// move selection
524
			for (int i = 1; i < selected.length; i++) {
525
			}
520

  
526 521
		} else if (name.equals(getBtnRemoveStage().getName())) {
527 522
			// remove
528 523
			int[] selected = tblStages.getSelectedRows();

Also available in: Unified diff