Bug 27956 - Create Ant Main tab to limit location selection
Summary: Create Ant Main tab to limit location selection
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.1   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Luc Bourlier CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2002-12-09 11:45 EST by Jared Burns CLA
Modified: 2002-12-10 17:03 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Burns CLA 2002-12-09 11:45:41 EST
Currently, the Main tab allows the user to choose any random location for an
external tool. For Ant, we should limit the selection to .xml files.

An XML-file selection dialog has already been implemented for the Ant View's
AddBuildFileAction. We should subclass the external tools Main tab and make
the "Browse Workspace..." button use the build file selection dialog.
Comment 1 Jared Burns CLA 2002-12-09 14:09:45 EST
Made the BuildFileSelectionDialog more reusable (it supports arbitrary pattern
matching to filter the file selection) and renamed it to FileSelectionDialog.

The Ant View AddBuildFileAction and the AntMainTab now use this dialog with
a "*.xml" pattern. The ProgramMainTab uses this dialog with no pattern.
Comment 2 Jared Burns CLA 2002-12-09 14:10:27 EST
Please verify.
Comment 3 Luc Bourlier CLA 2002-12-10 17:03:15 EST
Verified.
Please update the build notes (Jared).