Class GenerationBasedOnUiHelper

java.lang.Object
com.e1c.g5.v8.dt.internal.gsw.ui.GenerationBasedOnUiHelper

public class GenerationBasedOnUiHelper extends Object
Prepares view models/data for potential targets of based-on functionality
  • Constructor Details

    • GenerationBasedOnUiHelper

      public GenerationBasedOnUiHelper()
  • Method Details

    • groupBaseObjects

      public static Collection<Collection<MdObject>> groupBaseObjects(Collection<MdObject> mdObjects)
      Groups based-on source objects according to type
      Parameters:
      mdObjects - Collection of potential based-on sources. Cannot be null
      Returns:
      Grouped objects, cannot be null
    • getCategoryNames

      public static List<String> getCategoryNames()
      Gets ordered names of group by source оbject groups
      Returns:
      The list of category names. Cannot be null
    • getObjectTypeIcons

      public static List<org.eclipse.swt.graphics.Image> getObjectTypeIcons()
      Gets ordered icons for group by source object types
      Returns:
      The list of icon images. Cannot be null