@Override
	public void startSetup(Attributes atts) {

		// Add this menuItem to the parent menu.
		Preference pref = (Preference) GUITreeLoader.elementStack.get(GUITreeLoader.elementStack.size() - 2);
		pref.setValidator(this);
	}