Examples of ZoomToFitAction


Examples of ca.nengo.ui.lib.actions.ZoomToFitAction

      }
      PasteAction pasteAction = new PasteAction("Paste '" + selectionName + "' here", (NodeContainer)this, false);
      pasteAction.setPosition(posX, posY);
      menu.addAction(pasteAction);
    }
    menu.addAction(new ZoomToFitAction("Zoom to fit", this));
    /*MenuBuilder windowsMenu = menu.addSubMenu("Windows");
    windowsMenu.addAction(new CloseAllWindows("Close all"));
    windowsMenu.addAction(new MinimizeAllWindows("Minimize all"));*/
  }
 
View Full Code Here

Examples of ca.nengo.ui.lib.actions.ZoomToFitAction

    windowsMenu.addAction(new CloseAllWindows("Close all"));
    windowsMenu.addAction(new MinimizeAllWindows("Minimize all"));*/
  }

  protected void constructSelectionMenu(Collection<WorldObject> selection, PopupMenuBuilder menu) {
    menu.addAction(new ZoomToFitAction("Zoom to fit", this));
    menu.addAction(new RemoveObjectsAction(selection, "Remove selected"));
  }
View Full Code Here

Examples of ca.nengo.ui.lib.actions.ZoomToFitAction

    }

    protected void constructShortcutKeys(LinkedList<ShortcutKey> shortcuts) {
        shortcuts.add(new ShortcutKey(MENU_SHORTCUT_KEY_MASK, KeyEvent.VK_0,
            new ZoomToFitAction("Zoom to fit", (WorldImpl)getTopWorld())));
    }
View Full Code Here

Examples of ca.nengo.ui.lib.actions.ZoomToFitAction

                    KeyStroke.getKeyStroke(0x30 + count++, MENU_SHORTCUT_KEY_MASK));

        }
        viewMenu.getJMenu().addSeparator();

        viewMenu.addAction(new ZoomToFitAction("Zoom to fit", this.getWorld()),
                KeyEvent.VK_0,
                KeyStroke.getKeyStroke(KeyEvent.VK_0, MENU_SHORTCUT_KEY_MASK));
    }
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.