Examples of PreferencesDialog


Examples of net.sf.jpluck.apps.jpluckx.ui.PreferencesDialog

                                                       "The destination must be configured before documents can be converted.\n\n" +
                                                       "Do you want to configure the destination now?",
                                                       "Configure Destination", JOptionPane.YES_NO_OPTION,
                                                       JOptionPane.QUESTION_MESSAGE);
            if (result == JOptionPane.YES_OPTION) {
                PreferencesDialog dlg = new PreferencesDialog(activeListFrame);
                dlg.show();
                return !dlg.isCancelled();
            } else {
                return false;
            }
        } else {
            return true;
View Full Code Here

Examples of org.aavso.tools.vstar.ui.dialog.prefs.PreferencesDialog

   * Returns the action listener to be invoked for File->Preferences...
   */
  public ActionListener createPrefsListener() {
    return new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        PreferencesDialog prefsDialog = PreferencesDialog.getInstance();
        prefsDialog.showDialog();
      }
    };
  }
View Full Code Here

Examples of org.rioproject.tools.ui.prefs.PreferencesDialog

        if(!MacUIHelper.isMacOS()) {
            fileMenu = new JMenu("File");
            JMenuItem preferencesMenuItem = fileMenu.add(new JMenuItem("Preferences"));
            preferencesMenuItem.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    PreferencesDialog prefs = new PreferencesDialog(frame, getGraphView(), cup);
                    prefs.setVisible(true);
                }
            });
            JMenuItem exitMenuItem = fileMenu.add(new JMenuItem("Exit"));
            exitMenuItem.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
View Full Code Here

Examples of org.rioproject.tools.ui.prefs.PreferencesDialog

                for (WindowListener wListener : wListeners) {
                    wListener.windowClosing(event);
                }
            }
             if (method.getName().equals("handlePreferences")) {
                 PreferencesDialog prefs = new PreferencesDialog(frame,
                                                                 graphView,
                                                                 cup);
                 prefs.setVisible(true);
             }

            return (null);
        }
View Full Code Here

Examples of org.rstudio.studio.client.workbench.prefs.views.PreferencesDialog

            @Override
            public void onResponseReceived(RPrefs rPrefs)
            {
               indicator.onCompleted();
               PreferencesDialog prefDialog = pPrefDialog_.get();
               prefDialog.initialize(rPrefs);
               if (activateSourceControl)
                  prefDialog.activateSourceControl();
               prefDialog.showModal();
              
               // if the user changes global sweave or latex options notify
               // them if this results in the current project being out
               // of sync with the global settings
               new SweaveProjectOptionsNotifier(prefDialog);
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.