|
From: Steve J. <sj...@us...> - 2006-01-03 20:40:35
|
Update of /cvsroot/modelwizard/source/Chameleon Plugin/src/net/sourceforge/modelWizard/chameleon/exporters In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25193/src/net/sourceforge/modelWizard/chameleon/exporters Modified Files: IntermediateModelExport.java Log Message: Fix up xml schema stereos Index: IntermediateModelExport.java =================================================================== RCS file: /cvsroot/modelwizard/source/Chameleon Plugin/src/net/sourceforge/modelWizard/chameleon/exporters/IntermediateModelExport.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** IntermediateModelExport.java 3 Jan 2006 20:08:56 -0000 1.5 --- IntermediateModelExport.java 3 Jan 2006 20:40:24 -0000 1.6 *************** *** 138,142 **** public Type getChameleonType(Type intermediateType){ if (!chameleons.containsKey(intermediateType)) ! ModelWizardConsole.INSTANCE.complain("Could not find "+ intermediateType.getQualifiedName()+ "in Chameleon types."); return (Type) chameleons.get(intermediateType); } --- 138,142 ---- public Type getChameleonType(Type intermediateType){ if (!chameleons.containsKey(intermediateType)) ! ModelWizardConsole.INSTANCE.complain("Could not find "+ intermediateType.getQualifiedName()+ " in Chameleon types."); return (Type) chameleons.get(intermediateType); } *************** *** 144,148 **** public Type getIntermediateType(Type chameleonType){ if (!intermediates.containsKey(chameleonType)) ! ModelWizardConsole.INSTANCE.complain("Could not find "+ chameleonType.getQualifiedName()+ "in Intermediate types."); return (Type) intermediates.get(chameleonType); } --- 144,148 ---- public Type getIntermediateType(Type chameleonType){ if (!intermediates.containsKey(chameleonType)) ! ModelWizardConsole.INSTANCE.complain("Could not find "+ chameleonType.getQualifiedName()+ " in Intermediate types."); return (Type) intermediates.get(chameleonType); } *************** *** 503,506 **** --- 503,509 ---- applyStereotype(syntheticEntity, EMBEDDDEDVALUE_STEREO); + applyStereotype( + syntheticEntity, + XMLSCHEMATYPE_STEREO); ownership.push(syntheticEntity); ignoreChameleonType.push(Boolean.TRUE); |