Class EmfSpinnerSectionBuilder.PropertyBuilder<T extends org.eclipse.emf.ecore.EObject,V,R>
java.lang.Object
com.amalgamasimulation.desktop.ui.editor.builders.interfaces.AbstractPropertyBuilder<T>
com.amalgamasimulation.desktop.ui.editor.builders.EmfSpinnerSectionBuilder.PropertyBuilder<T,V,R>
- Type Parameters:
T- type of the object in the container of the pageV- type of the valueR- step after the label
- All Implemented Interfaces:
EmfSpinnerSectionBuilder.IPropertyBuilder<T,,V, R> IFeatureBuilder<EmfSpinnerSectionBuilder.LabelBuilder<T,,R>> IIndexBuilder<EmfSpinnerSectionBuilder.IPropertyBuilder<T,V, R>>
- Enclosing class:
EmfSpinnerSectionBuilder
public static class EmfSpinnerSectionBuilder.PropertyBuilder<T extends org.eclipse.emf.ecore.EObject,V,R>
extends AbstractPropertyBuilder<T>
implements EmfSpinnerSectionBuilder.IPropertyBuilder<T,V,R>
First step of a section on a page.
-
Field Summary
Fields inherited from class com.amalgamasimulation.desktop.ui.editor.builders.interfaces.AbstractPropertyBuilder
actionAfterCreateSectionInProperty, containerOld, index, parent -
Method Summary
Modifier and TypeMethodDescription<E extends org.eclipse.emf.ecore.EObject>
EmfSpinnerSectionBuilder.FeatureBuilder<E, V, R> container(org.eclipse.core.databinding.observable.value.IObservableValue<E> container) Binds the section to another container instead of the container of the page.static <T1 extends org.eclipse.emf.ecore.EObject,V1>
EmfSpinnerSectionBuilder.IPropertyBuilder<T1, V1, EmfSpinnerSectionBuilder.ConverterBuilder<T1, V1>> create(org.eclipse.swt.widgets.Composite parent, org.eclipse.core.databinding.observable.value.IObservableValue<T1> containerOld, BiConsumer<Integer, com.amalgamasimulation.desktop.ui.editor.sections.internal.Section> actionAfterCreateSectionInProperty) Creates the first step of a section for a value of any type on a page.static <T1 extends org.eclipse.emf.ecore.EObject>
EmfSpinnerSectionBuilder.IPropertyBuilder<T1, Double, EmfSpinnerSectionBuilder.DigitsRangeBuilder<T1, Double>> createDouble(org.eclipse.swt.widgets.Composite parent, org.eclipse.core.databinding.observable.value.IObservableValue<T1> containerOld, BiConsumer<Integer, com.amalgamasimulation.desktop.ui.editor.sections.internal.Section> actionAfterCreateSectionInProperty) Creates the first step of a section for a Double on a page.static <T1 extends org.eclipse.emf.ecore.EObject>
EmfSpinnerSectionBuilder.IPropertyBuilder<T1, Integer, EmfSpinnerSectionBuilder.RangeBuilder<T1, Integer>> createInteger(org.eclipse.swt.widgets.Composite parent, org.eclipse.core.databinding.observable.value.IObservableValue<T1> containerOld, BiConsumer<Integer, com.amalgamasimulation.desktop.ui.editor.sections.internal.Section> actionAfterCreateSectionInProperty) Creates the first step of a section for an Integer on a page.feature(org.eclipse.emf.ecore.EStructuralFeature feature) index(int index)
-
Method Details
-
createInteger
public static <T1 extends org.eclipse.emf.ecore.EObject> EmfSpinnerSectionBuilder.IPropertyBuilder<T1,Integer, createIntegerEmfSpinnerSectionBuilder.RangeBuilder<T1, Integer>> (org.eclipse.swt.widgets.Composite parent, org.eclipse.core.databinding.observable.value.IObservableValue<T1> containerOld, BiConsumer<Integer, com.amalgamasimulation.desktop.ui.editor.sections.internal.Section> actionAfterCreateSectionInProperty) Creates the first step of a section for an Integer on a page.- Type Parameters:
T1- type of the object in the container- Parameters:
parent- composite of the page for sectionscontainerOld- container of the pageactionAfterCreateSectionInProperty- adds the created section to the page- Returns:
- the first step of the builder
-
createDouble
public static <T1 extends org.eclipse.emf.ecore.EObject> EmfSpinnerSectionBuilder.IPropertyBuilder<T1,Double, createDoubleEmfSpinnerSectionBuilder.DigitsRangeBuilder<T1, Double>> (org.eclipse.swt.widgets.Composite parent, org.eclipse.core.databinding.observable.value.IObservableValue<T1> containerOld, BiConsumer<Integer, com.amalgamasimulation.desktop.ui.editor.sections.internal.Section> actionAfterCreateSectionInProperty) Creates the first step of a section for a Double on a page.- Type Parameters:
T1- type of the object in the container- Parameters:
parent- composite of the page for sectionscontainerOld- container of the pageactionAfterCreateSectionInProperty- adds the created section to the page- Returns:
- the first step of the builder
-
create
public static <T1 extends org.eclipse.emf.ecore.EObject,V1> EmfSpinnerSectionBuilder.IPropertyBuilder<T1,V1, createEmfSpinnerSectionBuilder.ConverterBuilder<T1, V1>> (org.eclipse.swt.widgets.Composite parent, org.eclipse.core.databinding.observable.value.IObservableValue<T1> containerOld, BiConsumer<Integer, com.amalgamasimulation.desktop.ui.editor.sections.internal.Section> actionAfterCreateSectionInProperty) Creates the first step of a section for a value of any type on a page.- Type Parameters:
T1- type of the object in the containerV1- type of the value- Parameters:
parent- composite of the page for sectionscontainerOld- container of the pageactionAfterCreateSectionInProperty- adds the created section to the page- Returns:
- the first step of the builder
-
container
public <E extends org.eclipse.emf.ecore.EObject> EmfSpinnerSectionBuilder.FeatureBuilder<E,V, containerR> (org.eclipse.core.databinding.observable.value.IObservableValue<E> container) Description copied from interface:EmfSpinnerSectionBuilder.IPropertyBuilderBinds the section to another container instead of the container of the page.- Specified by:
containerin interfaceEmfSpinnerSectionBuilder.IPropertyBuilder<T extends org.eclipse.emf.ecore.EObject,V, R> - Type Parameters:
E- type of the object in the container- Parameters:
container- container with the edited object- Returns:
- the next step of the builder
-
feature
public EmfSpinnerSectionBuilder.LabelBuilder<T,R> feature(org.eclipse.emf.ecore.EStructuralFeature feature) - Specified by:
featurein interfaceIFeatureBuilder<T extends org.eclipse.emf.ecore.EObject>
-
index
- Specified by:
indexin interfaceIIndexBuilder<T extends org.eclipse.emf.ecore.EObject>
-