Bug 27956

Summary: Create Ant Main tab to limit location selection
Product: [Eclipse Project] Platform Reporter: Jared Burns <jared_burns>
Component: AntAssignee: Luc Bourlier <eclipse>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: ui
Version: 2.1   
Target Milestone: 2.1 M4   
Hardware: PC   
OS: All   
Whiteboard:

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).