Class CommandUtils


  • public class CommandUtils
    extends Object
    • Constructor Detail

      • CommandUtils

        public CommandUtils()
    • Method Detail

      • updateRowNumbers

        public static void updateRowNumbers​(org.uberfire.ext.wires.core.grids.client.model.GridData uiModel,
                                            IntStream rangeOfRowsToUpdate)
      • moveRows

        public static <T> void moveRows​(List<T> allRows,
                                        List<T> rowsToMove,
                                        int index)
      • moveComponentWidths

        public static void moveComponentWidths​(int index,
                                               int oldIndex,
                                               List<Double> componentWidths,
                                               List<Integer> uiColumnIndexes)
      • updateParentInformation

        public static void updateParentInformation​(org.uberfire.ext.wires.core.grids.client.model.GridData uiModel)
      • extractGridCellValue

        public static Optional<org.uberfire.ext.wires.core.grids.client.model.GridCellValue<?>> extractGridCellValue​(GridCellTuple cellTuple)