public void removeAllBusStops ( ) { for ( final BusStop busStop : this . validBusStops ) { busStop . setContainer ( null ) ; busStop . setEventFirable ( true ) ; } for ( final BusStop busStop : this . invalidBusStops ) { busStop . setContainer ( null ) ; busStop . setEventFirable ( true ) ; } this . validBusStops . clear ( ) ; this . invalidBusStops . clear ( ) ; fireShapeChanged ( new BusChangeEvent ( this , BusChangeEventType . ALL_STOPS_REMOVED , null , - 1 , "shape" , //$NON-NLS-1$ null , null ) ) ; revalidate ( ) ; }
Remove all the bus stops from the current network .