Class DataFillerManager<T,V>

java.lang.Object
com.amalgamasimulation.desktop.ui.views.DataFillerManager<T,V>

public class DataFillerManager<T,V> extends Object
The class responsible for setting up the functionality of quickly setting the same values ​​in a column
Author:
Ionov Ivan
  • Constructor Details

    • DataFillerManager

      public DataFillerManager(EmfColumn<T,V,?> emfColumn)
  • Method Details

    • end

      public EmfColumn<T,V,?> end()
    • geteStructuralFeature

      public org.eclipse.emf.ecore.EStructuralFeature geteStructuralFeature()
    • getExtractorSourceValues

      public Function<org.eclipse.emf.ecore.EObject,List<?>> getExtractorSourceValues()
    • getAdditionalCommandsBefore

      public BiFunction<List<org.eclipse.emf.ecore.EObject>,org.eclipse.emf.ecore.EObject,List<org.eclipse.emf.common.command.Command>> getAdditionalCommandsBefore()
    • getAdditionalCommandsAfter

      public BiFunction<List<org.eclipse.emf.ecore.EObject>,org.eclipse.emf.ecore.EObject,List<org.eclipse.emf.common.command.Command>> getAdditionalCommandsAfter()
    • setEStructuralFeature

      public DataFillerManager<T,V> setEStructuralFeature(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
    • setExtractorSourceValues

      public DataFillerManager<T,V> setExtractorSourceValues(Function<org.eclipse.emf.ecore.EObject,List<?>> extractorSourceValues)
    • setAdditionalCommands

      @Deprecated public DataFillerManager<T,V> setAdditionalCommands(BiFunction<List<org.eclipse.emf.ecore.EObject>,org.eclipse.emf.ecore.EObject,List<org.eclipse.emf.common.command.Command>> additionalCommands)
      Deprecated.
    • setAdditionalCommandsBefore

      public DataFillerManager<T,V> setAdditionalCommandsBefore(BiFunction<List<org.eclipse.emf.ecore.EObject>,org.eclipse.emf.ecore.EObject,List<org.eclipse.emf.common.command.Command>> additionalCommandsBefore)
    • setAdditionalCommandsAfter

      public DataFillerManager<T,V> setAdditionalCommandsAfter(BiFunction<List<org.eclipse.emf.ecore.EObject>,org.eclipse.emf.ecore.EObject,List<org.eclipse.emf.common.command.Command>> additionalCommandsAfter)
    • checkAvailableEditing

      public boolean checkAvailableEditing()
    • createMenuItemsForApplyValues

      public void createMenuItemsForApplyValues(ColumnViewAdapter<T> columnViewAdapter, List<ColumnViewAdapter.MenuItemDescriptor> items, T clickedElement, org.eclipse.jface.viewers.ViewerFilter[] filters)
    • isExistMenu

      public boolean isExistMenu()
    • setExistMenu

      public DataFillerManager<T,V> setExistMenu(boolean isExistMenu)
    • getExtractorContainer

      public Function<Object,org.eclipse.emf.ecore.EObject> getExtractorContainer()
    • setExtractorContainer

      public void setExtractorContainer(Function<Object,org.eclipse.emf.ecore.EObject> extractorContainer)