| Summary: | importURI is not 'very easy to use' | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Ed Willink <ed> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P5 | CC: | Holger.Schill, sebastian.zarnekow |
| Version: | 1.0.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
|
Description
Ed Willink
There is a possibility to customize the convention for each dsl in the corresponding RuntimeModule to e.g. "namespace".
@Override
public void configure(Binder binder) {
super.configure(binder);
binder.bindConstant().annotatedWith(Names.named(ImportUriResolver.IMPORT_URI_FEATURE)).to("namespace");
}
Of course it does not solve the problem that the Grammar / Metamodel has to follow conventions but you can introduce your own one.
|