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

Examples of org.pentaho.reporting.designer.core.actions.AbstractDesignerContextAction


    buttonPane.setPreferredSize(new Dimension(514, buttonPaneHeight));

    try
    {
      final Class wizardClass = Class.forName("org.pentaho.reporting.designer.extensions.wizard.NewWizardReportAction");
      final AbstractDesignerContextAction newWizardActionListener =
          (AbstractDesignerContextAction) wizardClass.newInstance();
      newWizardActionListener.setReportDesignerContext(reportDesignerContext);
      final JButton wizardBtn = new TransparentButton();
      wizardBtn.addActionListener(newWizardActionListener);
      wizardBtn.addActionListener(closeActionListener);
      wizardBtn.setBorderPainted(true);
      wizardBtn.setBounds(120, 147, 90, 118);
      buttonPane.add(wizardBtn);

      final JLabel wizardLabel =
          new JLabel(newWizardActionListener.getValue("WIZARD.BUTTON.TEXT").toString(), JLabel.CENTER);//NON-NLS
      wizardLabel.setBounds(80, 273, 165, 56);
      buttonPane.add(wizardLabel);

      final JButton wizardLabelBtn = new TransparentButton();
      wizardLabelBtn.addActionListener(newWizardActionListener);
View Full Code Here


    buttonPane.setPreferredSize(new Dimension(514, buttonPaneHeight));

    try
    {
      final Class wizardClass = Class.forName("org.pentaho.reporting.designer.extensions.wizard.NewWizardReportAction");
      final AbstractDesignerContextAction newWizardActionListener =
          (AbstractDesignerContextAction) wizardClass.newInstance();
      newWizardActionListener.setReportDesignerContext(reportDesignerContext);
      final JButton wizardBtn = new TransparentButton();
      wizardBtn.addActionListener(newWizardActionListener);
      wizardBtn.addActionListener(closeActionListener);
      wizardBtn.setBorderPainted(true);
      wizardBtn.setBounds(120, 147, 90, 118);
      buttonPane.add(wizardBtn);

      final JLabel wizardLabel =
          new JLabel(newWizardActionListener.getValue("WIZARD.BUTTON.TEXT").toString(), JLabel.CENTER);//NON-NLS
      wizardLabel.setBounds(80, 273, 165, 56);
      buttonPane.add(wizardLabel);

      final JButton wizardLabelBtn = new TransparentButton();
      wizardLabelBtn.addActionListener(newWizardActionListener);
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.designer.core.actions.AbstractDesignerContextAction

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.