| Summary: | Make namespace handling optional for named SlotEntry | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Robert von Massow <rvonmassow> | ||||
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | sven.efftinge | ||||
| Version: | unspecified | Flags: | sven.efftinge:
kepler+
|
||||
| Target Milestone: | M4 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Robert von Massow
Created attachment 201798 [details]
This patch adds a boolean property to the SlotEntry class
We should pass in and use a QualifiedNameConverter from the injector in the checkConfigurationInternal phase of AbstractReader. For now setting a non existent namespaceDelimiter (e.g. '$%§$&§&§') should also work. If the property 'namespaceDelimiter' is set to an empty string (or null) no delimiter will be used.
Instead a comparison by string (using toString() on the EObjectDescription's name) is done.
/**
* The delimiter to use for the names. When not set the dot (".") is used.
* Must be set to an empty string ("") if no delimiter should be used.
*/
public void setNamespaceDelimiter(String namespaceDelimiter) {
this.namespaceDelimiter = namespaceDelimiter;
}
pushed to master.
Requested via bug 522520. -M. |