public void actionPerformed(ActionEvent e) {
				removeAtoms(viewer.getSelectionSet());
				if (selectedComponent instanceof Atom) {
					atomCopy.setAtom((Atom) selectedComponent);
					atomCopyIndex = ((Atom) selectedComponent).getIndex();
					setPastingObject(atomCopy);
				}
				else if (selectedComponent instanceof RBond) {
					removeRBond((RBond) selectedComponent);
				}
				else if (selectedComponent instanceof ABond) {
					removeABond((ABond) selectedComponent);
				}
				else if (selectedComponent instanceof TBond) {
					removeTBond((TBond) selectedComponent);
				}
				if (obstacleIndexAndFace != null)
					removeObstacle(obstacleIndexAndFace[0]);
				repaint();
				model.notifyChange();
			}