Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 205377 - @StaticResource
@StaticResource
Status: RESOLVED FIXED
Product: platform
Classification: Unclassified
Component: Module System
7.1
All All
: P3 (vote)
: 7.2
Assigned To: Jesse Glick
issues@platform
: API, API_REVIEW_FAST
Depends on:
Blocks: 96532
  Show dependency treegraph
 
Reported: 2011-11-21 19:51 UTC by Jesse Glick
Modified: 2012-01-10 21:16 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments
Proposed patch (API plus sample usage) (15.67 KB, patch)
2011-11-21 19:54 UTC, Jesse Glick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2011-11-21 19:51:14 UTC
An annotation to prevent the developer from accidentally moving or deleting a static resource (icon, ...) which is still referred to from live code.
Comment 1 Jesse Glick 2011-11-21 19:54:56 UTC
Created attachment 113382 [details]
Proposed patch (API plus sample usage)
Comment 2 Jesse Glick 2011-11-21 19:55:59 UTC
Please review.
Comment 3 Jaroslav Tulach 2011-11-23 16:18:01 UTC
Y01 Module API does not seem like a natural place to host this API. Consider putting this into Common Annotation API. Btw. I'd like to add there @FinalInterface during 7.2 release...
Comment 4 Jesse Glick 2011-11-23 17:43:31 UTC
Common Annotations could work too. Really openide.filesystems or something depending on it would be easier, so that I could reuse impl from LayerBuilder, but this does not seem good from a dependency standpoint.
Comment 5 Jesse Glick 2011-11-28 16:11:45 UTC
core-main #21b5127751a3
Comment 6 Quality Engineering 2011-11-29 15:56:15 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/21b5127751a3
User: Jesse Glick <jglick@netbeans.org>
Log: #205377: @StaticResource


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo