Package org.eclipse.wb.internal.core.model.menu

Examples of org.eclipse.wb.internal.core.model.menu.IMenuInfo


    MenuItemInfo item = (MenuItemInfo) menu.getItems().get(0);
    // prepare "subMenu"
    MenuInfo subMenu = item.getSubMenu();
    assertNotNull(subMenu);
    // prepare object for "subMenu"
    IMenuInfo subMenuObject;
    {
      IMenuInfo menuObject = MenuObjectInfoUtils.getMenuInfo(menu);
      IMenuItemInfo itemObject = menuObject.getItems().get(0);
      subMenuObject = itemObject.getMenu();
    }
    // check
    assertNotNull(subMenuObject);
    assertSame(subMenu, subMenuObject.getModel());
View Full Code Here

TOP

Related Classes of org.eclipse.wb.internal.core.model.menu.IMenuInfo

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.