private void deselectAll() {
		view.setImageSelectionSet(null);
		view.setLineSelectionSet(null);
		view.setRectangleSelectionSet(null);
		view.setEllipseSelectionSet(null);
		view.setTextBoxSelectionSet(null);
		model.setParticleSelectionSet(null);
		if (model instanceof MolecularModel) {
			MolecularModel mm = (MolecularModel) model;
			mm.bonds.setSelectionSet(null);
			mm.bends.setSelectionSet(null);
			mm.molecules.setSelectionSet(null);
			mm.obstacles.setSelectionSet(null);
		}
	}