Package jimm.datavision.gui.cmd

Examples of jimm.datavision.gui.cmd.EditAggregateFuncCommand


    commands.add(cmd);

    slot.aggregate = cmd.getAggregateWidget();
      }
      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
      if (slot.aggregate != null) {
          String functionName =
        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

Related Classes of jimm.datavision.gui.cmd.EditAggregateFuncCommand

Copyright © 2018 www.massapicom. 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.