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 193724 - Update NetBeans Platform samples
Summary: Update NetBeans Platform samples
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0
Hardware: PC Linux
: P2 normal (vote)
Assignee: Geertjan Wielenga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-22 07:34 UTC by Geertjan Wielenga
Modified: 2011-01-07 07:55 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Diff for FeedReader sample (13.31 KB, patch)
2010-12-30 17:15 UTC, Geertjan Wielenga
Details | Diff
Paint App Sample Updated for 7.0 (11.68 KB, patch)
2010-12-30 19:52 UTC, Geertjan Wielenga
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Geertjan Wielenga 2010-12-22 07:34:50 UTC
NetBeans Platform samples need to be updated to use the new action annotations and topcomponent annotations.
Comment 1 Geertjan Wielenga 2010-12-30 17:15:01 UTC
Created attachment 104635 [details]
Diff for FeedReader sample

Here is the update for 7.0 of the FeedReader sample, using action annotations and topcomponent annotations.
Comment 2 Geertjan Wielenga 2010-12-30 19:52:53 UTC
Created attachment 104639 [details]
Paint App Sample Updated for 7.0

Please verify this patch, which updates the Paint sample to 7.0.
Comment 3 Jaroslav Tulach 2011-01-03 15:13:33 UTC
http://hg.netbeans.org/ergonomics/rev/c79ce6a7f617
Comment 4 Jesse Glick 2011-01-04 14:48:37 UTC
[JG01] Remove comments like "TODO store your settings" which are part of templates; in the sample, you know that there is nothing else to be done.


[JG02] Did you really mean to

-            <file name="org-netbeans-core-windows-actions-GlobalPropertiesAction.shadow_hidden"/>

?


[JG03] Samples can now use @NbBundle.Messages if desired. (I am working on an editor hint to make conversion easier.)


[JG04] Change to apisupport.paintapp/PaintApp-suite/nbproject/platform.properties is wrong; please revert and use 'hg out -pv' next time!
Comment 5 Quality Engineering 2011-01-07 07:55:33 UTC
Integrated into 'main-golden', will be available in build *201101070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/c79ce6a7f617
User: Geertjan Wielenga <geertjan@netbeans.org>
Log: #193724: Updating PaintApp and Feedreader sample