Package jimm.datavision.gui.cmd

Examples of jimm.datavision.gui.cmd.NewAggregateCommand.perform()


    String functionName = slot.functionMenu.getSelectedItem().toString();
      if (slot.aggregate == null) {
    NewAggregateCommand cmd =
        new NewAggregateCommand(report, fieldWidget, (Group)key,
             functionName);
    cmd.perform();
    commands.add(cmd);

    slot.aggregate = cmd.getAggregateWidget();
      }
      else {    // Already have one; change to selected func
View Full Code Here


      }
      else {    // Already have one; change to selected func
    EditAggregateFuncCommand cmd =
        new EditAggregateFuncCommand(getAggregateField(slot.aggregate),
             functionName);
    cmd.perform();
    commands.add(cmd);
    getAggregateField(slot.aggregate).setFunction(functionName);
      }
  }
  else {      // We don't want an aggregate for this slot
View Full Code Here

        getAggregateField(slot.aggregate).getFunction();
    DeleteAggregateCommand cmd =
        new DeleteAggregateCommand(report, fieldWidget,
                 slot.aggregate, functionName,
                 (Group)key);
    cmd.perform();
    commands.add(cmd);
    slot.aggregate = null;
      }
  }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.