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

Examples of org.pentaho.reporting.designer.core.actions.global.DeleteAction


        final DataFactory theSelectedDataFactory = getSelectedDataSource();

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

        final DeleteAction deleteAction = new DeleteAction();
        deleteAction.setReportDesignerContext(reportDesignerContext);
        deleteAction.actionPerformed(new ActionEvent(this, ActionEvent.ACTION_PERFORMED, ""));

        // Delete data-source from the Select data-source dialog
        availableDataSourcesModel.remove(theSelectedDataFactory);
      }
    }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.designer.core.actions.global.DeleteAction

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.