Examples of IBeanValueProperty


Examples of org.eclipse.core.databinding.beans.IBeanValueProperty

    IObservableList methodEditorgetMethodParametersObserveList = BeansObservables.observeList(Realm.getDefault(), method, "parameters");
    tableViewer.setInput(methodEditorgetMethodParametersObserveList);
    //
    CellEditor cellEditor = new TextCellEditor(tableViewer.getTable());
    IValueProperty cellEditorProperty = BeanProperties.value("value");
    IBeanValueProperty valueProperty = BeanProperties.value("name");
    nameColumn.setEditingSupport(ObservableValueEditingSupport.create(tableViewer, bindingContext, cellEditor, cellEditorProperty, valueProperty));
    //
    CellEditor cellEditor_1 = new TextCellEditor(tableViewer.getTable());
    IValueProperty cellEditorProperty_1 = BeanProperties.value("value");
    IBeanValueProperty valueProperty_1 = BeanProperties.value("type");
    typeColumn.setEditingSupport(ObservableValueEditingSupport.create(tableViewer, bindingContext, cellEditor_1, cellEditorProperty_1, valueProperty_1));
    //
    CellEditor cellEditor_2 = new CheckboxCellEditor(tableViewer.getTable());
    IValueProperty cellEditorProperty_2 = BeanProperties.value("value");
    IBeanValueProperty valueProperty_2 = BeanProperties.value("copy");
    copyColumn.setEditingSupport(ObservableValueEditingSupport.create(tableViewer, bindingContext, cellEditor_2, cellEditorProperty_2, valueProperty_2));
    //
    CellEditor parsingCombo = new ComboBoxCellEditor(tableViewer.getTable(), ToolParameter.PT_VALUES);
    IValueProperty cellEditorProperty_3 = BeanProperties.value("value");
    IBeanValueProperty valueProperty_3 = BeanProperties.value("parsingType");
    parsingColumn.setEditingSupport(ObservableValueEditingSupport.create(tableViewer, bindingContext, parsingCombo, cellEditorProperty_3, valueProperty_3));
    //
    CellEditor cellEditor_4 = new TextCellEditor(tableViewer.getTable());
    IValueProperty cellEditorProperty_4 = BeanProperties.value("value");
    IBeanValueProperty valueProperty_4 = BeanProperties.value("defaultValue");
    defaultColumn.setEditingSupport(ObservableValueEditingSupport.create(tableViewer, bindingContext, cellEditor_4, cellEditorProperty_4, valueProperty_4));
    //
    return bindingContext;
  }
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.