We use Java 8 and Kotlin, feel free to choose the language and feel free to use modern features of Java 8 if needed. ![]() Please fork from this base branch and create pull request into this base branch. The base integration branch for pull requests is prj2_master. This feature should eventually be merged into master and published in one of the future versions. ImporterFromCsvFile - plugs into the import wizard UI.GanttCSVOpen - the meat of CSV import, scans through the input records and makes their semantical analysis.Relevant classes in GanttProject codebase: Refer to the pull request for the details of refactoring in CSV export. This approach was already successfully implemented in CSV Export code. It seems that replacing CSVParser and CSVRecord classes with minimal required abstract interface and parameterizing CSV importer with implementation of that interface will make possible to reuse the code of importer for both CSV and Excel exports. There is a lot of non-trivial code in the export which we want to keep and don't want to duplicate. Program interfaceĬSV import uses Apache Commons CSV library and in particular its CSVParser and CSVRecord classes. This is similar to how import from MS Project works. We'd like to keep it the same and just the ability to guess file type from file extension. User interfaceĬurrently user can choose CSV import in the list of all available importers. In short, the task comes down to relatively small refactoring of the core CSV importing code. ![]() This document describes user interface and technical aspects of the implementation. We'd like to be able to import GanttProject data from Excel files in addition to already existing CSV import.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |