Package com.santiagolizardo.beobachter.gui.actions

Examples of com.santiagolizardo.beobachter.gui.actions.ActionFactory


  public MainWindow(ConfigData configData) {
    this.configData = configData;

    recentFiles = configData.getRecentFiles();

    actionFactory = new ActionFactory(this);

    desktop = new DesktopPanel();

    menu = new Menu(desktop, this);
    setJMenuBar(menu);
View Full Code Here


    setText(tr("Edit"));
    setEnabled(false);
    setMnemonic(KeyEvent.VK_E);

    ActionFactory actionFactory = mainWindow.getActionFactory();

    copyMenuItem = new JMenuItem(actionFactory.getCopyAction());
    JMenuItem selectAllMenuItem = new JMenuItem(
        actionFactory.getSelectAllAction());

    JMenuItem findMenuItem = new JMenuItem(new FindAction(mainWindow));
    JMenuItem findNextMenuItem = new JMenuItem(new FindNextAction(mainWindow));
   
    JMenuItem clearSelectedBufferMenuItem = new JMenuItem(new ClearSelectedBufferAction(mainWindow));
View Full Code Here

  public ContextualMenu(MainWindow mainWindow) {

    this.mainWindow = mainWindow;
   
    ActionFactory actionFactory = mainWindow.getActionFactory();

    JMenuItem copy = new JMenuItem(actionFactory.getCopyAction());
    JMenuItem selectAll = new JMenuItem(
        actionFactory.getSelectAllAction());
   
    JMenuItem hideSelectedLinesMenuItem = new JMenuItem(Translator.tr("Hide selected lines"));
    hideSelectedLinesMenuItem.addActionListener(this);

    add(copy);
View Full Code Here

TOP

Related Classes of com.santiagolizardo.beobachter.gui.actions.ActionFactory

Copyright © 2018 www.massapicom. 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.