Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gmf-dev] organize imports

Organization of import statements was added recently to gmf generator. So now most of qualified names you use in templates will be moved to imports after generation. Though, there are several exceptions one should keep in mind. Qualified class and package names are distinguished from static fields only by the case of their names. :( So using upper-case letters in package names (org.eclipse.gmf.SamplePackage.*) or non-mixed-case ones (org.eclipse.osgi.util.NLS) in class names still cause in nasty results. The latter is just not imported, whereas the first case will generate incompilable code!

Back to the top