@Override
	public void actionPerformed(ActionEvent e) {
		Object source = e.getSource();
		if (source == addVehicle) {
			addVehicle();
		} else if (source == removeVehicle) {
			removeVehicle();
		} else if (source instanceof Vehicle) {
			Vehicle vehicle = (Vehicle) source;
			if (e.getActionCommand().equals(Constants.OPERATION_CREATE)) {
				addVehicle(vehicle);
			} else if (e.getActionCommand().equals(Constants.OPERATION_UPDATE)) {
				updateVehicle(vehicle);
			} else if (e.getActionCommand().equals(Constants.OPERATION_DELETE)) {
				removeVehicle(vehicle);
			}
		}
	}