| Summary: | [refactoring/serializer] Make refactoring work with both serializer versions | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Jan Koehnlein <jan> |
| Component: | Xtext | Assignee: | Jan Koehnlein <jan> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sebastian.zarnekow, tmf.xtext-inbox |
| Version: | 2.0.0 | Flags: | jan:
indigo+
|
| Target Milestone: | SR2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Jan Koehnlein
Easy solution: Add an adapter inbetween with two implementations. Have a default binding that uses the old cross reference serializer. Add an explicit binding in the new serializer fragment. Introduced a CrossReferenceSerializerFacade. The CRS is selected with tregard to the binding of the ISerializer interface, because there are default bindings for both CRSs and a client can use the new serializer without the SerializerFragment. The facade also contains a hook to resolve name collisions introduced by the refactoring. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |