Class StructureAddGroupHandler

  • All Implemented Interfaces:
    org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2

    public class StructureAddGroupHandler
    extends org.eclipse.core.commands.AbstractHandler
    Обработчик добавления группировки
    • Constructor Detail

      • StructureAddGroupHandler

        public StructureAddGroupHandler()
    • Method Detail

      • execute

        public Object execute​(org.eclipse.core.commands.ExecutionEvent event)
                       throws org.eclipse.core.commands.ExecutionException
        Throws:
        org.eclipse.core.commands.ExecutionException
      • createGroup

        public static org.eclipse.emf.ecore.EObject createGroup​(IBmEditingContext editingContext,
                                                                Object parentObj,
                                                                DataCompositionGroupField groupingField,
                                                                int index)
        Create group
        Parameters:
        parentObj - parent object for group, can't be null
        groupingField - grouping field, can be null
        index - index for group or -1
        Returns:
        created group or null