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 - Expand API to allow setup custom icons for hints
Summary: Expand API to allow setup custom icons for hints
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-14 14:18 UTC by danilasergeyev
Modified: 2015-09-03 01:25 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Patch allows users to set a custom annotation type for hint (10.83 KB, patch)
2015-08-25 12:27 UTC, danilasergeyev
Details | Diff
Patch - small changes (10.82 KB, patch)
2015-08-25 16:09 UTC, Milutin Kristofic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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