Class ColumnDataFiller

java.lang.Object
com.amalgamasimulation.desktop.ui.views.ColumnDataFiller

public class ColumnDataFiller extends Object
ColumnDataFiller contains functions responsible for changing data in the columns of a table or tree.
Author:
Ionov Ivan
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    applySameValue(org.eclipse.swt.widgets.Item[] items, Object clickedElement, Function<Object,org.eclipse.emf.ecore.EObject> extractorContainer, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, Function<org.eclipse.emf.ecore.EObject,List<?>> extractorSourceValues, BiFunction<List<org.eclipse.emf.ecore.EObject>,org.eclipse.emf.ecore.EObject,List<org.eclipse.emf.common.command.Command>> additionalCommandsBefore, BiFunction<List<org.eclipse.emf.ecore.EObject>,org.eclipse.emf.ecore.EObject,List<org.eclipse.emf.common.command.Command>> additionalCommandsAfter)
    In all elements in @param items replaces the value by reference @param eStructuralFeature with the corresponding value from @param selectedElement.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • applySameValue

      public static void applySameValue(org.eclipse.swt.widgets.Item[] items, Object clickedElement, Function<Object,org.eclipse.emf.ecore.EObject> extractorContainer, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, Function<org.eclipse.emf.ecore.EObject,List<?>> extractorSourceValues, BiFunction<List<org.eclipse.emf.ecore.EObject>,org.eclipse.emf.ecore.EObject,List<org.eclipse.emf.common.command.Command>> additionalCommandsBefore, BiFunction<List<org.eclipse.emf.ecore.EObject>,org.eclipse.emf.ecore.EObject,List<org.eclipse.emf.common.command.Command>> additionalCommandsAfter)
      In all elements in @param items replaces the value by reference @param eStructuralFeature with the corresponding value from @param selectedElement.
      Parameters:
      items - from editing column viewer
      clickedElement - from editing row in column viewer
      extractorContainer - the object we will edit, by default clickedElement
      eStructuralFeature - link to the edited value
      additionalCommandsBefore -
      additionalCommandsAfter -