Bug 21120 - organize impors: not allowed on package if 1 cu read-only [code manipulation]
Summary: organize impors: not allowed on package if 1 cu read-only [code manipulation]
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: 2.1 M2   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2002-06-28 09:13 EDT by Adam Kiezun CLA
Modified: 2002-10-15 12:27 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2002-06-28 09:13:54 EDT
GM6
looks like this thing goes and checks each file before puttin itself to the menu
if 1 cu is readonly - the action is not there.
very confusing (how am i supposed to know that that was the reason?)
plus, it's wrong - it should just go and do it for other files
Comment 1 Dirk Baeumer CLA 2002-07-29 13:06:44 EDT
We should use validateEdit support as we do for refactoring. But validateEdit 
should only be called on execution and if we really change the CU. If we can't 
edit the CU we should show an Error dialog saying which CUs couldn't be changed.

See also bug 17600
Comment 2 Martin Aeschlimann CLA 2002-10-15 12:27:42 EDT
fixed in M2