Package org.dmd.mvw.tools.mvwgenerator.extended.menus

Examples of org.dmd.mvw.tools.mvwgenerator.extended.menus.MenuItem


      SubMenu menu = (SubMenu) def;
      subMenus.put(menu.getCamelCaseName(), menu);
      menuElements.put(menu.getCamelCaseName(), menu);
    }
    else if (def instanceof MenuItem){
      MenuItem item = (MenuItem) def;
      menuItems.put(item.getCamelCaseName(), item);
      menuElements.put(item.getCamelCaseName(), item);
    }
    else if (def instanceof Separator){
      Separator sep = (Separator) def;
      separators.put(sep.getCamelCaseName(), sep);
      menuElements.put(sep.getCamelCaseName(), sep);
View Full Code Here


       
        // Some additional checking to allow the use of display labels from I18N resources
        for(MenuElementDefinitionDMW def: menuElements.values()){
          try{
            if (def instanceof MenuItem){
              MenuItem item = (MenuItem) def;
                item.initLabelInfo(defaultContext);
            }
            else if (def instanceof SubMenu){
              SubMenu submenu = (SubMenu) def;
              submenu.initLabelInfo(defaultContext);
            }
View Full Code Here

        super(new MenuItemDMO(mods), org.dmd.mvw.tools.mvwgenerator.generated.MvwSchemaAG._MenuItem);
    }

    // Generated from: org.dmd.dmg.generators.BaseDMWGeneratorNewest.dumpWrapper(BaseDMWGeneratorNewest.java:491)
    public MenuItem getModificationRecorder(){
        MenuItem rc = new MenuItem();
        rc.setElementName(getElementName());
        rc.setModifier(new DmcTypeModifierMV(MetaDMSAG.__modify));
        return(rc);
    }
View Full Code Here

    public MenuItemDMW(MenuItemDMO obj) {
        super(obj, org.dmd.mvw.tools.mvwgenerator.generated.MvwSchemaAG._MenuItem);
    }

    public MenuItem cloneIt() {
        MenuItem rc = new MenuItem();
        rc.setDmcObject(getDMO().cloneIt());
        return(rc);
    }
View Full Code Here

TOP

Related Classes of org.dmd.mvw.tools.mvwgenerator.extended.menus.MenuItem

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.