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 49359 - Remove settings for JavaElements (SourceOptions)
Summary: Remove settings for JavaElements (SourceOptions)
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords: PERFORMANCE, UI
Depends on:
Blocks:
 
Reported: 2004-09-21 14:25 UTC by _ rkubacki
Modified: 2007-09-26 09:14 UTC (History)
2 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 _ rkubacki 2004-09-21 14:25:16 UTC
The posibility to customize the format of Java
element nodes is useless. It is just one of too
many settings we have in our Tools | Options
dialog that almost noone is interested in (expect
doc writers I guess) and contributes to bad
perception from our settings. 

I suggest to remove it from UI and only read it
once from bundle so it can be branded if really
neceseary. That way we can also get rid of
WeakListeners that are created for each
ElementNode to listen on the changes that are
really pretty unlikely.
Comment 1 _ rkubacki 2004-09-21 14:27:11 UTC
BTW: one of properies - 'Enum Constants' - is R/O. It seems to be a
mistake.
Comment 2 Jan Pokorsky 2004-09-21 14:42:41 UTC
The adjustable format is part of the ui spec for nb 4.0
(http://ui.netbeans.org/docs/hi/promoD/jdk15support.html). Reassigning
to Gabo for evaluation.

btw the default format is already stored in the bundle file.
Comment 3 _ rkubacki 2004-09-21 15:24:04 UTC
Yes, I saw it is read from bundle. That's fine.

Re UI spec: there are some typos and current impl is not quite
consistent but my main objection is that I do not see any real benefit
for the user from these customizations. Especially if the properties
do not have any reasonable hints what can be set/substituted.
Comment 4 Jan Pokorsky 2004-09-21 15:55:24 UTC
"current impl is not quite consistent" - in what way?

I have nothing against removing these properties. Just want to know if
Gabo as the author of the ui spec is ok with that.

Formats were described in help docs but it seems that documentators
removed it for nb 4.0.
Comment 5 _ rkubacki 2004-09-22 08:38:13 UTC
3.2.1.1 - wrong name of node, no descrpition of two enum propreties,
no reference to previous spec since this one decsribes only tiger
aditions, 5.1 is uncertain

I am sorry but really can't find it in help. Even if it was there it
would be very unlikely that someone really needs it / finds it /
successfully uses it.
Comment 6 Jan Pokorsky 2004-09-22 11:20:40 UTC
Default node names are not wrong. It was change according to issue
#36318 but not propagated back to the ui spec.

javahelp works in nb3.6. nb4.0 does not contain it yet.

Since we are in ui&feature freeze I can schedule this for the next
release but I would really like to hear some opinion from Gabo as he
is the ui spec author.
Comment 7 Jan Becicka 2004-10-19 16:26:21 UTC
Gabo, please evaluate! Thanks
Comment 8 Gabriel Tichy 2004-10-19 16:42:19 UTC
Display name format is old issue, and I just didn't propose to remove it when I was 
designing 1.5 feature adaptation.
However, I do agree with the removal.
Comment 9 Jan Pokorsky 2004-10-19 16:51:35 UTC
Great, scheduled for promo-E. Gabo reassign it to me after you change
the ui spec for promo-E. Thanks!
Comment 10 Rudolf Bock 2005-03-17 14:11:34 UTC
I agree, the posibility to customize the format of Java
Elements is really useless and should be completely removed from the Options.
Comment 11 Jan Pokorsky 2005-03-17 14:28:02 UTC
Reopening since it can be hardly fixed now. Anyway thanks for your opinion.
Could you update the ui spec please as was requested before? Since we are in the
feature freeze mode again I am going to implement this to promo-F.
Comment 12 Rudolf Bock 2005-03-18 16:58:00 UTC
We will work on a new UI Spec for Option in the near future. All this kind of issues will be reflected.
Comment 13 _ rkubacki 2005-06-03 08:31:07 UTC
FYI Hanzi - Java Elements Settings is not interesting for options redesign.
Comment 14 Jan Pokorsky 2005-08-23 14:59:52 UTC
Uff, I am going to implement this never ending story into 4.2. I will preserve
the possibility to change display name formats via Bundle.properties.
Comment 15 Jan Pokorsky 2005-08-23 16:52:24 UTC
implemented in:

/cvs/java/src/org/netbeans/modules/java/resources/SourceOptions.settings
new revision: delete; previous revision: 1.1
/cvs/java/src/org/netbeans/modules/java/resources/mf-layer.xml
new revision: 1.60; previous revision: 1.59
/cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/AnnotationTypeMethodNode.java
new revision: 1.6; previous revision: 1.5
/cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/AnnotationTypeNode.java
new revision: 1.5; previous revision: 1.4
/cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/Bundle.properties
new revision: 1.12; previous revision: 1.11
/cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/ClassNode.java
new revision: 1.11; previous revision: 1.10
/cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/ConstructorNode.java
new revision: 1.10; previous revision: 1.9
/cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/ElementNode.java
new revision: 1.18; previous revision: 1.17
/cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/EnumConstantNode.java
new revision: 1.3; previous revision: 1.2
/cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/EnumNode.java
new revision: 1.5; previous revision: 1.4
/cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/FieldNode.java
new revision: 1.9; previous revision: 1.8
/cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/InitializerNode.java
new revision: 1.8; previous revision: 1.7
/cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/MethodNode.java
new revision: 1.11; previous revision: 1.10
/cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/SourceOptions.java
new revision: 1.5; previous revision: 1.4
/cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/SourceOptionsBeanInfo.java
new revision: delete; previous revision: 1.2
Comment 16 Quality Engineering 2007-09-20 11:57:52 UTC
Reorganization of java component