@Override
	public void actionPerformed(ActionEvent e) {
		Object source = e.getSource();
		if (source == addLocation) {
			addLocation();
		} else if (source == removeLocation) {
			removeLocation();
		} else if (source instanceof Location) {
			Location location = (Location) source;
			if (e.getActionCommand().equals(Constants.OPERATION_CREATE)) {
				addLocation(location);
			} else if (e.getActionCommand().equals(Constants.OPERATION_DELETE)) {
				removeLocation(location);
			} else if (e.getActionCommand().equals(Constants.OPERATION_UPDATE)) {
				updateLocation(location);
			}
		}
	}