Class DataBinding
java.lang.Object
com.amalgamasimulation.desktop.binding.DataBinding
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends org.eclipse.emf.ecore.EObject,V>
voidbindIdValue(org.eclipse.swt.widgets.Text text, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, Supplier<List<T>> listElements, org.eclipse.emf.ecore.EStructuralFeature idFeature) <T extends org.eclipse.emf.ecore.EObject,V>
voidbindIdValue(org.eclipse.swt.widgets.Text text, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.core.databinding.observable.value.IObservableValue<? extends org.eclipse.emf.ecore.EObject> containerElements, org.eclipse.emf.ecore.EStructuralFeature listFeature, org.eclipse.emf.ecore.EStructuralFeature idFeature) <T> voidbindSelection(org.eclipse.jface.viewers.TableViewer tableViewer, org.eclipse.core.databinding.observable.list.IObservableList<T> observableList) <T> voidbindSelection(org.eclipse.jface.viewers.TableViewer tableViewer, org.eclipse.core.databinding.observable.list.IObservableList<T> observableList, Supplier<Boolean> selectable) <T> voidbindSelection(org.eclipse.jface.viewers.TableViewer tableViewer, org.eclipse.core.databinding.observable.list.IObservableList<T> observableList, Supplier<Boolean> selectable, org.eclipse.core.databinding.observable.value.IObservableValue<Boolean> redrawRestrictionState) <T> voidbindSelection(org.eclipse.jface.viewers.TableViewer tableViewer, org.eclipse.core.databinding.observable.list.IObservableList<T> observableList, org.eclipse.core.databinding.observable.value.IObservableValue<Boolean> redrawRestrictionState) <T extends org.eclipse.emf.ecore.EObject,V>
voidbindTransientValue(org.eclipse.swt.widgets.Text text, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, ValidationStrategy<V, String> strategy, org.eclipse.emf.databinding.FeaturePath... featurePaths) <T extends org.eclipse.emf.ecore.EObject,V>
voidbindTransientValue(org.eclipse.swt.widgets.Text text, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, ValidationStrategy<V, String> strategy, org.eclipse.emf.ecore.EStructuralFeature... eStructuralFeatures) <T> voidbindValue(org.eclipse.jface.databinding.swt.ISWTObservableValue<Boolean> property, org.eclipse.core.databinding.observable.value.IObservableValue<T> observableValueStatus, boolean reversed) <O> voidbindValue(org.eclipse.jface.viewers.ComboViewer comboViewer, org.eclipse.core.databinding.observable.value.IObservableValue<O> currentSelection, Consumer<Object> selectedObjectHandler, Consumer<Object> setter) <T extends org.eclipse.emf.ecore.EObject>
voidbindValue(org.eclipse.jface.viewers.ComboViewer comboViewer, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature) <T extends org.eclipse.emf.ecore.EObject>
voidbindValue(org.eclipse.jface.viewers.ComboViewer comboViewer, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, Consumer<Object> selectedObjectHandler) <T extends org.eclipse.emf.ecore.EObject>
voidbindValue(org.eclipse.jface.viewers.ComboViewer comboViewer, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, Consumer<Object> selectedObjectHandler, Consumer<Object> setter) <T extends org.eclipse.emf.ecore.EObject>
voidbindValue(org.eclipse.swt.widgets.Button checkBox, org.eclipse.core.databinding.observable.value.IObservableValue<Object> currentSelection, Function<Object, Boolean> valueExtractor, Consumer<Boolean> setter) <T extends org.eclipse.emf.ecore.EObject>
voidbindValue(org.eclipse.swt.widgets.Button checkBox, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature) <T extends org.eclipse.emf.ecore.EObject>
voidbindValue(org.eclipse.swt.widgets.Button checkBox, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, ValueChangeDescriptor valueChangeDescriptor) <T> voidbindValue(org.eclipse.swt.widgets.Text text, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, Function<Object, String> nameExtractor) <T extends org.eclipse.emf.ecore.EObject,V>
voidbindValue(org.eclipse.swt.widgets.Text text, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, ValidationStrategy<V, String> strategy) <T extends org.eclipse.emf.ecore.EObject,V>
voidbindValue(org.eclipse.swt.widgets.Text text, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, ValidationStrategy<V, String> strategy, Supplier<Boolean> canBeNull) <T extends org.eclipse.emf.ecore.EObject,V>
voidbindValue(org.eclipse.swt.widgets.Text text, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, ValidationStrategy<V, String> strategy, Supplier<Boolean> canBeNull, Consumer<Object> selectedObjectHandler) <T extends org.eclipse.emf.ecore.EObject,V>
voidbindValue(org.eclipse.swt.widgets.Text text, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, ValidationStrategy<V, String> strategy, Supplier<Boolean> canBeNull, Consumer<Object> selectedObjectHandler, Consumer<V> setter) <T extends org.eclipse.emf.ecore.EObject>
voidbindValue(org.eclipse.swt.widgets.Text text, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, Function<Object, String> nameExtractor) static org.eclipse.jface.fieldassist.ControlDecorationcreateControlDecoration(org.eclipse.swt.widgets.Control control, String message) static DataBindingstatic booleanisUniqID(List<?> collection, org.eclipse.emf.ecore.EObject currentObject, String identifier, org.eclipse.emf.ecore.EStructuralFeature idExtractor) static <V> booleanisUniqID(org.eclipse.core.databinding.observable.value.IObservableValue<? extends org.eclipse.emf.ecore.EObject> container, org.eclipse.emf.ecore.EStructuralFeature listObjectsExtractor, org.eclipse.emf.ecore.EStructuralFeature idExtractor, org.eclipse.emf.ecore.EObject currentObject, String identifier) static voidsetSelection(org.eclipse.jface.viewers.TableViewer tableViewer, int index) static voidsetSelection(org.eclipse.jface.viewers.TableViewer tableViewer, Object obj)
-
Constructor Details
-
DataBinding
public DataBinding()
-
-
Method Details
-
getInstance
-
bindValue
public <T> void bindValue(org.eclipse.jface.databinding.swt.ISWTObservableValue<Boolean> property, org.eclipse.core.databinding.observable.value.IObservableValue<T> observableValueStatus, boolean reversed) -
bindValue
public <T extends org.eclipse.emf.ecore.EObject,V> void bindValue(org.eclipse.swt.widgets.Text text, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, ValidationStrategy<V, String> strategy) -
bindValue
public <T extends org.eclipse.emf.ecore.EObject,V> void bindValue(org.eclipse.swt.widgets.Text text, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, ValidationStrategy<V, String> strategy, Supplier<Boolean> canBeNull) -
bindValue
public <T extends org.eclipse.emf.ecore.EObject,V> void bindValue(org.eclipse.swt.widgets.Text text, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, ValidationStrategy<V, String> strategy, Supplier<Boolean> canBeNull, Consumer<Object> selectedObjectHandler) -
bindValue
public <T extends org.eclipse.emf.ecore.EObject,V> void bindValue(org.eclipse.swt.widgets.Text text, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, ValidationStrategy<V, String> strategy, Supplier<Boolean> canBeNull, Consumer<Object> selectedObjectHandler, Consumer<V> setter) -
isUniqID
public static <V> boolean isUniqID(org.eclipse.core.databinding.observable.value.IObservableValue<? extends org.eclipse.emf.ecore.EObject> container, org.eclipse.emf.ecore.EStructuralFeature listObjectsExtractor, org.eclipse.emf.ecore.EStructuralFeature idExtractor, org.eclipse.emf.ecore.EObject currentObject, String identifier) -
isUniqID
-
bindIdValue
-
bindIdValue
public <T extends org.eclipse.emf.ecore.EObject,V> void bindIdValue(org.eclipse.swt.widgets.Text text, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.core.databinding.observable.value.IObservableValue<? extends org.eclipse.emf.ecore.EObject> containerElements, org.eclipse.emf.ecore.EStructuralFeature listFeature, org.eclipse.emf.ecore.EStructuralFeature idFeature) -
bindValue
-
bindValue
-
bindSelection
public <T> void bindSelection(org.eclipse.jface.viewers.TableViewer tableViewer, org.eclipse.core.databinding.observable.list.IObservableList<T> observableList) -
bindSelection
-
bindSelection
public <T> void bindSelection(org.eclipse.jface.viewers.TableViewer tableViewer, org.eclipse.core.databinding.observable.list.IObservableList<T> observableList, org.eclipse.core.databinding.observable.value.IObservableValue<Boolean> redrawRestrictionState) -
bindSelection
-
bindValue
public <T extends org.eclipse.emf.ecore.EObject> void bindValue(org.eclipse.jface.viewers.ComboViewer comboViewer, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature) -
bindValue
-
bindValue
public <T extends org.eclipse.emf.ecore.EObject> void bindValue(org.eclipse.jface.viewers.ComboViewer comboViewer, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, Consumer<Object> selectedObjectHandler, Consumer<Object> setter) -
bindValue
-
bindValue
public <T extends org.eclipse.emf.ecore.EObject> void bindValue(org.eclipse.swt.widgets.Button checkBox, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature) -
bindValue
public <T extends org.eclipse.emf.ecore.EObject> void bindValue(org.eclipse.swt.widgets.Button checkBox, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, ValueChangeDescriptor valueChangeDescriptor) -
bindValue
-
bindTransientValue
public <T extends org.eclipse.emf.ecore.EObject,V> void bindTransientValue(org.eclipse.swt.widgets.Text text, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, ValidationStrategy<V, String> strategy, org.eclipse.emf.databinding.FeaturePath... featurePaths) -
bindTransientValue
public <T extends org.eclipse.emf.ecore.EObject,V> void bindTransientValue(org.eclipse.swt.widgets.Text text, org.eclipse.core.databinding.observable.value.IObservableValue<T> currentSelection, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, ValidationStrategy<V, String> strategy, org.eclipse.emf.ecore.EStructuralFeature... eStructuralFeatures) -
setSelection
public static void setSelection(org.eclipse.jface.viewers.TableViewer tableViewer, int index) -
setSelection
-
createControlDecoration
public static org.eclipse.jface.fieldassist.ControlDecoration createControlDecoration(org.eclipse.swt.widgets.Control control, String message)
-