←Older revision | Revision as of 09:18, 13 December 2010 | ||
Line 5: | Line 5: | ||
At least this is the convention used by [[Swing]]. There is an interface and then there is a ''default'' implementation that simplifies the interface usage in [[Swing]]. We could have followed this naming practise, if the [http://bits.netbeans.org/6.9.1/javadoc/org-openide-nodes/ Nodes API] creation had not preceeded [[Swing]] by few months. Then it was too late to change the name (as we would break [[backward compatibility]]) and not gained much. Rather we learned to live with [http://bits.netbeans.org/6.9.1/javadoc/org-openide-nodes/org/openide/nodes/AbstractNode.html AbstractNode]'s name. | At least this is the convention used by [[Swing]]. There is an interface and then there is a ''default'' implementation that simplifies the interface usage in [[Swing]]. We could have followed this naming practise, if the [http://bits.netbeans.org/6.9.1/javadoc/org-openide-nodes/ Nodes API] creation had not preceeded [[Swing]] by few months. Then it was too late to change the name (as we would break [[backward compatibility]]) and not gained much. Rather we learned to live with [http://bits.netbeans.org/6.9.1/javadoc/org-openide-nodes/org/openide/nodes/AbstractNode.html AbstractNode]'s name. | ||
- | The upside of this is that each [[NetBeans]] [[API]] | + | The upside of this case is that each developer using [[NetBeans]] [[API]] can feel like [[Chuck Norris]] for a moment! Everyone can ''instantiate abstract node!''. Enjoy this magnificent power and please don't misplace [[Chuck Norris]] and [[wikipedia:Bruce Lee|Bruce Lee]]: |
{{#ev:youtube|J1E_-lVujMg}} | {{#ev:youtube|J1E_-lVujMg}} |