Ignore:
Timestamp:
2010-03-30T16:23:39+02:00 (15 years ago)
Author:
roland
Message:

Public Transport Plugin: Using some Commands

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/public_transport/src/public_transport/StopImporterAction.java

    r20749 r20751  
    862862    else if ("stopImporter.waypointsDetach".equals(event.getActionCommand()))
    863863    {
    864 /*      if (dialog.getWaypointsTable().getSelectedRowCount() > 0)
    865       {
    866         for (int i = 0; i < waypointTM.getRowCount(); ++i)
    867         {
    868           if ((dialog.getWaypointsTable().isRowSelected(i)) &&
    869                       (waypointTM.nodes.elementAt(i) != null))
    870           {
    871             waypointTM.nodes.set(i, null);
    872           }
    873         }
    874       }
    875       else
    876       {
    877         for (int i = 0; i < waypointTM.getRowCount(); ++i)
    878         {
    879           if (waypointTM.nodes.elementAt(i) != null)
    880             waypointTM.nodes.set(i, null);
    881         }
    882       }*/
    883864      Main.main.undoRedo.add(new WaypointsDetachCommand(this));
    884865      dialog.getWaypointsTable().clearSelection();
Note: See TracChangeset for help on using the changeset viewer.