Examples of addSeparator()


Examples of org.springframework.richclient.command.CommandGroup.addSeparator()

        table.add(widget.getComponent(), BorderLayout.CENTER);
        table.add(widget.getButtonBar(), BorderLayout.SOUTH);

        CommandGroup popup = new CommandGroup();
        popup.add((ActionCommand) getWindowCommandManager().getCommand("deleteCommand", ActionCommand.class));
        popup.addSeparator();
        popup.add((ActionCommand) getWindowCommandManager().getCommand("propertiesCommand", ActionCommand.class));
        JPopupMenu popupMenu = popup.createPopupMenu();

        widget.getTable().addMouseListener(new MouseAdapter()
        {
View Full Code Here

Examples of org.wikipediacleaner.gui.swing.menu.AnalysisPageListMenuCreator.addSeparator()

   * @see org.wikipediacleaner.gui.swing.component.AbstractPageListPopupListener#createPopup(javax.swing.JPopupMenu, org.wikipediacleaner.api.data.Page)
   */
  @Override
  protected void createPopup(JPopupMenu popup, Page link) {
    AnalysisPageListMenuCreator menu = new AnalysisPageListMenuCreator();
    menu.addSeparator(popup);
    if (Boolean.TRUE.equals(link.isDisambiguationPage())) {
      menu.addReplaceAllLinks(popup, link, textPane);
    }
    menu.addItemRemoveAllLinks(popup, link, textPane);
    menu.addSeparator(popup);
View Full Code Here

Examples of org.wikipediacleaner.gui.swing.menu.BasicMenuCreator.addSeparator()

    BasicMenuCreator menu = new BasicMenuCreator();
    JPopupMenu popup = menu.createPopupMenu(GT._(
        "Page: {0}",
        limitTextLength(pageAnalysis.getPage().getTitle(), 50)));
    menu.addCurrentChapter(popup, position, pageAnalysis);
    menu.addSeparator(popup);
    menu.addView(wikipedia, popup, pageAnalysis.getPage(), false);
    return popup;
  }

  /**
 
View Full Code Here

Examples of org.wikipediacleaner.gui.swing.menu.DisambiguationPageListMenuCreator.addSeparator()

   */
  @Override
  protected void createPopup(JPopupMenu popup, Page link) {
    DisambiguationPageListMenuCreator menu = new DisambiguationPageListMenuCreator();
    if (backlinksProperties != null) {
      menu.addSeparator(popup);
      menu.addItemsMarkBacklink(wikipedia, popup, page, link, backlinksProperties);
    }
    menu.addSeparator(popup);
    menu.addAnalyze(wikipedia, popup, link);
    menu.addView(wikipedia, popup, link, true);
View Full Code Here

Examples of org.wikipediacleaner.gui.swing.menu.MWPaneDisambiguationMenuCreator.addSeparator()

          (matcher.getExplanation().length() > 0)) {
        menu.addDisabledText(popup, "→ " + matcher.getExplanation() + " ←");
      }
      menu.addCurrentChapter(popup, position, pageAnalysis);

      menu.addSeparator(popup);
      Page templatePage = DataManager.getPage(getWikipedia(), templateTitle, null, null, null);

      menu.addReplaceTemplate(
          getWikipedia(), popup, template, matcher,
          page, pageAnalysis.getPage(), element, textPane);
View Full Code Here

Examples of shared.popupmenu.JStatusMenu.addSeparator()

                    JOptionPane.showMessageDialog(Main.m_mainFrame, String.format(Main.getString("msg_browserlaunch_failed"), m_homepage), Main.getMessageBoxCaption(), JOptionPane.PLAIN_MESSAGE, Main.m_icon32);
                }
            }
        });

        menu.addSeparator();

        menuItem =  new JStatusMenuItem(Main.getString("menu_help_update"), Main.getString("statusbar_menu_help_update_help"), m_statusBar);
        menu.add(menuItem);
        menuItem.addActionListener(new ActionListener()
        {
View Full Code Here

Examples of shared.popupmenu.JStatusPopupMenu.addSeparator()

                        {
                            doDel(-1);
                        }
                    });

                    menu.addSeparator();
                    menuItem = new JStatusMenuItem(Main.getString("cancel"), Main.getString("statusbar_menutable_cancel_help"), m_statusBar);
                    menu.add(menuItem);
                    m_statusBar.saveText();
                    menu.show(ev.getComponent(), ev.getX(), ev.getY());
                }
View Full Code Here

Examples of util.ui.EnhancedPanelBuilder.addSeparator()

    CellConstraints cc = new CellConstraints();
    EnhancedPanelBuilder levelList = new EnhancedPanelBuilder("5dlu,default:grow");
    levelList.setDefaultDialogBorder();

    levelList.addRow();
    levelList.addSeparator(mLocalizer.msg("downloadLevel", "Download this data"), cc.xyw(1,levelList.getRow(),2));

    TvDataLevel[] levelArr = DayProgramFile.getLevels();

    String[] levelIds = settings.getLevelIds();
View Full Code Here

Examples of view.componentes.JMenuPaint.addSeparator()

    JMenuPaint menu = new JMenuPaint(titulo);               
    menu.setMnemonic(mnemonic);
    menu.setFont(new Font("Segoe UI", Font.PLAIN, 16));
    menu.add(mI1);
    if (mI2 == null)
      menu.addSeparator();
    else
      menu.add(mI2);
    if (mI3 == null)
      menu.addSeparator();
    else
View Full Code Here

Examples of xnap.gui.menu.UserMenu.addSeparator()

  JPanel jpUsers = new JPanel(new BorderLayout());

  // user popup
  UserMenu jm = new UserMenu(this, true);
  jm.add(acWhois);
  jm.addSeparator();

  // user table
  wtm = new WhoisTableModel();
  jtaUsers = wtm.createJTable();
  jtaUsers.addMouseListener(new PopupListener(jm));
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.