Package org.openbp.jaspira.gui.plugin

Examples of org.openbp.jaspira.gui.plugin.JaspiraPageContainer$OpenAction


    if (menu == null)
      return EVENT_IGNORED;

    // Show the menu below the main toolbar
    JaspiraPage page = itemBrowser.getPage();
    JaspiraPageContainer pagecontainer = (JaspiraPageContainer) page.getParentContainer();
    JaspiraToolbar toolbar = pagecontainer.getToolbar();

    int height = toolbar.getHeight();
    menu.show(toolbar, 0, height);

    return EVENT_CONSUMED;
View Full Code Here


    // Check if we had/have no modeler plugin
    if (nModelersBefore == 0 || nModelersAfter == 0)
    {
      // Rebuild the menu and toolbar in order to consider the modeler-specific menu items
      JaspiraPageContainer pageContainer = (JaspiraPageContainer) getParentContainer();
      pageContainer.buildMenu();
    }

    modeler.focusPlugin();

    return modeler;
View Full Code Here

TOP

Related Classes of org.openbp.jaspira.gui.plugin.JaspiraPageContainer$OpenAction

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.