public int getCurrentPartIndex(Part p) {
		ArrayList<Part> filtPart = getFilteredParts();
		for (int i = 0; i<filtPart.size();i++) {
			if (p.equals(filtPart.get(i)))
				return i;
		}
		return -1;
	}