Examples of JaspiraPageContainer


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

    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

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

    // 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
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.