return result;
}
protected DataBindingContext initDataBindings() {
DataBindingContext bindingContext = new DataBindingContext();
//
IObservableValue nameTextObserveTextObserveWidget = SWTObservables.observeText(nameText, SWT.Modify);
IObservableValue modelNameObserveValue = BeansObservables.observeValue(model, "toolName");
bindingContext.bindValue(nameTextObserveTextObserveWidget, modelNameObserveValue, null, null);
//
IObservableValue libraryNameTextObserveTextObserveWidget = SWTObservables.observeText(libraryNameText, SWT.Modify);
IObservableValue modelLibraryNameObserveValue = BeansObservables.observeValue(model, "libraryName");
bindingContext.bindValue(libraryNameTextObserveTextObserveWidget, modelLibraryNameObserveValue, null, null);
//
IObservableValue txtStartclassObserveTextObserveWidget = SWTObservables.observeText(txtStartclass, SWT.FocusOut);
IObservableValue modelStartClassObserveValue = BeansObservables.observeValue(model, "startClass");
bindingContext.bindValue(txtStartclassObserveTextObserveWidget, modelStartClassObserveValue, null, null);
//
IObservableValue txtStartmethodObserveTextObserveWidget = SWTObservables.observeText(txtStartmethod, SWT.FocusOut);
IObservableValue modelStartMethodObserveValue = BeansObservables.observeValue(model, "startMethod");
bindingContext.bindValue(txtStartmethodObserveTextObserveWidget, modelStartMethodObserveValue, null, null);
//
IObservableValue btnCheckButtonObserveSelectionObserveWidget = SWTObservables.observeSelection(btnCheckButton);
IObservableValue modelRestrictedObserveValue = BeansObservables.observeValue(model, "restricted");
bindingContext.bindValue(btnCheckButtonObserveSelectionObserveWidget, modelRestrictedObserveValue, null, null);
//
IObservableValue btnMultithreadedObserveSelectionObserveWidget = SWTObservables.observeSelection(btnMultithreaded);
IObservableValue modelMultiThreadedObserveValue = BeansObservables.observeValue(model, "multiThreaded");
bindingContext.bindValue(btnMultithreadedObserveSelectionObserveWidget, modelMultiThreadedObserveValue, null, null);
//
IObservableValue btnInternalObserveSelectionObserveWidget = SWTObservables.observeSelection(btnInternal);
IObservableValue modelInternalObserveValue = BeansObservables.observeValue(model, "internal");
bindingContext.bindValue(btnInternalObserveSelectionObserveWidget, modelInternalObserveValue, null, null);
//
IObservableValue comboObserveSelectionObserveWidget = SWTObservables.observeSelection(combo);
IObservableValue modelProjectTypeObserveValue = BeansObservables.observeValue(model, "projectType");
bindingContext.bindValue(comboObserveSelectionObserveWidget, modelProjectTypeObserveValue, null, null);
//
IObservableValue uuidTextObserveTextObserveWidget = SWTObservables.observeText(uuidText, SWT.Modify);
IObservableValue modelUUIDObserveValue = BeansObservables.observeValue(model, "UUID");
bindingContext.bindValue(uuidTextObserveTextObserveWidget, modelUUIDObserveValue, null, null);
//
IObservableValue compatabilitySpinnerObserveSelectionObserveWidget = SWTObservables.observeSelection(compatabilitySpinner);
IObservableValue modelCompatibilityLevelObserveValue = BeansObservables.observeValue(model, "compatibilityLevel");
bindingContext.bindValue(compatabilitySpinnerObserveSelectionObserveWidget, modelCompatibilityLevelObserveValue, null, null);
//
return bindingContext;
}