Examples of OptionsDialog


Examples of Project1.GUI.Modifiers.OptionsDialog

      if (confirmQuit("New Game")) {
        new Game();
      }
    }
    else if (e.getSource() == OptionsMenuItem) {
      new OptionsDialog();
    }
    else if (e.getSource() == ExitMenuItem) {
      if (confirmQuit("Exit")) {
        System.exit(0);
      }
View Full Code Here

Examples of at.bestsolution.drawswf.dialog.OptionsDialog

    }
   
    //----------------------------------------------------------------------------
    public void actionPerformed(ActionEvent action_event)
    {
        options_dialog_ = new OptionsDialog();
        options_dialog_.show();
    }
View Full Code Here

Examples of com.googlecode.mgwt.ui.client.widget.dialog.options.OptionsDialog

   * @param callback - the callback of the button that was selected
   * @param widgetToCover - the widget that should be covered by the dialog
   */
  public static Dialog options(List<OptionsDialogEntry> options, OptionCallback callback, HasWidgets widgetToCover) {

    OptionsDialog optionsDialog = new OptionsDialog();

    int count = 0;
    for (OptionsDialogEntry optionsDialogEntry : options) {
      count++;
      Button button = new Button(optionsDialogEntry.getText());
      switch (optionsDialogEntry.getType()) {
        case NORMAL:
          break;
        case IMPORTANT:
          button.setImportant(true);
          break;
        case CONFIRM:
          button.setConfirm(true);
          break;
        default:
          throw new RuntimeException("how did we get here?");
      }
      button.addTapHandler(new InternalTouchHandler(count, optionsDialog, callback));
      optionsDialog.add(button);
    }
    optionsDialog.setPanelToOverlay(widgetToCover);
    optionsDialog.show();
    return optionsDialog;
  }
View Full Code Here

Examples of com.tulskiy.musique.gui.dialogs.OptionsDialog

        propsItem.setIcon(emptyIcon);
        propsItem.setAccelerator(KeyStroke.getKeyStroke("ctrl P"));
        propsItem.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                new OptionsDialog(comp).setVisible(true);
            }
        });

        JMenu orderMenu = new JMenu("Order");
        playbackMenu.add(orderMenu);
View Full Code Here

Examples of com.tulskiy.musique.gui.dialogs.OptionsDialog

        JMenuItem configure = menu.add("Configure     ");
        configure.setIcon(Images.getEmptyIcon());
        configure.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                new OptionsDialog(getRootPane(), "Library").setVisible(true);
            }
        });
        menu.add("Rescan").addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
View Full Code Here

Examples of de.axxeed.animosy.gui.OptionsDialog

    return board;
  }
 
  public void startGame() {
    state = NO_GAME;
    OptionsDialog od = new OptionsDialog();
    od.setVisible(true);
   
    PanelRepository.get(PanelRepository.HISTORY_ITEM).setEnabled(true);

    board.init();
    tracker = new MrXTracker();
View Full Code Here

Examples of de.chris_soft.fyllgen.widget.dialog.OptionsDialog

  /**
   * Optionen-Dialog anzeigen.
   * @see org.eclipse.swt.widgets.Listener#handleEvent(org.eclipse.swt.widgets.Event)
   */
  public void handleEvent(Event event) {
    OptionsDialog optionsDialog = new OptionsDialog(GUI.instance.shell);
    optionsDialog.open();
  }
View Full Code Here

Examples of net.sf.soundcomp.ide.dialog.OptionsDialog

        statusBar.setVisible(!statusBar.isVisible());
    }

    @Action
    public void actionToolsOptions() {
        optionsDialog = new OptionsDialog(((SingleFrameApplication) getApplication()).getMainFrame(),true);
        optionsDialog.setPreferenceReader(new OptionsDialog.PreferencesReader() {
            public void loadPreferences(Preferences prefs) {
                loadPreferences(prefs);
            }
        });
View Full Code Here

Examples of net.sourceforge.fullsync.ui.OptionsDialog

    final boolean[] arr = new boolean[] { false };
    if (null != desc.getParameter("interactive")) {
      GuiController.getInstance().getDisplay().syncExec(new Runnable() {
        @Override
        public void run() {
          OptionsDialog od = new OptionsDialog(GuiController.getInstance().getMainShell(), SWT.ICON_QUESTION);
          od.setText("Question - FullSync"); //FIXME: translate
          od.setMessage(message); //FIXE: translate message
          od.setOptions(new String[] { "Yes", "No" }); //FIXME: translate
          if ("Yes".equals(od.open())) { //FIXME: translate
            arr[0] = true;
          }
        }
      });
    }
View Full Code Here

Examples of org.eobjects.datacleaner.windows.OptionsDialog

    final JMenuItem optionsMenuItem = WidgetFactory.createMenuItem("Options", "images/menu/options.png");
    optionsMenuItem.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent e) {
        OptionsDialog optionsDialog = _optionsDialogProvider.get();
        optionsDialog.setVisible(true);
      }
    });

    final JMenuItem helpContents = WidgetFactory.createMenuItem("Help contents", "images/widgets/help.png");
    helpContents.addActionListener(new OpenBrowserAction("http://datacleaner.eobjects.org/docs"));
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.