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 254375

Summary: Expand API to allow setup custom icons for hints
Product: editor Reporter: danilasergeyev
Component: Hints & AnnotationsAssignee: Milutin Kristofic <mkristofic>
Status: RESOLVED FIXED    
Severity: normal CC: issues
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Patch allows users to set a custom annotation type for hint
Patch - small changes

Description danilasergeyev 2015-08-14 14:18:23 UTC
It will be helpful to have a method to provide custom icons for hints with particular severity. The purpose is to add new icon in C++ component to mark hints which are related to security checks.
Comment 1 danilasergeyev 2015-08-25 12:27:34 UTC
Created attachment 155623 [details]
Patch allows users to set a custom annotation type for hint
Comment 2 danilasergeyev 2015-08-25 12:28:39 UTC
Above is possible implementation of requested enhancement
Comment 3 Milutin Kristofic 2015-08-25 16:09:11 UTC
Created attachment 155631 [details]
Patch - small changes

I am ok with your patch. I can push it to repository. I made just small cosmetic changes.
Comment 4 Milutin Kristofic 2015-08-26 12:39:36 UTC

http://hg.netbeans.org/jet-main/rev/8361d0ba5371
Comment 5 Quality Engineering 2015-08-28 01:24:32 UTC
Integrated into 'main-silver', will be available in build *201508280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8361d0ba5371
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #254375 - Expand API to allow setup custom icons for hints
Comment 6 Milutin Kristofic 2015-09-02 12:55:37 UTC
Added danila's javadoc http://hg.netbeans.org/jet-main/rev/62d37eb78ca5
Comment 7 Quality Engineering 2015-09-03 01:25:29 UTC
Integrated into 'main-silver', will be available in build *201509030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/62d37eb78ca5
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #254375 - Expand API to allow setup custom icons for hints