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.
To get EditorCookie following methods have to be called: ClassElement clazz; . . . DataObject DO = (DataObject) clazz.getSource().getCookie(DataObject.class); EditorCookie ec=(EditorCookie)(DO.getCookie(EditorCookie.class));
x
Fixed -- all elements now internally delegate getCookie() to its DataObject. If the DataObject supports EditorCookie, elements will return it as well.
[release32-20] Verified
Target milestone -> 3.2
Resolved for 3.4.x or earlier, no new info since then -> closing.