Examples of QuitAction


Examples of org.mozilla.javascript.tools.shell.QuitAction

     */
    public ExitStatus exec(File mainScript, final String[] args, final ErrorReporter reporter) {
      final ExitStatus status = new ExitStatus();
        if(!global.isInitialized()) {
            global.init(contextFactory);
            global.initQuitAction(new QuitAction() {
                @Override
                public void quit(Context context, int exitCode) {
                  status.setExitCode(exitCode);
                }
            });
View Full Code Here

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

    /**
     * Invoked when a window is in the process of being closed. The close operation can be overridden at this point.
     */
    public void windowClosing(final WindowEvent e)
    {
      final QuitAction quitAction = new QuitAction();
      quitAction.setReportDesignerContext(context);
      quitAction.actionPerformed(new ActionEvent(this, 0, "quit", 0)); // NON-NLS
    }
View Full Code Here

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

        aboutAction.setReportDesignerContext(context);

        final SettingsAction settingsAction = new SettingsAction();
        settingsAction.setReportDesignerContext(context);

        final QuitAction quitAction = new QuitAction();
        quitAction.setReportDesignerContext(context);

        final OpenReportAction openReportAction = new OpenReportAction();
        openReportAction.setReportDesignerContext(context);

        MacOSXIntegration.setOpenFileAction(openReportAction);
View Full Code Here

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

        aboutAction.setReportDesignerContext(context);

        final SettingsAction settingsAction = new SettingsAction();
        settingsAction.setReportDesignerContext(context);

        final QuitAction quitAction = new QuitAction();
        quitAction.setReportDesignerContext(context);

        final OpenReportAction openReportAction = new OpenReportAction();
        openReportAction.setReportDesignerContext(context);

        MacOSXIntegration.setOpenFileAction(openReportAction);
View Full Code Here

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

    /**
     * Invoked when a window is in the process of being closed. The close operation can be overridden at this point.
     */
    public void windowClosing(final WindowEvent e)
    {
      final QuitAction quitAction = new QuitAction();
      quitAction.setReportDesignerContext(context);
      quitAction.actionPerformed(new ActionEvent(this, 0, "quit", 0)); // NON-NLS
    }
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.