Bug 14615 - Opening feature.xml editor nukes contents
Summary: Opening feature.xml editor nukes contents
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P1 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 15116 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-04-25 11:23 EDT by Dean Roberts CLA
Modified: 2002-05-02 16:52 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.