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

Examples of org.dmd.mvw.tools.mvwgenerator.extended.Module


//    }

    defManager.addDefinition(definition);
   
    if (definition instanceof Module){
      Module config = (Module) definition;
     
      currentModule = config;
    }
   
View Full Code Here


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

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

    public ModuleDMW(ModuleDMO obj) {
        super(obj, org.dmd.mvw.tools.mvwgenerator.generated.MvwSchemaAG._Module);
    }

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

  static String moduleLink(Module module) {
    return("<a class=\"navLink\" href=\"" + module.getCamelCaseName() + ".html\">" + module.getCamelCaseName() + "</a>");
  }

  static String definitionLink(MvwDefinition def) {
    Module module = def.getDefinedInModule();
    return("<a class=\"navLink\" href=\"" + module.getCamelCaseName() + ".html#" + def.getCamelCaseName()+ "\">" + def.getCamelCaseName() + "</a>");
  }
View Full Code Here

    checkAndAdd(def,allDefs);
   
    setSubpackage(def);
   
    if (def instanceof Module){
      Module mod = (Module) def;
      ModuleDMO dmo = mod.getDMO();
      modules.put(def.getCamelCaseName(), mod);
     
      if (codeGenModule == null)
        codeGenModule = mod;
     
      currentModule = mod;
     
      // Read any schemas the module depends on
      if (mod.getDependsOnSchemaHasValue()){
        Iterator<String> it = dmo.getDependsOnSchema();
        while(it.hasNext()){
          String ref = it.next();
          schemaParser.parseSchema(readSchemas, ref, false);
        }
View Full Code Here

      }
    }
  }
 
  void setSubpackage(MvwDefinition definition){
    Module mod = definition.getDefinedInModule();
   
    if (mod.isUsingStandardSubpackages()){
      if (definition instanceof Component){
        Component component = (Component) definition;
       
        if (component.getSubpackage() == null){
          if (component instanceof Controller)
View Full Code Here

TOP

Related Classes of org.dmd.mvw.tools.mvwgenerator.extended.Module

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.