String inverseName = myInverseNameText.getText(); if (myOriginalInverseName == null || ComparisonUtils.equals(inverseName, myOriginalInverseName)) { String newName = myRelationship.getDestination()._findUnusedRelationshipName(myRelationship.getEntity().getName(), myInverseToManyButton.getSelection()); myInverseNameText.setText(newName); myOriginalInverseName = newName; } if (!myInverseToManyButton.getSelection()) { myToManyButton.setSelection(true); }
	public void toManyChanged() {		String name = myNameText.getText();		if (myOriginalName == null || ComparisonUtils.equals(name, myOriginalName)) {			String newName = myRelationship.getEntity()._findUnusedRelationshipName(myRelationship.getDestination().getName(), myToManyButton.getSelection());			myNameText.setText(newName);			myOriginalName = newName;		}		if (!myToManyButton.getSelection()) {			myInverseToManyButton.setSelection(true);		}		_checkManyToMany();	}