myBindingContext.bind(myFetchLimitText, new Property(myFetchSpecification, EOFetchSpecification.FETCH_LIMIT), new BindSpec(null, null, new RegexStringValidator("^[0-9]*$", "^[0-9]$", "Please enter a number"), null));
myBindingContext.bind(myFetchLimitText, new Property(myFetchSpecification, EOFetchSpecification.FETCH_LIMIT), new BindSpec(null, null, new RegexStringValidator("^[0-9]*$", "^[0-9]+$", "Please enter a number"), null));
	public void setInput(IWorkbenchPart _part, ISelection _selection) {		super.setInput(_part, _selection);		disposeBindings();		Object selectedObject = ((IStructuredSelection) _selection).getFirstElement();		myFetchSpecification = (EOFetchSpecification) selectedObject;		if (myFetchSpecification != null) {			myBindingContext = BindingFactory.createContext();			myBindingContext.bind(myFetchLimitText, new Property(myFetchSpecification, EOFetchSpecification.FETCH_LIMIT), new BindSpec(null, null, new RegexStringValidator("^[0-9]*$", "^[0-9]$", "Please enter a number"), null));			myBindingContext.bind(myPromptsAfterFetchLimitButton, new Property(myFetchSpecification, EOFetchSpecification.PROMPTS_AFTER_FETCH_LIMIT), null);			myBindingContext.bind(myDeepButton, new Property(myFetchSpecification, EOFetchSpecification.DEEP), null);			myBindingContext.bind(myUsesDistinctButton, new Property(myFetchSpecification, EOFetchSpecification.USES_DISTINCT), null);			myBindingContext.bind(myLockObjectsButton, new Property(myFetchSpecification, EOFetchSpecification.LOCKS_OBJECTS), null);			myBindingContext.bind(myRefreshesRefetchedObjectsButton, new Property(myFetchSpecification, EOFetchSpecification.REFRESHES_REFETCHED_OBJECTS), null);			myBindingContext.bind(myRequiresAllQualifierBindingVariablesButton, new Property(myFetchSpecification, EOFetchSpecification.REQUIRES_ALL_QUALIFIER_BINDING_VARIABLES), null);		}	}