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 page
V - type of the value
R - 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.
  • Method Details

    • createInteger

      public 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.
      Type Parameters:
      T1 - type of the object in the container
      Parameters:
      parent - composite of the page for sections
      containerOld - container of the page
      actionAfterCreateSectionInProperty - 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,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.
      Type Parameters:
      T1 - type of the object in the container
      Parameters:
      parent - composite of the page for sections
      containerOld - container of the page
      actionAfterCreateSectionInProperty - 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,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.
      Type Parameters:
      T1 - type of the object in the container
      V1 - type of the value
      Parameters:
      parent - composite of the page for sections
      containerOld - container of the page
      actionAfterCreateSectionInProperty - 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,R> container(org.eclipse.core.databinding.observable.value.IObservableValue<E> container)
      Description copied from interface: EmfSpinnerSectionBuilder.IPropertyBuilder
      Binds the section to another container instead of the container of the page.
      Specified by:
      container in interface EmfSpinnerSectionBuilder.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:
      feature in interface IFeatureBuilder<T extends org.eclipse.emf.ecore.EObject>
    • index

      public EmfSpinnerSectionBuilder.IPropertyBuilder<T,V,R> index(int index)
      Specified by:
      index in interface IIndexBuilder<T extends org.eclipse.emf.ecore.EObject>