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 159613 - unlocking guarded blocks
Summary: unlocking guarded blocks
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
: 162078 (view as bug list)
Depends on:
Reported: 2009-03-04 14:54 UTC by uktedc
Modified: 2009-04-07 10:54 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description uktedc 2009-03-04 14:54:53 UTC
I have designed 95% my user interface using the netbeans form designer using standard components as place holders.
However to progress further I have to replace those standard components by application specific components derived from
them. I do not want these components on the palette and so the easiest solution is to say goodbye to the form designer
and code the interface manually from now on. However guarded blocks prevent me carrying out this plan. I am forced at
this point to use an outside editor to remove all the //Gen tags in the source file. Obviously I can no longer use the
form designer but that is the price I am prepared to accept. I would like to suggest that the developer should have this
choice within netbeans possibly as a  unlock guarded blocks option on the refactor menu.
Comment 1 Miloslav Metelka 2009-03-24 14:41:44 UTC
The editor is just a placeholder for the guarded sections. If it would just allow a user modification of the guarded sections any actions in form editor (or other 
"managers" of the guarded sections) would lead to refreshing of the GS and a dataloss. Reassigning to form editor if there wouldn't be any better alternative 
for your request.
Comment 2 Jiri Prox 2009-04-07 10:54:22 UTC
*** Issue 162078 has been marked as a duplicate of this issue. ***