Hello,
in my class file, I've got the following lines of code:
@ActionRegistration(displayName = "#CTL_GotoHTMLAction", lazy = false)
public class GotoHTMLAction extends CookieAction {
...
}
Why do I still need to implement the "getName()" method? Short answer,
of course, it's declared abstract.
But I don't like the duplicate information. Is there any use for this?
I know, the annotation results in a classic entry in the now generated
layer, but IMHO having two names (which could even be different - which
one is used where?) isn't good style.
I'd prefer to use the layer's entry as a default value - any chance to
change the implementation of CookieAction (and/or any related)?
Kind regards
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists