schemaParser.parseSchema(readSchemas, ref, false);
}
}
}
else if (def instanceof WebApplication){
WebApplication app = (WebApplication) def;
if (app.getDefinedInModule() == codeGenModule){
application = app;
// We create an internal run context item for the generated PlaceHistoryMapper
RunContextItem rci = new RunContextItem();
rci.setAutoCreated(true);
RunContextItemCollection rcic = contexts.get(rci.getContextImpl());
rci.setItemName("historyMapper");
rci.setDescription("This is the auto generated run context item that provides a handle to the application specific PlaceHistoryMapper for a web application.");
rci.setItemOrder(7);
rci.setUseClass(codeGenModule.getGenPackage() + ".generated.mvw.places." + app.getAppName() + "PlaceHistoryMapper");
rci.setConstruction("GWT.create(" + app.getAppName() + "PlaceHistoryMapper.class)");
rci.addImportThis("com.google.gwt.core.client.GWT");
rci.setDefinedInModule(app.getDefinedInModule());
if (rcic == null){
rcic = new RunContextItemCollection(rci.getContextImpl());
contexts.put(rci.getContextImpl(), rcic);
}