}
}
// If blocking region can be added, adds it to graph window, otherwise
// deletes it
if (canBeAdded && stations.size() > 0) {
BlockingRegion bl = new BlockingRegion(this, regionKey);
Object[] stationCells = stations.keySet().toArray();
bl.addStations(stationCells);
// Adds stations to blocking region into data structure
for (Object stationCell : stationCells) {
model.addRegionStation(regionKey, stations.get(stationCell));
}
} else {