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 185928 - Push model for annotations
Summary: Push model for annotations
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal with 1 vote (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2010-05-11 14:56 UTC by Jan Lahoda
Modified: 2013-09-04 13:14 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2010-05-11 14:56:38 UTC
(See bug #149538)

I might make sense to introduce a way to set many annotations at once, removing all previously set annotations (with the same key). Something like:
void setAnnotations(String key, Collection<Annotation> annotations); 
Not only this might be easier for some clients, but it could also be made faster than removing/adding the annotations one-by-one. See also: