Package com.cxy.redisclient.presentation.favorite

Examples of com.cxy.redisclient.presentation.favorite.OrganizeFavoriteDialog.open()


      public void widgetSelected(SelectionEvent e) {
        OrganizeFavoriteDialog dialog = new OrganizeFavoriteDialog(
            shell, iconImage);

        @SuppressWarnings("unchecked")
        List<Favorite> favorites = (List<Favorite>) dialog.open();
        if (favorites != null) {
          service3.updateList(favorites);

          removeFavoriteMenuItem();
          addFavoriteMenuItem();
View Full Code Here


    mntmDonation.addSelectionListener(new SelectionAdapter() {
      @Override
      public void widgetSelected(SelectionEvent arg0) {
        DonationDialog dialog = new DonationDialog(shell, iconImage,
            codeImage);
        dialog.open();
      }
    });
    mntmDonation.setText(i18nFile.getText(I18nFile.DONATION));

    new MenuItem(menu_2, SWT.SEPARATOR);
View Full Code Here

    MenuItem mntmAbout = new MenuItem(menu_2, SWT.NONE);
    mntmAbout.addSelectionListener(new SelectionAdapter() {
      @Override
      public void widgetSelected(SelectionEvent arg0) {
        AboutDialog dialog = new AboutDialog(shell, iconImage);
        dialog.open();
      }
    });
    mntmAbout.setText(i18nFile.getText(I18nFile.ABOUT));
  }
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.