| Summary: | GEF4 DOT contains naming inconsistencies (package names, grammar, language registration) | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Alexander Nyßen <nyssen> |
| Component: | GEF DOT | Assignee: | gef-inbox <gef-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | steeg |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Alexander Nyßen
I checked the naming convention and I was using the 'internal' segment the wrong way, it should be 'org.eclipse.gef4.internal.dot.*'. See: https://wiki.eclipse.org/Naming_Conventions#Java_Packages I've refactored the package name and fixed the naming inconsistencies in Dot.xtext and plugin.xml for the new namespace: http://git.eclipse.org/c/gef/org.eclipse.gef4.git/commit/?id=ba20fe8679cbcb (In reply to Fabian Steeg from comment #1) > I checked the naming convention and I was using the 'internal' segment the > wrong way, it should be 'org.eclipse.gef4.internal.dot.*'. See: > https://wiki.eclipse.org/Naming_Conventions#Java_Packages > > I've refactored the package name and fixed the naming inconsistencies in > Dot.xtext and plugin.xml for the new namespace: > http://git.eclipse.org/c/gef/org.eclipse.gef4.git/commit/?id=ba20fe8679cbcb Looks a lot cleaner now! Hmm, I now also took another look into the naming conventions. Does that mean we would also have to rethink the naming of our tests and examples bundles (or does that only refer to package naming within production components?) > Does that mean we would also have to rethink the naming of our
> tests and examples bundles (or does that only refer to package naming within
> production components?)
From the linked wiki page it sounds like it's the same for tests and examples. In the case of internal I think it really makes sense: it's the gef4.internal API, not each component's internal API. Tests and examples however make more sense to me as part of their component. So I think I prefer the current names.
|