Bug 14615

Summary: Opening feature.xml editor nukes contents
Product: [Eclipse Project] PDE Reporter: Dean Roberts <dean.t.roberts>
Component: UIAssignee: Dejan Glozic <dejan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: jeem
Version: 2.0   
Target Milestone: 2.0 M6   
Hardware: All   
OS: All   
Whiteboard:

Description Dean Roberts CLA 2002-04-25 11:23:03 EDT
If you open a feature.xml file in the workspace the editor gratuitously removes 
all references to plug-ins that don't hapen to be in your workspace.

Extremely annoying and potentially descructive.  Little added value.
Comment 1 Dejan Glozic CLA 2002-04-29 18:22:04 EDT
feature.xml editor was designed to work with plug-ins and fragments that are in 
the workspace or can otherwise be located by PDE. In this behaviour, it is 
consistent with other PDE editors that reach out and provide integration.

What would be the preferred behaviour in this case?
Comment 2 Dean Roberts CLA 2002-04-29 18:46:02 EDT
The problem is this is the editor you get "for free" if you double click on a 
feature.xml file.

At the very least I would want the dialog that is warning me it is about to 
nuke things to have a cancel.  Or maybe even the option to "Open with a text 
editor"

Comment 3 Dejan Glozic CLA 2002-05-02 12:26:46 EDT
*** Bug 15116 has been marked as a duplicate of this bug. ***
Comment 4 Dejan Glozic CLA 2002-05-02 16:52:07 EDT
Fixed - a gentler warning will be shown in form of error overlays on plug-in 
icons and also error marker in the tasks if feature nature is present.