Bug 176232 - Export team project set should pre-select projects based on selection
Summary: Export team project set should pre-select projects based on selection
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M7   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-03-02 15:10 EST by Willian Mitsuda CLA
Modified: 2007-06-05 15:14 EDT (History)
0 users

See Also:


Attachments
Fix (1.47 KB, patch)
2007-03-23 12:24 EDT, Tomasz Zarna CLA
no flags Details | Diff
mylar/context/zip (7.43 KB, application/octet-stream)
2007-03-23 12:24 EDT, Tomasz Zarna CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Willian Mitsuda CLA 2007-03-02 15:10:18 EST
Eclipse 3.3 M5:

If I select some projects on package explorer and invoke the export team project set wizard, the projects should be pre-selected on wizard.

The same should occur if I select 1 or more workings sets; its projects should be pre-selected.
Comment 1 Tomasz Zarna CLA 2007-03-23 09:15:16 EDT
Adding some more details: selected projects in package explorer will be exported to psf file,  even though they are not ticked in the "Projects to export" list.
Comment 2 Tomasz Zarna CLA 2007-03-23 12:24:40 EDT
Created attachment 61850 [details]
Fix

The patch makes two changes in ExportProjectSetMainPage.java class:
1) to make selected projects checked on the wizard selectedProjects field in projectPage must be set before controls are created
2) due fact that workingSetPage is initially hidden, the enablement check for projectPage (which is visible at the beginning) should be done as the last one

Referring to the second part of your description, about working setes, I belive bug 178224 will be better place to start.
Comment 3 Tomasz Zarna CLA 2007-03-23 12:24:44 EDT
Created attachment 61851 [details]
mylar/context/zip
Comment 4 Willian Mitsuda CLA 2007-03-23 13:19:22 EDT
Off-topic: good to see the platform commiters using mylar!
Comment 5 Michael Valenta CLA 2007-03-26 11:28:33 EDT
Patch released
Comment 6 Tomasz Zarna CLA 2007-04-26 05:35:22 EDT
Verified in I20070424-0930.