예제 #1
0
파일: AirportModel.java 프로젝트: bily/fsxp
 public void removeTaxiwayParkingModel(TaxiwayParkingModel taxiwayParkingModel) {
   taxiwayParkingModel.removePropertyChangeListener(this);
   taxiwayParkingHM.remove(new Integer(taxiwayParkingModel.getIndex()));
   for (int i = taxiwayPathAL.size() - 1; i >= 0; i--)
     if (((TaxiwayPathModel) taxiwayPathAL.get(i)).getType().equals("PARKING")
         && ((TaxiwayPathModel) taxiwayPathAL.get(i)).getEnd() == taxiwayParkingModel.getIndex())
       taxiwayPathAL.remove(i);
 }
예제 #2
0
파일: AirportModel.java 프로젝트: bily/fsxp
 public void addTaxiwayParkingModel(TaxiwayParkingModel taxiwayParkingModel) {
   taxiwayParkingModel.addPropertyChangeListener(this);
   taxiwayParkingHM.put(new Integer(taxiwayParkingModel.getIndex()), taxiwayParkingModel);
 }