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.
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.
BTW: one of properies - 'Enum Constants' - is R/O. It seems to be a mistake.
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.
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.
"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.
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.
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.
Gabo, please evaluate! Thanks
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.
Great, scheduled for promo-E. Gabo reassign it to me after you change the ui spec for promo-E. Thanks!
I agree, the posibility to customize the format of Java Elements is really useless and should be completely removed from the Options.
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.
We will work on a new UI Spec for Option in the near future. All this kind of issues will be reflected.
FYI Hanzi - Java Elements Settings is not interesting for options redesign.
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.
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
Reorganization of java component