public void removeAllBusItineraries ( ) { for ( final BusItinerary itinerary : this . itineraries ) { itinerary . setContainer ( null ) ; itinerary . setEventFirable ( true ) ; } this . itineraries . clear ( ) ; fireShapeChanged ( new BusChangeEvent ( this , BusChangeEventType . ALL_ITINERARIES_REMOVED , null , - 1 , "shape" , //$NON-NLS-1$ null , null ) ) ; checkPrimitiveValidity ( ) ; }
Remove all the bus itineraries from the current line .