Examples of bindValue()


Examples of org.eclipse.core.databinding.DataBindingContext.bindValue()

    IObservableValue attributePublicObserveValue = BeansObservables.observeValue(attribute, "public");
    bindingContext.bindValue(btnCheckButtonObserveSelectionObserveWidget, attributePublicObserveValue, null, null);
    //
    IObservableValue nameTextObserveEditableObserveWidget = SWTObservables.observeEditable(nameText);
    IObservableValue attributeReadWriteObserveValue = BeansObservables.observeValue(attribute, "readWrite");
    bindingContext.bindValue(nameTextObserveEditableObserveWidget, attributeReadWriteObserveValue, null, null);
    //
    IObservableValue typeTextObserveEditableObserveWidget = SWTObservables.observeEditable(typeText);
    bindingContext.bindValue(typeTextObserveEditableObserveWidget, attributeReadWriteObserveValue, null, null);
    //
    IObservableValue btnCheckButtonObserveEnabledObserveWidget = SWTObservables.observeEnabled(btnCheckButton);
View Full Code Here

Examples of org.eclipse.core.databinding.DataBindingContext.bindValue()

    IObservableValue nameTextObserveEditableObserveWidget = SWTObservables.observeEditable(nameText);
    IObservableValue attributeReadWriteObserveValue = BeansObservables.observeValue(attribute, "readWrite");
    bindingContext.bindValue(nameTextObserveEditableObserveWidget, attributeReadWriteObserveValue, null, null);
    //
    IObservableValue typeTextObserveEditableObserveWidget = SWTObservables.observeEditable(typeText);
    bindingContext.bindValue(typeTextObserveEditableObserveWidget, attributeReadWriteObserveValue, null, null);
    //
    IObservableValue btnCheckButtonObserveEnabledObserveWidget = SWTObservables.observeEnabled(btnCheckButton);
    bindingContext.bindValue(btnCheckButtonObserveEnabledObserveWidget, attributeReadWriteObserveValue, null, null);
    //
    return bindingContext;
View Full Code Here

Examples of org.eclipse.core.databinding.DataBindingContext.bindValue()

    //
    IObservableValue typeTextObserveEditableObserveWidget = SWTObservables.observeEditable(typeText);
    bindingContext.bindValue(typeTextObserveEditableObserveWidget, attributeReadWriteObserveValue, null, null);
    //
    IObservableValue btnCheckButtonObserveEnabledObserveWidget = SWTObservables.observeEnabled(btnCheckButton);
    bindingContext.bindValue(btnCheckButtonObserveEnabledObserveWidget, attributeReadWriteObserveValue, null, null);
    //
    return bindingContext;
  }
}
View Full Code Here

Examples of org.eclipse.core.databinding.DataBindingContext.bindValue()

  protected DataBindingContext initDataBindings() {
    DataBindingContext bindingContext = new DataBindingContext();
    //
    IObservableValue projectTextObserveTextObserveWidget = SWTObservables.observeText(projectText, SWT.FocusOut);
    IObservableValue planNameObserveValue = BeansObservables.observeValue(plan, "toolName");
    bindingContext.bindValue(projectTextObserveTextObserveWidget, planNameObserveValue, null, null);
    //
    IObservableValue classNameTextObserveTextObserveWidget = SWTObservables.observeText(classNameText, SWT.FocusOut);
    IObservableValue clsNameObserveValue = BeansObservables.observeValue(cls, "toolName");
    bindingContext.bindValue(classNameTextObserveTextObserveWidget, clsNameObserveValue, null, null);
    //
View Full Code Here

Examples of org.eclipse.core.databinding.DataBindingContext.bindValue()

    IObservableValue planNameObserveValue = BeansObservables.observeValue(plan, "toolName");
    bindingContext.bindValue(projectTextObserveTextObserveWidget, planNameObserveValue, null, null);
    //
    IObservableValue classNameTextObserveTextObserveWidget = SWTObservables.observeText(classNameText, SWT.FocusOut);
    IObservableValue clsNameObserveValue = BeansObservables.observeValue(cls, "toolName");
    bindingContext.bindValue(classNameTextObserveTextObserveWidget, clsNameObserveValue, null, null);
    //
    IObservableValue btnWindowClassObserveSelectionObserveWidget = SWTObservables.observeSelection(btnWindowClass);
    IObservableValue clsMappedObserveValue = BeansObservables.observeValue(cls, "mapped");
    bindingContext.bindValue(btnWindowClassObserveSelectionObserveWidget, clsMappedObserveValue, null, null);
    //
View Full Code Here

Examples of org.eclipse.core.databinding.DataBindingContext.bindValue()

    IObservableValue clsNameObserveValue = BeansObservables.observeValue(cls, "toolName");
    bindingContext.bindValue(classNameTextObserveTextObserveWidget, clsNameObserveValue, null, null);
    //
    IObservableValue btnWindowClassObserveSelectionObserveWidget = SWTObservables.observeSelection(btnWindowClass);
    IObservableValue clsMappedObserveValue = BeansObservables.observeValue(cls, "mapped");
    bindingContext.bindValue(btnWindowClassObserveSelectionObserveWidget, clsMappedObserveValue, null, null);
    //
    IObservableValue superClassTextObserveTextObserveWidget = SWTObservables.observeText(superClassText, SWT.FocusOut);
    IObservableValue clsSuperClassObserveValue = BeansObservables.observeValue(cls, "superClass");
    bindingContext.bindValue(superClassTextObserveTextObserveWidget, clsSuperClassObserveValue, null, null);
    //
View Full Code Here

Examples of org.eclipse.core.databinding.DataBindingContext.bindValue()

    IObservableValue clsMappedObserveValue = BeansObservables.observeValue(cls, "mapped");
    bindingContext.bindValue(btnWindowClassObserveSelectionObserveWidget, clsMappedObserveValue, null, null);
    //
    IObservableValue superClassTextObserveTextObserveWidget = SWTObservables.observeText(superClassText, SWT.FocusOut);
    IObservableValue clsSuperClassObserveValue = BeansObservables.observeValue(cls, "superClass");
    bindingContext.bindValue(superClassTextObserveTextObserveWidget, clsSuperClassObserveValue, null, null);
    //
    return bindingContext;
  }
}
View Full Code Here

Examples of org.eclipse.core.databinding.DataBindingContext.bindValue()

    //
    IObservableValue textObserveTextObserveWidget = SWTObservables.observeText(text, SWT.Modify);
    IObservableValue eventNameObserveValue = BeansObservables.observeValue(event, "toolName");
    UpdateValueStrategy strategy = new UpdateValueStrategy();
    strategy.setAfterConvertValidator(new ToolNameValidator(text));
    bindingContext.bindValue(textObserveTextObserveWidget, eventNameObserveValue, strategy, null);
    //
    IObservableValue buttonObserveSelectionObserveWidget = SWTObservables.observeSelection(button);
    IObservableValue eventPublicObserveValue = BeansObservables.observeValue(event, "public");
    bindingContext.bindValue(buttonObserveSelectionObserveWidget, eventPublicObserveValue, null, null);
    //
View Full Code Here

Examples of org.eclipse.core.databinding.DataBindingContext.bindValue()

    strategy.setAfterConvertValidator(new ToolNameValidator(text));
    bindingContext.bindValue(textObserveTextObserveWidget, eventNameObserveValue, strategy, null);
    //
    IObservableValue buttonObserveSelectionObserveWidget = SWTObservables.observeSelection(button);
    IObservableValue eventPublicObserveValue = BeansObservables.observeValue(event, "public");
    bindingContext.bindValue(buttonObserveSelectionObserveWidget, eventPublicObserveValue, null, null);
    //
    ObservableListContentProvider listContentProvider = new ObservableListContentProvider();
    tableViewer.setContentProvider(listContentProvider);
    //
    IObservableMap[] observeMaps = BeansObservables.observeMaps(listContentProvider.getKnownElements(), ToolParameter.class, new String[]{"name", "type", "parsingType", "defaultValue"});
View Full Code Here

Examples of org.eclipse.core.databinding.DataBindingContext.bindValue()

  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);
    //
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.