Package jimm.datavision

Examples of jimm.datavision.Formula


    this.data = source.getData();
    this.query.findSelectablesUsed()// Needed so we can find columns later

    String script = query.getWhereClause();
    if (script != null && script.length() > 0)
  whereClauseFormula = new Formula(null, source.getReport(), "", script);
}
View Full Code Here


              String language)
{
    super(I18N.get("ReportStartupScriptEditCommand.name"));
    this.report = report;

    Formula f = report.getStartFormula();

    newExpression = expression;
    oldExpression = f == null ? null : f.getExpression();

    newLanguage = language;
    oldLanguage = f == null ? null : f.getLanguage();
}
View Full Code Here

    newLanguage = language;
    oldLanguage = f == null ? null : f.getLanguage();
}

public void perform() {
    Formula f = null;
    if (oldExpression == null) {
  f = new Formula(null, report, "", "");
  report.setStartFormula(f);
    }
    else
  f = report.getStartFormula();

    f.setEditableExpression(newExpression);
    f.setLanguage(newLanguage);
}
View Full Code Here

public void undo() {
    if (oldExpression == null)
  report.setStartFormula(null);
    else {
  Formula f = report.getStartFormula();
  f.setEditableExpression(oldExpression);
  f.setLanguage(oldLanguage);
    }
}
View Full Code Here

    this.query = query;
    this.query.findSelectablesUsed()// Needed so we can find columns later

    String script = query.getWhereClause();
    if (script != null && script.length() > 0)
  whereClauseFormula = new Formula(null, source.getReport(), "", script);
}
View Full Code Here

TOP

Related Classes of jimm.datavision.Formula

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.