Package org.pentaho.reporting.designer.core.actions.report

Examples of org.pentaho.reporting.designer.core.actions.report.EditQueryAction.actionPerformed()


      // Edit data-source from structure panel
      reportDesignerContext.getActiveContext().getSelectionModel().setSelectedElements(new Object[]{dataFactory});

      final EditQueryAction editQueryAction = new EditQueryAction();
      editQueryAction.setReportDesignerContext(reportDesignerContext);
      editQueryAction.actionPerformed(new ActionEvent(this, ActionEvent.ACTION_PERFORMED, ""));

      final int idx = availableDataSourcesModel.indexOf(dataFactory);
      if (idx == -1)
      {
        throw new IllegalStateException("DataSource Model is out of sync with the GUI");
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.