Community
Participate
Working Groups
Created attachment 224910 [details] Patch with code contribution for bundle org.eclipse.dltk.core In o.e.dltk.core, the NewSourceModulePage and its super class NewContainerWizardPage provide support for a file name (of the new source module) and its container, that is the source folder. Many languages use the concept of packages (which are represented as folders). At the moment it is not possible to select a source folder _and_ a package separately. Please find attached a patch providing a new page class NewSourceModuleInPackagePage, extending NewSourceModulePage and adding the concept of packages. Optionally, the new page can be configured in order to create missing packages (i.e., folders) automatically. I tried to change as few things in the existing code as possible. Also, I tried to implement the Liskov substitution principle, that is the subclass can be used similar to its super class. As the code contribution exceeds the limit of 250 lines, I expect a CQ to be created. There for I confirm that (a) I wrote 100% of the code; (b) I have the right to contribute the code to Eclipse; and (c) the file header contains the appropriate License header. Regards, Jens PS: I created the patch using diff against the latest master version (12/19/2012).
CQ 6958 was approved
Applied the patch.