@Override
	public void mousePressed(MouseEvent arg0) {
		try {
			UMLButton selected_button = ButtonFinder.getSelectedButton(tool_buttons);
			if(selected_button != null && selected_button.class_or_assoc == null) {
				if(selected_button.getText().equals("Delete")) {
					deleteAt(arg0);
				}
				else
					return;
			}
			else if(selected_button != null && selected_button.class_or_assoc.equals("Class"))
				handleClassPlacement(arg0, selected_button);
			else if(selected_button != null && selected_button.class_or_assoc.equals("Association"))
				handleAssociationPlacement(arg0, selected_button);
		}
		catch(Exception e) {
			return;
		}
	}