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 30987 - No Way to change method, field, or property generation templates
Summary: No Way to change method, field, or property generation templates
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Beans (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-12 11:27 UTC by derisor
Modified: 2010-09-23 08:33 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description derisor 2003-02-12 11:27:23 UTC
I wanted to change my method generation templates so that 
all parameters to methods are final as a default. However 
there is no way for me to change this that I can find in 
the api. 

I tried changing my bean template to include final 
keywords on the setter parameter and on the copy of the 
old value in the setter. Unfortunately when I go to create 
a new property, it doesnt work and generates them without 
final.
Comment 1 Jesse Glick 2003-02-12 18:27:38 UTC
For templates, just add "final" to the template text. For adding a new
property from the GUI, you are right that adding final should be an
option (or just the default); changing to enhancement request.