Bug 102485 - [Import/Export] Export to filesystem loses current selection in Package Explorer
Summary: [Import/Export] Export to filesystem loses current selection in Package Explorer
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M2   Edit
Assignee: Karice McIntyre CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-01 10:54 EDT by Jörg von Frantzius CLA
Modified: 2005-09-20 14:54 EDT (History)
1 user (show)

See Also:


Attachments
Selection in Package Explorer that causes the problem (97.72 KB, image/png)
2005-07-01 10:55 EDT, Jörg von Frantzius CLA
no flags Details
apply patch to WorkbenchWizardElement.java (1.65 KB, patch)
2005-08-25 13:13 EDT, Karice McIntyre CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jörg von Frantzius CLA 2005-07-01 10:54:07 EDT
In the Package Explorer (in "Show Working Sets" mode), I have several projects
selected, with one of them being expanded in the Package Explorer tree. Now when
my selection includes the "JRE System Library" entry in that project, and when I
then chose "Export"-"To Filesystem", the wizard coming up has nothing selected
for export, i.e. it loses completely the current selection in the Package
Explorer View.
Comment 1 Jörg von Frantzius CLA 2005-07-01 10:55:09 EDT
Created attachment 24267 [details]
Selection in Package Explorer that  causes the problem
Comment 2 Dirk Baeumer CLA 2005-07-02 13:52:16 EDT
The happens for elements which aren't convertable to resources. The export
wizard should be more graceful here when the parent is selected as well.
Comment 3 Karice McIntyre CLA 2005-08-25 13:13:19 EDT
Created attachment 26459 [details]
apply patch to WorkbenchWizardElement.java

This fix ignores any non-resource selections, instead of returning empty
selection if a non-resource is selected amongst the resources.
Comment 4 Karice McIntyre CLA 2005-08-25 13:15:51 EDT
Kim, can you check this patch?  Thanks.
Comment 5 Kim Horne CLA 2005-08-25 13:42:17 EDT
Fix in HEAD.
Comment 6 Karice McIntyre CLA 2005-09-20 14:54:11 EDT
verified in 0920