public void Init(IProject project) { this.project = project; this.filename = Path.Combine(project.ProjectPath, string.Format("{0}.xmi", project.Name)); unresolved.Clear(); dataTypes.Clear(); //Primary Tags tags["uml:model"] = new ReadTags(ParseModel); tags["uml:class"] = new ReadTags(ParseClass); tags["uml:interface"] = new ReadTags(ParseInterface); //Tiveram de ser adicionas senão o Motor iria ler a estas tags tags["xmi:extension"] = new ReadTags(Ignore); tags["xmi:documentation"] = new ReadTags(Ignore); //Inner Tags innerTags["uml:generalization"] = new InnerTags(ParseGeneralization); innerTags["uml:operation"] = new InnerTags(ParseOperation); innerTags["uml:parameter"] = new InnerTags(ParseParameter); innerTags["uml:property"] = new InnerTags(ParseProperty); innerTags["uml:primitivetype"] = new InnerTags(ParsePrimitiveType); innerTags["uml:datatype"] = new InnerTags(ParsePrimitiveType); innerTags["uml:interfacerealization"] = new InnerTags(ParseInterfaceRealization); innerTags["uml:property"] = new InnerTags(ParseProperty); innerTags["uppervalue"] = new InnerTags(UpperValue); innerTags["lowervalue"] = new InnerTags(LowerValue); }
public void Init(IProject project) { this.project = project; this.path = Path.Combine(project.OutputPath, "XmlLibraries/Process"); dataTypes.Clear(); unresolved.Clear(); //Primary Tags tags["annotation"] = new ReadTags(Ignore); tags["startTransitions"] = new ReadTags(Ignore); tags["nodeList"] = new ReadTags(ParseNodeList); tags["node"] = new ReadTags(ParseNodeElement); tags["screenNode"] = new ReadTags(ParseScreenNodeElement); tags["subProcess"] = new ReadTags(ParseSubProcessNodeElement); //Inner Tags innerTags["transitions"] = new InnerTags(ParseTransitions); innerTags["transition"] = new InnerTags(ParseTransition); innerTags["moniker"] = new InnerTags(ParseMoniker); innerTags["extended"] = new InnerTags(ParseExtended); //Screen Specific innerTags["screen"] = new InnerTags(ParseScreen); innerTags["style"] = new InnerTags(ParseStyle); }
public void Init( IProject project ) { this.project = project; this.filename = Path.Combine(project.ProjectPath, string.Format("{0}.xmi", project.Name)); unresolved.Clear(); dataTypes.Clear(); //Primary Tags tags["uml:model"] = new ReadTags( ParseModel ); tags["uml:class"] = new ReadTags( ParseClass ); tags["uml:interface"] = new ReadTags( ParseInterface ); //Tiveram de ser adicionas senão o Motor iria ler a estas tags tags["xmi:extension"] = new ReadTags( Ignore ); tags["xmi:documentation"] = new ReadTags( Ignore ); //Inner Tags innerTags["uml:generalization"] = new InnerTags( ParseGeneralization ); innerTags["uml:operation"] = new InnerTags( ParseOperation ); innerTags["uml:parameter"] = new InnerTags( ParseParameter ); innerTags["uml:property"] = new InnerTags( ParseProperty ); innerTags["uml:primitivetype"] = new InnerTags( ParsePrimitiveType ); innerTags["uml:datatype"] = new InnerTags( ParsePrimitiveType ); innerTags["uml:interfacerealization"] = new InnerTags( ParseInterfaceRealization ); innerTags["uml:property"] = new InnerTags( ParseProperty ); innerTags["uppervalue"] = new InnerTags( UpperValue ); innerTags["lowervalue"] = new InnerTags( LowerValue ); }
public void Init( IProject project ) { this.project = project; this.path = Path.Combine(project.OutputPath, "XmlLibraries/Process"); dataTypes.Clear(); unresolved.Clear(); //Primary Tags tags["annotation"] = new ReadTags(Ignore); tags["startTransitions"] = new ReadTags(Ignore); tags["nodeList"] = new ReadTags(ParseNodeList); tags["node"] = new ReadTags(ParseNodeElement); tags["screenNode"] = new ReadTags(ParseScreenNodeElement); tags["subProcess"] = new ReadTags(ParseSubProcessNodeElement); //Inner Tags innerTags["transitions"] = new InnerTags(ParseTransitions); innerTags["transition"] = new InnerTags(ParseTransition); innerTags["moniker"] = new InnerTags(ParseMoniker); innerTags["extended"] = new InnerTags(ParseExtended); //Screen Specific innerTags["screen"] = new InnerTags(ParseScreen); innerTags["style"] = new InnerTags(ParseStyle); }