Package org.pentaho.reporting.libraries.base.util

Examples of org.pentaho.reporting.libraries.base.util.Messages


    formValidator = new ExportDialogValidator();
    setModal(true);
    setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
    addWindowListener(new WindowCloseHandler());

    messages = new Messages(defaultContext.getLocale(), SwingCommonModule.BUNDLE_NAME,
          ObjectUtilities.getClassLoader(SwingCommonModule.class));

    parametersPanel = new ParameterReportControllerPane();
    parametersLayoutPanel = new JPanel(new BorderLayout());
    parametersLayoutPanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
View Full Code Here


  private Messages messages;
  private ArrayList<ParameterComponent> parameterComponents;

  public ParameterReportControllerPane()
  {
    messages = new Messages(Locale.getDefault(), SwingPreviewModule.BUNDLE_NAME,
        ObjectUtilities.getClassLoader(ParameterReportControllerPane.class));
    changeListeners = new ArrayList<ChangeListener>();
    internalChangeListeners = new ArrayList<ChangeListener>();

    parameterComponents = new ArrayList<ParameterComponent>();
View Full Code Here

  protected void init()
  {
    setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);

    addComponentListener(new RequestFocusHandler());
    messages = new Messages(getLocale(), SwingPreviewModule.BUNDLE_NAME,
          ObjectUtilities.getClassLoader(SwingPreviewModule.class));

    previewPane = new PreviewPane();
    previewPane.setDeferredRepagination(true);
    addComponentListener(new TriggerPaginationListener(previewPane));
View Full Code Here

  private ReportJobListener reportJobUpdateHandler;

  protected AbstractExportActionPlugin()
  {
    reportJobUpdateHandler = new ReportJobListener();
    messages = new Messages(Locale.getDefault(), SwingCommonModule.BUNDLE_NAME,
        ObjectUtilities.getClassLoader(SwingCommonModule.class));
  }
View Full Code Here

      eventSource.removePropertyChangeListener(ReportEventSource.REPORT_JOB_PROPERTY, reportJobUpdateHandler); // NON-NLS
    }

    if (oldContext != context)
    {
      messages = new Messages(context.getLocale(), SwingCommonModule.BUNDLE_NAME,
          ObjectUtilities.getClassLoader(SwingCommonModule.class));
      eventSource = context.getEventSource();
      eventSource.addPropertyChangeListener(ReportEventSource.REPORT_JOB_PROPERTY, reportJobUpdateHandler); //$NON-NLS-1$
      setEnabled(eventSource.getReportJob() != null);
    }
View Full Code Here

    init();
  }

  private void init()
  {
    messages = new Messages(getLocale(), SwingCommonModule.BUNDLE_NAME,
        ObjectUtilities.getClassLoader(SwingCommonModule.class));
    setModal(true);
    detailsAction = new DetailsAction();

    messageLabel = new JLabel();
View Full Code Here

    {
      defaultDialog = new ExceptionDialog();
    }
    if (e != null)
    {
      final Messages messages = new Messages(Locale.getDefault(), SwingCommonModule.BUNDLE_NAME,
        ObjectUtilities.getClassLoader(SwingCommonModule.class));
      logger.error(messages.getErrorString("ExceptionDialog.ERROR_0001_USER_ERROR"), e); //$NON-NLS-1$
    }
    defaultDialog.setTitle(title);
    defaultDialog.setMessage(message);
    defaultDialog.setException(e);
    defaultDialog.adjustSize();
View Full Code Here

   * Initializes the dialog (Non-GUI stuff).
   */
  private void initConstructor()
  {
    updateRunnable = new ScreenUpdateRunnable();
    messages = new Messages(getLocale(), SwingCommonModule.BUNDLE_NAME,
          ObjectUtilities.getClassLoader(SwingCommonModule.class));
    initialize();
    addWindowListener(new ToFrontHandler());

    setOutputText(messages.getString("progress-dialog.perform-output")); //$NON-NLS-1$
View Full Code Here

    this(true);
  }

  public PreviewPane(final boolean init)
  {
    messages = new Messages(getLocale(), SwingPreviewModule.BUNDLE_NAME,
        ObjectUtilities.getClassLoader(SwingPreviewModule.class));
    sizeLimiter = new WindowSizeLimiter();
    zoomActions = new HashMap();

    this.menus = PreviewPane.EMPTY_MENU;
View Full Code Here

    this.progressDialog = dialog;
    this.report = report;
    if (swingGuiContext != null)
    {
      this.statusListener = swingGuiContext.getStatusListener();
      this.messages = new Messages(swingGuiContext.getLocale(), ExcelExportPlugin.BASE_RESOURCE_CLASS,
          ObjectUtilities.getClassLoader(ExcelExportPlugin.class));
    }
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.libraries.base.util.Messages

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.