This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 74069 - Refactor|Undo of Sefely Deleted Action does not work properly
Summary: Refactor|Undo of Sefely Deleted Action does not work properly
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-28 09:24 UTC by Max Sauer
Modified: 2011-04-20 17:59 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Sauer 2006-03-28 09:24:16 UTC
Refactor|Undo of a Sefely Deleted action does not restore removed entries inside
layer.xml file.

Steps to reproduce:
-------------------
1) Create an NBM module project
2) Add a Menu action
3) Remove it via Safely Delete
--> *.java source and entries from layer.xml deleted (without ordering items,
issue 72788)
4) Choose Refactor | Undo from IDE's menu
--> *.java source undeleted, but entries inside layer.xml not restored.

----------
NetBeans IDE Dev (Build 200603270859)
1.6.0-beta2; Java HotSpot(TM) Client VM 1.6.0-beta2-b76
SunOS version 5.10 running on sparc
en (nb); ISO646-US
Comment 1 Milos Kleint 2006-03-29 08:17:06 UTC
it was not implemented at all.
Another example of why it was a bad decision of mine to include layer.xml
refactorings into the module. :(
Layers are inherently more complex than the manifest.mf and META-INF/services
registrations that were initially supported only.
Comment 2 Milos Kleint 2006-03-29 08:19:40 UTC
-> future.
Comment 3 tonybeckham 2007-10-11 19:05:13 UTC
This is a problem still with latest dev builds for 6.0
I think this should be something that Sonali can look at and comment on.
Comment 4 rmichalsky 2008-11-22 20:27:05 UTC
Less important with onset of annotations (see #150804)
Comment 5 Quality Engineering 2009-11-02 10:54:57 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX
Comment 6 Jesse Glick 2009-11-23 13:38:37 UTC
Probably still valid, but low priority. Unless we decide to delete apisupport.refactoring entirely. Or we may look for a community maintainer - it is pretty well isolated from other stuff, I think.
Comment 7 Jesse Glick 2011-04-20 17:59:18 UTC
Not an issue when using @ActionRegistration in NB 7.0.