}
}
protected DataBindingContext initDataBindings() {
DataBindingContext bindingContext = new DataBindingContext();
//
IObservableValue soClassTextObserveTextObserveWidget = SWTObservables.observeText(soClassText, SWT.Modify);
IObservableValue soTypeObserveValue = BeansObservables.observeValue(so, "type");
bindingContext.bindValue(soClassTextObserveTextObserveWidget, soTypeObserveValue, null, null);
//
IObservableValue dialogDurationComboObserveSelectionObserveWidget = SWTObservables.observeSelection(dialogDurationCombo);
IObservableValue soDialogDurationObserveValue = BeansObservables.observeValue(so, "dialogDuration");
bindingContext.bindValue(dialogDurationComboObserveSelectionObserveWidget, soDialogDurationObserveValue, null, null);
//
IObservableValue uUIDTextObserveTextObserveWidget = SWTObservables.observeText(UUIDText, SWT.NONE);
IObservableValue soUuidObserveValue = BeansObservables.observeValue(so, "uuid");
bindingContext.bindValue(uUIDTextObserveTextObserveWidget, soUuidObserveValue, null, null);
//
IObservableValue visabilityComboObserveSelectionObserveWidget = SWTObservables.observeSelection(visabilityCombo);
IObservableValue soVisabilityObserveValue = BeansObservables.observeValue(so, "visability");
bindingContext.bindValue(visabilityComboObserveSelectionObserveWidget, soVisabilityObserveValue, null, null);
//
IObservableValue btnLoadBalancedObserveSelectionObserveWidget = SWTObservables.observeSelection(btnLoadBalanced);
IObservableValue soLoadBalanceObserveValue = BeansObservables.observeValue(so, "loadBalance");
bindingContext.bindValue(btnLoadBalancedObserveSelectionObserveWidget, soLoadBalanceObserveValue, null, null);
//
IObservableValue soNameTextObserveTextObserveWidget = SWTObservables.observeText(soNameText, SWT.Modify);
IObservableValue soToolNameObserveValue = BeansObservables.observeValue(so, "toolName");
UpdateValueStrategy strategy = new UpdateValueStrategy();
strategy.setAfterConvertValidator(new ToolNameValidator(soNameText));
bindingContext.bindValue(soNameTextObserveTextObserveWidget, soToolNameObserveValue, strategy, null);
//
IObservableValue searchPathTextObserveTextObserveWidget = SWTObservables.observeText(searchPathText, SWT.Modify);
IObservableValue soSearchPathObserveValue = BeansObservables.observeValue(so, "searchPath");
bindingContext.bindValue(searchPathTextObserveTextObserveWidget, soSearchPathObserveValue, null, null);
//
IObservableValue resourceNameTextObserveTextObserveWidget = SWTObservables.observeText(resourceNameText, SWT.Modify);
IObservableValue soResourceNameObserveValue = BeansObservables.observeValue(so, "resourceName");
bindingContext.bindValue(resourceNameTextObserveTextObserveWidget, soResourceNameObserveValue, null, null);
//
IObservableValue userNameTextObserveTextObserveWidget = SWTObservables.observeText(userNameText, SWT.Modify);
IObservableValue soUserNameObserveValue = BeansObservables.observeValue(so, "userName");
bindingContext.bindValue(userNameTextObserveTextObserveWidget, soUserNameObserveValue, null, null);
//
IObservableValue userPasswordTextObserveTextObserveWidget = SWTObservables.observeText(userPasswordText, SWT.Modify);
IObservableValue soUserPasswordObserveValue = BeansObservables.observeValue(so, "userPassword");
bindingContext.bindValue(userPasswordTextObserveTextObserveWidget, soUserPasswordObserveValue, null, null);
//
IObservableValue managerTextObserveTextObserveWidget = SWTObservables.observeText(managerText, SWT.Modify);
IObservableValue soExternalManagerObserveValue = BeansObservables.observeValue(so, "externalManager");
bindingContext.bindValue(managerTextObserveTextObserveWidget, soExternalManagerObserveValue, null, null);
//
IObservableValue lookupButtonObserveVisibleObserveWidget = SWTObservables.observeVisible(lookupButton);
IObservableValue soToolSOObserveValue = BeansObservables.observeValue(so, "toolSO");
bindingContext.bindValue(lookupButtonObserveVisibleObserveWidget, soToolSOObserveValue, null, null);
//
IObservableValue soClassTextObserveEditableObserveWidget = SWTObservables.observeEditable(soClassText);
bindingContext.bindValue(soClassTextObserveEditableObserveWidget, soToolSOObserveValue, null, null);
//
IObservableValue lblManagerObserveVisibleObserveWidget = SWTObservables.observeVisible(lblManager);
IObservableValue soDatabaseSOObserveValue = BeansObservables.observeValue(so, "databaseSO");
bindingContext.bindValue(lblManagerObserveVisibleObserveWidget, soDatabaseSOObserveValue, null, null);
//
IObservableValue managerTextObserveVisibleObserveWidget = SWTObservables.observeVisible(managerText);
bindingContext.bindValue(managerTextObserveVisibleObserveWidget, soDatabaseSOObserveValue, null, null);
//
IObservableValue lblUserNameObserveVisibleObserveWidget = SWTObservables.observeVisible(lblUserName);
IObservableValue soDBSessionSOObserveValue = BeansObservables.observeValue(so, "DBSessionSO");
bindingContext.bindValue(lblUserNameObserveVisibleObserveWidget, soDBSessionSOObserveValue, null, null);
//
IObservableValue userNameTextObserveVisibleObserveWidget = SWTObservables.observeVisible(userNameText);
bindingContext.bindValue(userNameTextObserveVisibleObserveWidget, soDBSessionSOObserveValue, null, null);
//
IObservableValue lblUserPasswordObserveVisibleObserveWidget = SWTObservables.observeVisible(lblUserPassword);
bindingContext.bindValue(lblUserPasswordObserveVisibleObserveWidget, soDBSessionSOObserveValue, null, null);
//
IObservableValue userPasswordTextObserveVisibleObserveWidget = SWTObservables.observeVisible(userPasswordText);
bindingContext.bindValue(userPasswordTextObserveVisibleObserveWidget, soDBSessionSOObserveValue, null, null);
//
IObservableValue lblResourceManagerObserveVisibleObserveWidget = SWTObservables.observeVisible(lblResourceManager);
bindingContext.bindValue(lblResourceManagerObserveVisibleObserveWidget, soDBSessionSOObserveValue, null, null);
//
IObservableValue resourceNameTextObserveVisibleObserveWidget = SWTObservables.observeVisible(resourceNameText);
bindingContext.bindValue(resourceNameTextObserveVisibleObserveWidget, soDBSessionSOObserveValue, null, null);
//
return bindingContext;
}