EclipseProjectImportUIReview
Following UI and workflow should be reviewed.
- import is started via File -> Import Project -> Eclipse Project action
- first page of import wizard (two variations):
Following errors can be shown:
You must choose a directory containing an Eclipse workspace before continuing.
You must choose a directory containing an Eclipse project before continuing.
You must choose a destination for the imported Eclipse project.
"{0}" doesn't contain a regular Eclipse workspace.
"{0}" doesn't contain a regular Eclipse project.
- second page of import wizard (only applicable for import from Workspace; two variations):
if eclipse workspace was chosen then Note disappears:
Perhaps this should be completely changed and use a checkbox instead with a text like "Generate NetBeans project into separate directory" which by default would be OFF and NetBeans project Location field would be disabled in such a case.
Things to notice:
- selecting a project with required projects automatically selects required projects and project's checkbox gets disabled
- unsupported project type's checkbox is disabled
- project import shows progress bar
- progress problems are shown after import
- right click project node - > Synchronize with Eclipse action
Performs synchronization with three outcomes:
- synchronization was performed and everything went OK - nothing is shown to user
- synchronization was performed but there were issues and above import problems dialog is shown
- projects are in synch and following message box is shown:
- NetBeans project link to its Eclipse source
If NetBeans project link to its Eclipse source is broken and user tries to Synchronize projects then paths to Eclipse project and workspace needs to be resolved:
Things we would like to change
Synchronization per project does not make sense (eg. in case of inter project dependencies when you want to update all projects). It will be rewritten synchronization action will always synchronize all Eclipse imported projects. That also means that action can be removed from project node and moved for example to File -> Import Project menu as "Synchronize" (or "Update Imported Projects" or ...). Question is whether for discoverability we should keep action on project node as well.









