<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-2609</id>
	<title>Nabble - Netbeans - Open API</title>
	<updated>2008-07-24T12:10:01Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/Netbeans---Open-API-f2609.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Netbeans---Open-API-f2609.html" />
	<subtitle type="html">&lt;p&gt;The main list for discussions on how to use the NetBeans APIs for NetBeans Modules/Plugins or NetBeans RCP based applications. See &lt;a href=&quot;http://platform.netbeans.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://platform.netbeans.org&lt;/a&gt; for more info.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Recommended for :&lt;/b&gt; Anyone building modules for the NetBeans IDE, or applications on top of the NetBeans Platform.&lt;/p&gt;</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-18638631</id>
	<title>Re: Grab Wizard for a template</title>
	<published>2008-07-24T12:10:01Z</published>
	<updated>2008-07-24T12:10:01Z</updated>
	<author>
		<name>Varun Nischal</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Jul 24, 2008 at 11:25 PM, johann Sorel &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638631&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sorel.johann@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hello,&lt;br&gt;
&lt;br&gt;
I have made a template with the Mime type : text/giscontext+xml&lt;br&gt;
&lt;br&gt;
I would like to have an action in the explorer that shows me the file creation wizard for this template.&lt;br&gt;
&lt;br&gt;
Just like in a java project you have : New &amp;gt; Java class&lt;br&gt;
that pops up the wizard with the selected template.&lt;br&gt;
&lt;br&gt;
Can someone tell me how to do this ?&lt;br&gt;
(not the action, just how to grab the correct wizard and show it)&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;Follow this- &lt;a href=&quot;http://platform.netbeans.org/tutorials/60/nbm-filetype.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://platform.netbeans.org/tutorials/60/nbm-filetype.html&lt;/a&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Varun&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grab-Wizard-for-a-template-tp18637227p18638631.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18638514</id>
	<title>Re: Grab Wizard for a template</title>
	<published>2008-07-24T12:03:06Z</published>
	<updated>2008-07-24T12:03:06Z</updated>
	<author>
		<name>Eclesia</name>
	</author>
	<content type="html">&lt;br&gt;Thanks the solution is interesting but not exactly what I am searching for.
&lt;br&gt;&lt;br&gt;The action must be only on a special node and I would also
&lt;br&gt;like to have this action in the toolbar.
&lt;br&gt;I'm not searching for an layer Xml solution, I'm searching for the java code.
&lt;br&gt;&lt;br&gt;&lt;br&gt;johann
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638514&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;geertjan.wielenga@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Sent: Thu, 24 Jul 2008 20:26:34 +0200
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638514&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Re: [openide-dev] Grab Wizard for a template
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; johann Sorel wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I have made a template with the Mime type : text/giscontext+xml
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I would like to have an action in the explorer that shows me
&lt;br&gt;&amp;gt;&amp;gt; the file creation wizard for this template.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Just like in a java project you have : New &amp;gt; Java class
&lt;br&gt;&amp;gt;&amp;gt; that pops up the wizard with the selected template.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Can someone tell me how to do this ?
&lt;br&gt;&amp;gt;&amp;gt; (not the action, just how to grab the correct wizard and show it)
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; thanks
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Johann sorel
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://blogs.sun.com/geertjan/entry/privileged_and_recommended_templates&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blogs.sun.com/geertjan/entry/privileged_and_recommended_templates&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Gj
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grab-Wizard-for-a-template-tp18637227p18638514.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18637713</id>
	<title>Re: Grab Wizard for a template</title>
	<published>2008-07-24T11:22:22Z</published>
	<updated>2008-07-24T11:22:22Z</updated>
	<author>
		<name>Geertjan Wielenga</name>
	</author>
	<content type="html">johann Sorel wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have made a template with the Mime type : text/giscontext+xml
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I would like to have an action in the explorer that shows me
&lt;br&gt;&amp;gt; the file creation wizard for this template.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Just like in a java project you have : New &amp;gt; Java class
&lt;br&gt;&amp;gt; that pops up the wizard with the selected template.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Can someone tell me how to do this ?
&lt;br&gt;&amp;gt; (not the action, just how to grab the correct wizard and show it)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; thanks
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Johann sorel
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;a href=&quot;http://blogs.sun.com/geertjan/entry/privileged_and_recommended_templates&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blogs.sun.com/geertjan/entry/privileged_and_recommended_templates&lt;/a&gt;&lt;br&gt;&lt;br&gt;Gj
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grab-Wizard-for-a-template-tp18637227p18637713.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18637317</id>
	<title>Re: Grab Wizard for a template</title>
	<published>2008-07-24T11:00:18Z</published>
	<updated>2008-07-24T11:00:18Z</updated>
	<author>
		<name>Varun Nischal</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Jul 24, 2008 at 11:25 PM, johann Sorel &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637317&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sorel.johann@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hello,&lt;br&gt;
&lt;br&gt;
I have made a template with the Mime type : text/giscontext+xml&lt;br&gt;
&lt;br&gt;
I would like to have an action in the explorer that shows me&lt;br&gt;
the file creation wizard for this template.&lt;br&gt;
&lt;br&gt;
Just like in a java project you have : New &amp;gt; Java class&lt;br&gt;
that pops up the wizard with the selected template.&lt;br&gt;
&lt;br&gt;
Can someone tell me how to do this ?&lt;br&gt;
(not the action, just how to grab the correct wizard and show it)&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;check out the Developer FAQ&amp;#39;s- &lt;a href=&quot;http://wiki.netbeans.org/NetBeansDeveloperFAQ&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.netbeans.org/NetBeansDeveloperFAQ&lt;/a&gt;&lt;br&gt;&lt;br&gt;Does this help? &lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;-- &lt;br&gt;Varun&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grab-Wizard-for-a-template-tp18637227p18637317.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18637227</id>
	<title>Grab Wizard for a template</title>
	<published>2008-07-24T10:55:15Z</published>
	<updated>2008-07-24T10:55:15Z</updated>
	<author>
		<name>Eclesia</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I have made a template with the Mime type : text/giscontext+xml
&lt;br&gt;&lt;br&gt;I would like to have an action in the explorer that shows me
&lt;br&gt;the file creation wizard for this template.
&lt;br&gt;&lt;br&gt;Just like in a java project you have : New &amp;gt; Java class
&lt;br&gt;that pops up the wizard with the selected template.
&lt;br&gt;&lt;br&gt;Can someone tell me how to do this ?
&lt;br&gt;(not the action, just how to grab the correct wizard and show it)
&lt;br&gt;&lt;br&gt;thanks
&lt;br&gt;&lt;br&gt;Johann sorel
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Grab-Wizard-for-a-template-tp18637227p18637227.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18635877</id>
	<title>Re: Re: DataObject and ANT script</title>
	<published>2008-07-24T09:41:42Z</published>
	<updated>2008-07-24T09:41:42Z</updated>
	<author>
		<name>Enrico Scantamburlo</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Thanks for your reply you saved be from a lot of work&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2008/7/24 Jesse Glick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18635877&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jesse.glick@...&lt;/a&gt;&amp;gt;:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;Enrico Scantamburlo wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
I am trying to use DataObjects from my ant scripts (command Line, no&lt;br&gt;
netbeans GUI). I was able to make them work, however the only dataobjects I get are DefaultDataObjects. I am not able to use my&lt;br&gt;
custom DataObjects.&lt;br&gt;
&lt;/blockquote&gt;
&lt;br&gt;&lt;/div&gt;
As far as I know it should work out of the box in NB 6.5. 6.1 will not correctly load declarative MIME resolvers from the classpath. 6.0 (I think, maybe 5.5) will not correctly load DataLoader&amp;#39;s from the classpath either.&lt;br&gt;

&lt;br&gt;
(To get FileObject&amp;#39;s for disk files you would need to either have masterfs in the classpath or create a LocalFileSystem directly - but if you got to the point of having a DefaultDataObject then I guess you have already solved this.)&lt;br&gt;

&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Enrico Scantamburlo &lt;br&gt;Member of JUGPadova&lt;br&gt;&lt;br&gt;&amp;quot;I&amp;#39;ve noticed lately that the paranoid fear of computers becoming intelligent and taking over the world has almost entirely disappeared from the common culture. Near as I can tell, this coincides with the release of MS-DOS.&amp;quot;&lt;br&gt;
(Larry DeLuca)
&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/DataObject-and-ANT-script-tp18622434p18635877.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18635737</id>
	<title>Re: Re: Building from module cluster : without mercurial cloning</title>
	<published>2008-07-24T09:34:46Z</published>
	<updated>2008-07-24T09:34:46Z</updated>
	<author>
		<name>tomwheel</name>
	</author>
	<content type="html">On 7/24/08, Jesse Glick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18635737&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jesse.glick@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; These are built binaries, not sources. I am not sure what you are asking
&lt;br&gt;&amp;gt; for. If you need dev sources of NB, I believe these are available for
&lt;br&gt;&amp;gt; download somewhere (though I have given up on keeping track of where).
&lt;br&gt;&lt;br&gt;Nightly build sources are the third link from the bottom:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://bits.netbeans.org/download/trunk/nightly/latest/zip/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bits.netbeans.org/download/trunk/nightly/latest/zip/&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tom Wheeler
&lt;br&gt;&lt;a href=&quot;http://www.tomwheeler.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tomwheeler.com/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Building-from-module-cluster-%3A-without-mercurial-cloning-tp18625398p18635737.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18635438</id>
	<title>Re: How do module suites share modules?</title>
	<published>2008-07-24T09:15:39Z</published>
	<updated>2008-07-24T09:15:39Z</updated>
	<author>
		<name>Jesse Glick</name>
	</author>
	<content type="html">Tom Wheeler wrote:
&lt;br&gt;&amp;gt; you should build the &amp;quot;visual-VM&amp;quot; suite on top of the NetBeans
&lt;br&gt;&amp;gt; Platform. &amp;nbsp;The output of this (when you create a ZIP distribution)
&lt;br&gt;&amp;gt; will be a new platform which contains the NetBeans Platform *and* the
&lt;br&gt;&amp;gt; Visual VM stuff.
&lt;br&gt;&lt;br&gt;Visual VM already includes the (complete) platform cluster. If you want 
&lt;br&gt;to also use modules from other clusters found in the IDE which are not 
&lt;br&gt;found in Visual VM, you should be able to simply merge platforms 
&lt;br&gt;together. E.g.
&lt;br&gt;&lt;br&gt;cp -av $JDKHOME/lib/visualvm /tmp/custom-platform
&lt;br&gt;cp -av $NBHOME/ide* /tmp/custom-platform
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;&amp;gt; You can use that platform as the base platform for creating any
&lt;br&gt;&amp;gt; number of separate applications which contain arbitrary combinations
&lt;br&gt;&amp;gt; of NetBeans and Visual VM modules.
&lt;br&gt;&lt;br&gt;Yes. And if you are developing your own modules on top of this platform, 
&lt;br&gt;and you want to reuse different combinations of your own modules for 
&lt;br&gt;different custom apps (this is getting pretty advanced...), your best 
&lt;br&gt;bet would be to have just one suite (pointing to the custom-platform 
&lt;br&gt;described above) with all your modules; you can use some custom Ant 
&lt;br&gt;targets (or a separate script) to build particular applications. Maybe 
&lt;br&gt;something like
&lt;br&gt;&lt;br&gt;&amp;lt;target name=&amp;quot;make-app-1&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;ant dir=&amp;quot;...suite...&amp;quot; target=&amp;quot;build-zip&amp;quot; inheritall=&amp;quot;false&amp;quot; 
&lt;br&gt;inheritrefs=&amp;quot;false&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;property name=&amp;quot;enabled.clusters&amp;quot; value=&amp;quot;...what you want...&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;property name=&amp;quot;disabled.modules&amp;quot; value=&amp;quot;...what you want...&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;property name=&amp;quot;app.name&amp;quot; value=&amp;quot;...what you want...&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/&amp;gt;
&lt;br&gt;&amp;lt;/&amp;gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-do-module-suites-share-modules--tp18598741p18635438.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18635231</id>
	<title>Re: Overwrite IDE Log File menu action to add dynamic logger options</title>
	<published>2008-07-24T09:09:03Z</published>
	<updated>2008-07-24T09:09:03Z</updated>
	<author>
		<name>Jesse Glick</name>
	</author>
	<content type="html">bruehlicke wrote:
&lt;br&gt;&amp;gt; I want to give the user the option to dynamically change the
&lt;br&gt;&amp;gt; Logger.Level which is simply done via 
&lt;br&gt;&amp;gt; Logger.getLogger(&amp;quot;com.mystuff&amp;quot;).setLevel(Level.xyz)
&lt;br&gt;&lt;br&gt;You can save yourself some time and just reuse
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://hg.netbeans.org/main/contrib/raw-file/tip/logmanagement/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.netbeans.org/main/contrib/raw-file/tip/logmanagement/&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Overwrite-IDE-Log-File-menu-action-to-add-dynamic-logger-options-tp18616368p18635231.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18635532</id>
	<title>Re: DataObject and ANT script</title>
	<published>2008-07-24T09:07:08Z</published>
	<updated>2008-07-24T09:07:08Z</updated>
	<author>
		<name>Jesse Glick</name>
	</author>
	<content type="html">Enrico Scantamburlo wrote:
&lt;br&gt;&amp;gt; I am trying to use DataObjects from my ant scripts (command Line, no
&lt;br&gt;&amp;gt; netbeans GUI). I was able to make them work, however the only 
&lt;br&gt;&amp;gt; dataobjects I get are DefaultDataObjects. I am not able to use my
&lt;br&gt;&amp;gt; custom DataObjects.
&lt;br&gt;&lt;br&gt;As far as I know it should work out of the box in NB 6.5. 6.1 will not 
&lt;br&gt;correctly load declarative MIME resolvers from the classpath. 6.0 (I 
&lt;br&gt;think, maybe 5.5) will not correctly load DataLoader's from the 
&lt;br&gt;classpath either.
&lt;br&gt;&lt;br&gt;(To get FileObject's for disk files you would need to either have 
&lt;br&gt;masterfs in the classpath or create a LocalFileSystem directly - but if 
&lt;br&gt;you got to the point of having a DefaultDataObject then I guess you have 
&lt;br&gt;already solved this.)
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/DataObject-and-ANT-script-tp18622434p18635532.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18635316</id>
	<title>Re: Building from module cluster : without mercurial cloning</title>
	<published>2008-07-24T09:04:26Z</published>
	<updated>2008-07-24T09:04:26Z</updated>
	<author>
		<name>Jesse Glick</name>
	</author>
	<content type="html">Suresh Shukla wrote:
&lt;br&gt;&amp;gt; I want to try the latest UML module (with visual api).
&lt;br&gt;&lt;br&gt;You mean you want to build it? If you just want to run it, you can 
&lt;br&gt;simply use a nightly dev build.
&lt;br&gt;&lt;br&gt;&amp;gt; I [downloaded] 'nightly build' module cluster.
&lt;br&gt;&lt;br&gt;These are built binaries, not sources. I am not sure what you are asking 
&lt;br&gt;for. If you need dev sources of NB, I believe these are available for 
&lt;br&gt;download somewhere (though I have given up on keeping track of where).
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Building-from-module-cluster-%3A-without-mercurial-cloning-tp18625398p18635316.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18635618</id>
	<title>Re: Can a &quot;draggable&quot; applet use all or part of the NetBeans Platform?</title>
	<published>2008-07-24T09:02:43Z</published>
	<updated>2008-07-24T09:02:43Z</updated>
	<author>
		<name>Jesse Glick</name>
	</author>
	<content type="html">Emilian Bold wrote:
&lt;br&gt;&amp;gt; you have to patch things here and there especially due to the
&lt;br&gt;&amp;gt; security sandbox.
&lt;br&gt;&lt;br&gt;Right, there will be trouble trying to run NB platform code in an applet 
&lt;br&gt;due to the security concerns. Probably you will be OK if you are using 
&lt;br&gt;standalone APIs, but you might not be able to start the module system 
&lt;br&gt;(i.e. bootstrap.jar).
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Can-a-%22draggable%22-applet-use-all-or-part-of-the-NetBeans-Platform--tp18620734p18635618.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18635133</id>
	<title>Re: (Complete) tutorials available for standard operations like Open, Close, Save, SaveAs or SaveAll?</title>
	<published>2008-07-24T09:01:43Z</published>
	<updated>2008-07-24T09:01:43Z</updated>
	<author>
		<name>Jesse Glick</name>
	</author>
	<content type="html">Tom Wheeler wrote:
&lt;br&gt;&amp;gt; The Javadoc would be more precise if it said &amp;quot;Saves all
&lt;br&gt;&amp;gt; modified data objects&amp;quot; since that is what Save All does.
&lt;br&gt;&lt;br&gt;Please don't be shy to file bugs where you see Javadoc which is 
&lt;br&gt;inaccurate, incomplete, misleading, or unreadable. Patches especially 
&lt;br&gt;welcome.
&lt;br&gt;&lt;br&gt;&amp;gt; the layer.xml file of any module can generally modify the content
&lt;br&gt;&amp;gt; of another module's layer file.
&lt;br&gt;&lt;br&gt;&amp;quot;override&amp;quot; might be the better term. But note that for now you need to 
&lt;br&gt;use module dependencies to ensure that an override takes effect (the 
&lt;br&gt;overriding module has to be loaded in the right order relative to the 
&lt;br&gt;overridden). In the future it would be nice to have a more direct system 
&lt;br&gt;for indicating that one layer entry is intended to override another.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/%28Complete%29-tutorials-available-for-standard-operations-like-Open%2C-Close%2C-Save%2C-SaveAs-or-SaveAll--tp18607064p18635133.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18635015</id>
	<title>Re: Doesn't PropertySupport / Reflection use auto-boxing to find suitable method signatures?</title>
	<published>2008-07-24T08:58:28Z</published>
	<updated>2008-07-24T08:58:28Z</updated>
	<author>
		<name>Jesse Glick</name>
	</author>
	<content type="html">Emilian Bold wrote:
&lt;br&gt;&amp;gt; have you tried using int.class ?
&lt;br&gt;&lt;br&gt;(or Integer.TYPE)
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Doesn%27t-PropertySupport---Reflection-use-auto-boxing-to-find-suitable-method-signatures--tp18627264p18635015.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18634921</id>
	<title>Re: (Complete) tutorials available for standard operations like Open, Close, Save, SaveAs or SaveAll?</title>
	<published>2008-07-24T08:54:41Z</published>
	<updated>2008-07-24T08:54:41Z</updated>
	<author>
		<name>Jesse Glick</name>
	</author>
	<content type="html">Marco Ehrentreich wrote:
&lt;br&gt;&amp;gt; How and where should I track opened files to be able to close windows 
&lt;br&gt;&amp;gt; used in common (like explorer views) only after the last file is closed?
&lt;br&gt;&lt;br&gt;Tom talked about tracking the open files. For actually opening/closing 
&lt;br&gt;the tool window, use a top component group rather than directly 
&lt;br&gt;manipulating the top component, as this gives the user more power.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/%28Complete%29-tutorials-available-for-standard-operations-like-Open%2C-Close%2C-Save%2C-SaveAs-or-SaveAll--tp18607064p18634921.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18634645</id>
	<title>Re: (Complete) tutorials available for standard operations like Open, Close, Save, SaveAs or SaveAll?</title>
	<published>2008-07-24T08:40:32Z</published>
	<updated>2008-07-24T08:40:32Z</updated>
	<author>
		<name>tomwheel</name>
	</author>
	<content type="html">On 7/24/08, Marco Ehrentreich &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18634645&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erisch@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Unfortunately there are still some unanswered questions. Especially if you
&lt;br&gt;&amp;gt; want to know what's exactly going on behind the scenes of the framework.
&lt;br&gt;&lt;br&gt;One of the hidden gems of NetBeans (and much too hidden IMHO) are the
&lt;br&gt;usecase, architecture and API description documents available for most
&lt;br&gt;modules. &amp;nbsp;They explain a *lot* of details and are extremely valuable
&lt;br&gt;for understanding how things work. &amp;nbsp;Unfortunately, navigating to them
&lt;br&gt;through the Javadoc is tricky, but you can typically derive the URLs
&lt;br&gt;based on the module's name. &amp;nbsp;Here are examples of each from the Module
&lt;br&gt;System API module:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://bits.netbeans.org/dev/javadoc/org-openide-modules/overview-summary.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bits.netbeans.org/dev/javadoc/org-openide-modules/overview-summary.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://bits.netbeans.org/dev/javadoc/org-openide-modules/architecture-summary.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bits.netbeans.org/dev/javadoc/org-openide-modules/architecture-summary.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://bits.netbeans.org/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/api.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bits.netbeans.org/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/api.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Hint: It would be fantastic if someone could create a new FAQ entry
&lt;br&gt;that links to these for each module in the platform.
&lt;br&gt;&lt;br&gt;&amp;gt; It's exactly these details which I'm talking about. Although this must be a
&lt;br&gt;&amp;gt; common use case for most applications it's not really well documented what
&lt;br&gt;&amp;gt; to do in order to use this action. All the JavaDoc of SaveAllAction says is
&lt;br&gt;&amp;gt; &amp;quot;Save all open objects.&amp;quot; You might agree that this isn't very helpful for a
&lt;br&gt;&amp;gt; beginner ;) Do you all know such details from experience? Having a look into
&lt;br&gt;&amp;gt; the code? Other documentation sources?
&lt;br&gt;&lt;br&gt;I know from experience -- you don't really have to do anything
&lt;br&gt;special. &amp;nbsp;The Javadoc would be more precise if it said &amp;quot;Saves all
&lt;br&gt;modified data objects&amp;quot; since that is what Save All does. &amp;nbsp;It simply
&lt;br&gt;asks the DataObject.Registry for all the &amp;nbsp;modified data objects, then
&lt;br&gt;gets a SaveCookie from the Lookup of each of those objects and calls
&lt;br&gt;save() on the SaveCookie. &amp;nbsp;So as long as your DataObject has a
&lt;br&gt;SaveCookie in its lookup when it is modified, then it should be able
&lt;br&gt;to participate in Save All.
&lt;br&gt;&lt;br&gt;&amp;gt; Where is the right place to hook in cleanup actions for a file? I have my
&lt;br&gt;&amp;gt; DataObject and use OpenSupport to open/close files and now? If I close the
&lt;br&gt;&amp;gt; whole application I get automatically notified of modified files but I'd
&lt;br&gt;&amp;gt; like to have a notification immediately when closing the editor window.
&lt;br&gt;&lt;br&gt;As mentioned before, this is the tricky part. &amp;nbsp;The simple (but
&lt;br&gt;slightly naive way) is to override your custom editor's TopComponent's
&lt;br&gt;canClose() method. &amp;nbsp;From inside of that you can check to see if the
&lt;br&gt;DataObject it's editing is modified, and if so, ask the user if they
&lt;br&gt;want to save. &amp;nbsp;The tricky part comes in if you allow your DataObjects
&lt;br&gt;to be edited in multiple windows or allow your editors to be cloned.
&lt;br&gt;In this case you probably only want to prompt the user when the last
&lt;br&gt;window is closed.
&lt;br&gt;&lt;br&gt;BTW, I wrote an FAQ entry last night that describes various hooks into
&lt;br&gt;the lifecycle of a platform app; you might find it helpful:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://wiki.netbeans.org/DevFaqAppLifecycleHooks&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.netbeans.org/DevFaqAppLifecycleHooks&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;gt; This was just about the problems I've described above. How and where do I
&lt;br&gt;&amp;gt; tie the lifecycle of files, DataObjects and TopComponents correctly
&lt;br&gt;&amp;gt; together? A simple question but I've still some problems to handle all parts
&lt;br&gt;&amp;gt; 100% correctly to open/close/save files and handle the corresponding
&lt;br&gt;&amp;gt; windows, user dialogs etc. accordingly.
&lt;br&gt;&lt;br&gt;It's tricky, as noted before. &amp;nbsp;Doing it right depends on knowing more
&lt;br&gt;about your app and how it works than I know (or have the time to
&lt;br&gt;know). &amp;nbsp;But hopefully the pointers I have given you will set you in
&lt;br&gt;the right direction. &amp;nbsp;If not, maybe someone else can chime in with
&lt;br&gt;their thoughts.
&lt;br&gt;&lt;br&gt;&amp;gt; Sorry, this was a little inaccurate :) I don't have trouble with my own
&lt;br&gt;&amp;gt; windows or toolbars. I want to customize built-in views like the favorites
&lt;br&gt;&amp;gt; or properties windows. Do I have to open them on startup programmatically?
&lt;br&gt;&amp;gt; Can this be done declaratively, too?
&lt;br&gt;&lt;br&gt;Yes, the layer.xml file of any module can generally modify the content
&lt;br&gt;of another module's layer file. &amp;nbsp;There is even some support (albeit a
&lt;br&gt;little buggy in my experience) for this in the GUI via a module's
&lt;br&gt;&amp;quot;Important Files&amp;quot; -&amp;gt; &amp;quot;XML Layer&amp;quot; -&amp;gt; &amp;quot;This layer in context&amp;quot;. &amp;nbsp;The
&lt;br&gt;window open state is defined in .wstcref files below the
&lt;br&gt;Windows2/modes folder. &amp;nbsp;Find the appropriate one, double click it,
&lt;br&gt;change the &amp;lt;state&amp;gt; element's &amp;quot;opened&amp;quot; attribute as desired and save
&lt;br&gt;the change. &amp;nbsp;Your module's layer.xml should be updated to reflect this
&lt;br&gt;change, although you will probably need to do a &amp;quot;clean and build&amp;quot; on
&lt;br&gt;the suite before it takes effect.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tom Wheeler
&lt;br&gt;&lt;a href=&quot;http://www.tomwheeler.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tomwheeler.com/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/%28Complete%29-tutorials-available-for-standard-operations-like-Open%2C-Close%2C-Save%2C-SaveAs-or-SaveAll--tp18607064p18634645.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18627826</id>
	<title>Re: Doesn't PropertySupport / Reflection use auto-boxing to find suitable method signatures?</title>
	<published>2008-07-24T01:53:14Z</published>
	<updated>2008-07-24T01:53:14Z</updated>
	<author>
		<name>Emilian Bold</name>
	</author>
	<content type="html">I don't have a link at hand but primitives do have these classes which
&lt;br&gt;are useful for reflection (which is probably what PropertySupport uses
&lt;br&gt;actually).
&lt;br&gt;&lt;br&gt;--emi
&lt;br&gt;&lt;br&gt;On Thu, Jul 24, 2008 at 11:39 AM, Marco Ehrentreich
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18627826&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erisch@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks a lot, Emilian! int.class did it. Actually I didn't even know
&lt;br&gt;&amp;gt; before that primitive types have .class objects. Just out of curiosity,
&lt;br&gt;&amp;gt; can you give me a link or something which describes why this works?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Emilian Bold schrieb:
&lt;br&gt;&amp;gt;&amp;gt; I dunno, have you tried using int.class ?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --emi
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Thu, Jul 24, 2008 at 11:17 AM, Marco Ehrentreich
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18627826&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erisch@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I have problems with PropertySupport and a primitive &amp;quot;int&amp;quot; property. I
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; want to create a property entry in a property sheet for the following
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; property:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; private int limit;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; public int getLimit() {
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;return limit;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; }
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; public void setLimit(final int limit) {
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;this.limit = limit;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; }
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; and &amp;nbsp;I have the corresponding property:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; PropertySupport.Reflection&amp;lt;Integer&amp;gt; limitProp = = new
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; PropertySupport.Reflection&amp;lt;Integer&amp;gt;(cardLimit, Integer.class, &amp;quot;limit&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The problem now is that I have to give the Integer.class object to the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; PropertySupport constructor but it complains that it can't find the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; setter method because the parameter is of type &amp;quot;int&amp;quot;. Doesn't this use
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; something like auto-boxing? If I change the parameter in the setter
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; method to type &amp;quot;Integer&amp;quot; everything works fine. Is this behavior
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; correct? Any workarounds? THANKS!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Marco
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Emilian Bold
&lt;br&gt;+40 740235562
&lt;br&gt;&lt;a href=&quot;http://www.emilianbold.ro&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.emilianbold.ro&lt;/a&gt;&lt;br&gt;&lt;br&gt;Java and NetBeans Platform-loving consulting services from Timisoara, Romania.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Doesn%27t-PropertySupport---Reflection-use-auto-boxing-to-find-suitable-method-signatures--tp18627264p18627826.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18627590</id>
	<title>Re: Doesn't PropertySupport / Reflection use auto-boxing to find suitable method signatures?</title>
	<published>2008-07-24T01:36:22Z</published>
	<updated>2008-07-24T01:36:22Z</updated>
	<author>
		<name>erisch</name>
	</author>
	<content type="html">Thanks a lot, Emilian! int.class did it. Actually I didn't even know
&lt;br&gt;before that primitive types have .class objects. Just out of curiosity,
&lt;br&gt;can you give me a link or something which describes why this works?
&lt;br&gt;&lt;br&gt;Emilian Bold schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I dunno, have you tried using int.class ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --emi
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Thu, Jul 24, 2008 at 11:17 AM, Marco Ehrentreich
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18627590&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erisch@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I have problems with PropertySupport and a primitive &amp;quot;int&amp;quot; property. I
&lt;br&gt;&amp;gt;&amp;gt; want to create a property entry in a property sheet for the following
&lt;br&gt;&amp;gt;&amp;gt; property:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; private int limit;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; public int getLimit() {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;return limit;
&lt;br&gt;&amp;gt;&amp;gt; }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; public void setLimit(final int limit) {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;this.limit = limit;
&lt;br&gt;&amp;gt;&amp;gt; }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; and &amp;nbsp;I have the corresponding property:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; PropertySupport.Reflection&amp;lt;Integer&amp;gt; limitProp = = new
&lt;br&gt;&amp;gt;&amp;gt; PropertySupport.Reflection&amp;lt;Integer&amp;gt;(cardLimit, Integer.class, &amp;quot;limit&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The problem now is that I have to give the Integer.class object to the
&lt;br&gt;&amp;gt;&amp;gt; PropertySupport constructor but it complains that it can't find the
&lt;br&gt;&amp;gt;&amp;gt; setter method because the parameter is of type &amp;quot;int&amp;quot;. Doesn't this use
&lt;br&gt;&amp;gt;&amp;gt; something like auto-boxing? If I change the parameter in the setter
&lt;br&gt;&amp;gt;&amp;gt; method to type &amp;quot;Integer&amp;quot; everything works fine. Is this behavior
&lt;br&gt;&amp;gt;&amp;gt; correct? Any workarounds? THANKS!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Marco
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Doesn%27t-PropertySupport---Reflection-use-auto-boxing-to-find-suitable-method-signatures--tp18627264p18627590.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18627335</id>
	<title>Re: Doesn't PropertySupport / Reflection use auto-boxing to find suitable method signatures?</title>
	<published>2008-07-24T01:18:47Z</published>
	<updated>2008-07-24T01:18:47Z</updated>
	<author>
		<name>Emilian Bold</name>
	</author>
	<content type="html">I dunno, have you tried using int.class ?
&lt;br&gt;&lt;br&gt;--emi
&lt;br&gt;&lt;br&gt;On Thu, Jul 24, 2008 at 11:17 AM, Marco Ehrentreich
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18627335&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erisch@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have problems with PropertySupport and a primitive &amp;quot;int&amp;quot; property. I
&lt;br&gt;&amp;gt; want to create a property entry in a property sheet for the following
&lt;br&gt;&amp;gt; property:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; private int limit;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; public int getLimit() {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;return limit;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; public void setLimit(final int limit) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;this.limit = limit;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; and &amp;nbsp;I have the corresponding property:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; PropertySupport.Reflection&amp;lt;Integer&amp;gt; limitProp = = new
&lt;br&gt;&amp;gt; PropertySupport.Reflection&amp;lt;Integer&amp;gt;(cardLimit, Integer.class, &amp;quot;limit&amp;quot;);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The problem now is that I have to give the Integer.class object to the
&lt;br&gt;&amp;gt; PropertySupport constructor but it complains that it can't find the
&lt;br&gt;&amp;gt; setter method because the parameter is of type &amp;quot;int&amp;quot;. Doesn't this use
&lt;br&gt;&amp;gt; something like auto-boxing? If I change the parameter in the setter
&lt;br&gt;&amp;gt; method to type &amp;quot;Integer&amp;quot; everything works fine. Is this behavior
&lt;br&gt;&amp;gt; correct? Any workarounds? THANKS!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Marco
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Emilian Bold
&lt;br&gt;+40 740235562
&lt;br&gt;&lt;a href=&quot;http://www.emilianbold.ro&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.emilianbold.ro&lt;/a&gt;&lt;br&gt;&lt;br&gt;Java and NetBeans Platform-loving consulting services from Timisoara, Romania.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Doesn%27t-PropertySupport---Reflection-use-auto-boxing-to-find-suitable-method-signatures--tp18627264p18627335.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18627264</id>
	<title>Doesn't PropertySupport / Reflection use auto-boxing to find suitable method signatures?</title>
	<published>2008-07-24T01:13:05Z</published>
	<updated>2008-07-24T01:13:05Z</updated>
	<author>
		<name>erisch</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have problems with PropertySupport and a primitive &amp;quot;int&amp;quot; property. I
&lt;br&gt;want to create a property entry in a property sheet for the following
&lt;br&gt;property:
&lt;br&gt;&lt;br&gt;private int limit;
&lt;br&gt;&lt;br&gt;public int getLimit() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; return limit;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;public void setLimit(final int limit) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; this.limit = limit;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;and &amp;nbsp;I have the corresponding property:
&lt;br&gt;&lt;br&gt;PropertySupport.Reflection&amp;lt;Integer&amp;gt; limitProp = = new
&lt;br&gt;PropertySupport.Reflection&amp;lt;Integer&amp;gt;(cardLimit, Integer.class, &amp;quot;limit&amp;quot;);
&lt;br&gt;&lt;br&gt;&lt;br&gt;The problem now is that I have to give the Integer.class object to the
&lt;br&gt;PropertySupport constructor but it complains that it can't find the
&lt;br&gt;setter method because the parameter is of type &amp;quot;int&amp;quot;. Doesn't this use
&lt;br&gt;something like auto-boxing? If I change the parameter in the setter
&lt;br&gt;method to type &amp;quot;Integer&amp;quot; everything works fine. Is this behavior
&lt;br&gt;correct? Any workarounds? THANKS!
&lt;br&gt;&lt;br&gt;Marco
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Doesn%27t-PropertySupport---Reflection-use-auto-boxing-to-find-suitable-method-signatures--tp18627264p18627264.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18626330</id>
	<title>Re: (Complete) tutorials available for standard operations like Open, Close, Save, SaveAs or SaveAll?</title>
	<published>2008-07-23T23:55:40Z</published>
	<updated>2008-07-23T23:55:40Z</updated>
	<author>
		<name>erisch</name>
	</author>
	<content type="html">Hello Geertjan and Tom!
&lt;br&gt;&lt;br&gt;&amp;gt; As Geertjan said, the FAQ is probably the best and most concise source
&lt;br&gt;&amp;gt; for information like this. &amp;nbsp;I will expand on a few of your questions
&lt;br&gt;&amp;gt; below and I encourage you to add this (or any other information you
&lt;br&gt;&amp;gt; find helpful) to the FAQ to make it better for everyone.
&lt;br&gt;&amp;gt; 
&lt;br&gt;Of course I permanently use the FAQ, the NetBeans tutorials and API and 
&lt;br&gt;other sources to find the information I need. I wouldn't want to 
&lt;br&gt;complain about missing documentation without having a look at these 
&lt;br&gt;really good sources of information. Unfortunately there are still some 
&lt;br&gt;unanswered questions. Especially if you want to know what's exactly 
&lt;br&gt;going on behind the scenes of the framework.
&lt;br&gt;&lt;br&gt;And I'll be glad to help the community and help to complete the FAQ. I 
&lt;br&gt;just don't want to give some wrong advices as long as I'm not sure 
&lt;br&gt;myself how things work or should work ;)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; - Why is the standard &amp;quot;save all&amp;quot; action activated permanently once a
&lt;br&gt;&amp;gt;&amp;gt; DataObject is modified but on the other hand I get it only working as long
&lt;br&gt;&amp;gt;&amp;gt; as a TopComponent with the DataObject(s) in its Lookup is opened?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; NetBeans has a class DataObject.Registry that keeps track of all
&lt;br&gt;&amp;gt; modified data objects. &amp;nbsp;I believe that the &amp;quot;Save All&amp;quot; action basically
&lt;br&gt;&amp;gt; adds a change listener on this registry to enable itself whenever at
&lt;br&gt;&amp;gt; least one file is marked as modified and disable itself when there are
&lt;br&gt;&amp;gt; no longer any files marked as modified.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;It's exactly these details which I'm talking about. Although this must 
&lt;br&gt;be a common use case for most applications it's not really well 
&lt;br&gt;documented what to do in order to use this action. All the JavaDoc of 
&lt;br&gt;SaveAllAction says is &amp;quot;Save all open objects.&amp;quot; You might agree that this 
&lt;br&gt;isn't very helpful for a beginner ;) Do you all know such details from 
&lt;br&gt;experience? Having a look into the code? Other documentation sources?
&lt;br&gt;&lt;br&gt;But for my application the problem with &amp;quot;Save All&amp;quot; must be something 
&lt;br&gt;other I'm doing wrong. The new question is: What do I have to do to 
&lt;br&gt;correctly close a user file together whith it's associated DataObject? 
&lt;br&gt;If I close the main editor view of a file I want the user to get asked 
&lt;br&gt;if he wants to save the file and then really close the file and 
&lt;br&gt;DataObject accordingly. At the moment I can close the editor window but 
&lt;br&gt;the SaveAllAction stays activated because the DataObject in question is 
&lt;br&gt;still open somewhere in the background. I can also save the data with 
&lt;br&gt;the SaveAllAction but I surely want the user to get notified of a 
&lt;br&gt;modified file immediately after he closes the editor window.
&lt;br&gt;&lt;br&gt;Where is the right place to hook in cleanup actions for a file? I have 
&lt;br&gt;my DataObject and use OpenSupport to open/close files and now? If I 
&lt;br&gt;close the whole application I get automatically notified of modified 
&lt;br&gt;files but I'd like to have a notification immediately when closing the 
&lt;br&gt;editor window.
&lt;br&gt;&lt;br&gt;&amp;gt; The &amp;quot;Save&amp;quot; action, on the other hand, is enabled/disabled based on the
&lt;br&gt;&amp;gt; existence of a SaveCookie in the current selection. &amp;nbsp;In other words,
&lt;br&gt;&amp;gt; Save is dependent on the current selection while Save All is not.
&lt;br&gt;&amp;gt; 
&lt;br&gt;OK, then I got this right.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; - Which methods should I use or override to correctly handle opening and
&lt;br&gt;&amp;gt;&amp;gt; closing files together with their necessary
&lt;br&gt;&amp;gt;&amp;gt; TopComponents/TopComponentGroups?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Not sure exactly what you mean here. &amp;nbsp;Some more description of what
&lt;br&gt;&amp;gt; you're trying to do would help.
&lt;br&gt;&amp;gt; 
&lt;br&gt;This was just about the problems I've described above. How and where do 
&lt;br&gt;I tie the lifecycle of files, DataObjects and TopComponents correctly 
&lt;br&gt;together? A simple question but I've still some problems to handle all 
&lt;br&gt;parts 100% correctly to open/close/save files and handle the 
&lt;br&gt;corresponding windows, user dialogs etc. accordingly.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; - Where is the right place to customize what windows should be opened, what
&lt;br&gt;&amp;gt;&amp;gt; size the toolbars should have etc. at application startup?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Typically this is done through entries in a module's layer.xml file.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In the case of having windows opened at startup, the &amp;quot;New Window
&lt;br&gt;&amp;gt; Component&amp;quot; (TopComponent) wizard in the IDE asks you whether you want
&lt;br&gt;&amp;gt; the window opened on startup or not. &amp;nbsp;It will then update the
&lt;br&gt;&amp;gt; layer.xml file and create two XML files (one with &amp;quot;Settings&amp;quot; in the
&lt;br&gt;&amp;gt; name and another with &amp;quot;Wstcref&amp;quot; in the name). &amp;nbsp;The latter one contains
&lt;br&gt;&amp;gt; an element &amp;lt;state opened=&amp;quot;boolean&amp;quot;/&amp;gt; which will be true if the window
&lt;br&gt;&amp;gt; should be opened automatically or false otherwise.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;Sorry, this was a little inaccurate :) I don't have trouble with my own 
&lt;br&gt;windows or toolbars. I want to customize built-in views like the 
&lt;br&gt;favorites or properties windows. Do I have to open them on startup 
&lt;br&gt;programmatically? Can this be done declaratively, too?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; - How and where should I track opened files to be able to close windows used
&lt;br&gt;&amp;gt;&amp;gt; in common (like explorer views) only after the last file is closed?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is really tricky to get 100% right. &amp;nbsp;There is a project called
&lt;br&gt;&amp;gt; PlatformX (&lt;a href=&quot;http://wiki.netbeans.org/PlatformX&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.netbeans.org/PlatformX&lt;/a&gt;) with a pojoeditors
&lt;br&gt;&amp;gt; subproject that aims to greatly simplify this, but it's a work in
&lt;br&gt;&amp;gt; progress and probably not suitable for beginners or production use
&lt;br&gt;&amp;gt; yet.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; An easier alternative, which is probably good enough, is to use the
&lt;br&gt;&amp;gt; TopComponent.Registry class to iterate over all open TopComponents and
&lt;br&gt;&amp;gt; check their Lookup for a FileObject and/or DataObject.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;This sounds like a simple but good idea. I'll simply try this one.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; Because these things are really very common use cases I
&lt;br&gt;&amp;gt;&amp;gt; think they should be documented better... Please correct me if I'm wrong and
&lt;br&gt;&amp;gt;&amp;gt; there's a source of wisdom which explains all this in detail :)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I can highly recommend this book as the best first step for someone
&lt;br&gt;&amp;gt; new to the platform:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.sun.com/books/catalog/rich_client_programming.xml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sun.com/books/catalog/rich_client_programming.xml&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If you read German, Heiko Bock wrote one that is also very highly regarded.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;I use both books - Geertjan's and Heiko's - for my daily work at the 
&lt;br&gt;moment. And both are really excellent books and a great help for me but 
&lt;br&gt;as with all books there's of course a limitation in size and it's clear 
&lt;br&gt;that not all details of the NetBeans API can fit into one or two books.
&lt;br&gt;&lt;br&gt;&amp;gt; Other platform documentation is a constant work in progress but is
&lt;br&gt;&amp;gt; *significantly* better than it was 3-4 years ago. &amp;nbsp;I think you will
&lt;br&gt;&amp;gt; find a helpful community here and hope you will update the FAQ as you
&lt;br&gt;&amp;gt; learn to help those who come after you.
&lt;br&gt;&amp;gt; 
&lt;br&gt;Please don't get me wrong. I didn't want to complain about the existing 
&lt;br&gt;documentation. This is all really great work and I'm very thankful for 
&lt;br&gt;all the work and help from the community. I guess I have to be patient 
&lt;br&gt;and I'm going share my knowledge with the community... if I'll have the 
&lt;br&gt;knowledge some day :)
&lt;br&gt;&lt;br&gt;Anyway thanks for your help!
&lt;br&gt;&lt;br&gt;Marco
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/%28Complete%29-tutorials-available-for-standard-operations-like-Open%2C-Close%2C-Save%2C-SaveAs-or-SaveAll--tp18607064p18626330.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18625870</id>
	<title>Re: Can a &quot;draggable&quot; applet use all or part of the NetBeans Platform?</title>
	<published>2008-07-23T23:02:40Z</published>
	<updated>2008-07-23T23:02:40Z</updated>
	<author>
		<name>Emilian Bold</name>
	</author>
	<content type="html">With some patching lookup api , progress api, editor api comes in mind.
&lt;br&gt;&lt;br&gt;Probably even more but you have to patch things here and there
&lt;br&gt;especially due to the security sandbox.
&lt;br&gt;&lt;br&gt;But you know the platform supports JNLP out of the box. Why not try
&lt;br&gt;and use that ?
&lt;br&gt;&lt;br&gt;--emi
&lt;br&gt;&lt;br&gt;On Thu, Jul 24, 2008 at 12:12 AM, Richard Catlin
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18625870&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;richard.m.catlin@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I have to write an Applet that is draggable to the Desktop using jdk6u10.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I would like to take advantage of the NetBeans Platform. &amp;nbsp;Can I use the
&lt;br&gt;&amp;gt; NetBeans Platform as an Applet? &amp;nbsp;If not, what modules could the Applet
&lt;br&gt;&amp;gt; reuse?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any information will be useful. &amp;nbsp;Thanks.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Richard Catlin
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Emilian Bold
&lt;br&gt;+40 740235562
&lt;br&gt;&lt;a href=&quot;http://www.emilianbold.ro&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.emilianbold.ro&lt;/a&gt;&lt;br&gt;&lt;br&gt;Java and NetBeans Platform-loving consulting services from Timisoara, Romania.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Can-a-%22draggable%22-applet-use-all-or-part-of-the-NetBeans-Platform--tp18620734p18625870.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18625841</id>
	<title>Re: How NetBeans boots? What classes/modules are loaded? Order?</title>
	<published>2008-07-23T22:59:32Z</published>
	<updated>2008-07-23T22:59:32Z</updated>
	<author>
		<name>Emilian Bold</name>
	</author>
	<content type="html">Afaik, there's a topological sort being done on the modules (with
&lt;br&gt;dependencies determining a graph edge). &amp;nbsp;If multiple modules could
&lt;br&gt;start at the same time (there is no dependency that makes only one
&lt;br&gt;possible order) then those will be started semi-randomly (ie. order on
&lt;br&gt;disk).
&lt;br&gt;&lt;br&gt;There's been such a discussion recently. You might wanna look into the archives.
&lt;br&gt;&lt;br&gt;--emi
&lt;br&gt;&lt;br&gt;On Wed, Jul 23, 2008 at 9:57 PM, Richard Catlin
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18625841&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;richard.m.catlin@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; What documents/information is available to help me understand how NetBeans
&lt;br&gt;&amp;gt; starts up? &amp;nbsp;What modules are loaded (in what order)?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Emilian Bold
&lt;br&gt;+40 740235562
&lt;br&gt;&lt;a href=&quot;http://www.emilianbold.ro&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.emilianbold.ro&lt;/a&gt;&lt;br&gt;&lt;br&gt;Java and NetBeans Platform-loving consulting services from Timisoara, Romania.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-NetBeans-boots---What-classes-modules-are-loaded---Order--tp18617988p18625841.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18625398</id>
	<title>Building from module cluster : without mercurial cloning</title>
	<published>2008-07-23T21:55:42Z</published>
	<updated>2008-07-23T21:55:42Z</updated>
	<author>
		<name>Suresh Shukla-3</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;I want to try the latest UML module (with visual api).&lt;br&gt;&lt;br&gt;Within my constraints I can&amp;#39;t use mercurial (also I can&amp;#39;t make it to work across proxy).&lt;br&gt;&lt;br&gt;So I took the path of downloading &amp;#39;nightly build&amp;#39; module cluster. These zip files are small (perfect for my low speed connection) and I got platform, ide, java and uml.&lt;br&gt;
&lt;br&gt;I found some directions at &lt;br&gt;&lt;a href=&quot;http://wiki.netbeans.org/WorkingWithNetBeansSources&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.netbeans.org/WorkingWithNetBeansSources&lt;/a&gt; &lt;br&gt;section &amp;#39;Working with subsets of the source tree&amp;#39;&lt;br&gt;&lt;br&gt;
But here it again asks for cvs/hg steps etc. Mercurial step seems to suggest to download whole repo.&lt;br&gt;&lt;br&gt;Please suggest a way out so I can build these modules together.&lt;br&gt;&lt;br&gt;Suresh&lt;br&gt; &lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Building-from-module-cluster-%3A-without-mercurial-cloning-tp18625398p18625398.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18622434</id>
	<title>DataObject and ANT script</title>
	<published>2008-07-23T16:03:48Z</published>
	<updated>2008-07-23T16:03:48Z</updated>
	<author>
		<name>Enrico Scantamburlo-2</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hi,&lt;br&gt;I am trying to use DataObjects from my ant scripts (command Line, no netbeans GUI ). I was able to make them work, however the only dataobjects I get are DefaultDataObjects. &lt;br&gt;I am not able to use my custom DataObjects. I have checked the classpath, and the jar file of the module that contains my DataObject is in the path.&lt;br&gt;
Moreover I have tried to use MockServices+MasterFS and META-INF+ClassLoade, but it still does not work.&lt;br&gt;I have also tried to start my script from the module build.xml and it was the same.&lt;br&gt;Can anyone help me please?&lt;br&gt;
Thanks in advance&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Enrico Scantamburlo &lt;br&gt;Member of JUGPadova&lt;br&gt;&lt;br&gt;&amp;quot;I&amp;#39;ve noticed lately that the paranoid fear of computers becoming intelligent and taking over the world has almost entirely disappeared from the common culture. Near as I can tell, this coincides with the release of MS-DOS.&amp;quot;&lt;br&gt;
(Larry DeLuca)
&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/DataObject-and-ANT-script-tp18622434p18622434.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18620974</id>
	<title>Re: Overwrite IDE Log File menu action to add dynamic logger options</title>
	<published>2008-07-23T14:24:24Z</published>
	<updated>2008-07-23T14:24:24Z</updated>
	<author>
		<name>bruehlicke</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;As most of the time after reading and searching the source I realized that I simply can use the layer.xml to represent Actions in submenus (never done this) and than just add the getMenuPresenter() to each action for the submenus returning a JCheckBoxMenuItem.&lt;br&gt;
&lt;br&gt;NetBeans just rocks.&lt;br&gt;&lt;br&gt;B-)&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Jul 23, 2008 at 12:36 PM, bruehlicke &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18620974&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bruehlicke@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;The &amp;quot;View -&amp;gt; IDE Log File&amp;quot; I have already renamed in branding/modules/org-netbeans-core.jar/org/netbeans/core/actions/Bundle.properties by&lt;br&gt;&lt;br&gt;MSG_LogTab_name=My Log File&lt;br&gt;MSG_ShortLogTab_name=My Log File&lt;br&gt;

&lt;br&gt;so far so good.&amp;nbsp; Now I wanted to give the user the option to dynamically change the Logger.Level which is simply done via Logger.getLogger(&amp;quot;com.mystuff&amp;quot;).setLevel(Level.xyz)&lt;br&gt;&lt;br&gt;I added this to 2 actions so the user can set FINEST and INFO.&lt;br&gt;

&lt;br&gt;Now, it would be cooler if the Menu would just have one entry like &amp;quot;My Log File&amp;quot; with 3 submenus with Checkboxes&amp;nbsp; &amp;quot;Open&amp;quot;, &amp;quot;Set Default&amp;quot;, &amp;quot;Set Debug&amp;quot;&amp;nbsp; &lt;br&gt;&lt;br&gt;Question: What is the best way to achieving this ?&lt;br&gt;

&lt;br&gt;I was thinking of creating a new Action which implements Presenter and add the submenus. which each their action. ... what is the action name of the build in action which opens the logger output window ? And how do I make sure it gets overwritten with my new Action implementing Presenter, so that the Main Menu will look like&lt;br&gt;

&lt;br&gt;View -&amp;gt; My Log File -&amp;gt; Open&lt;br&gt;View -&amp;gt; My Log File -&amp;gt; Set Default&lt;br&gt;
View -&amp;gt; My Log File -&amp;gt; Set Debug&lt;br&gt;
&lt;br&gt;I think I have the general path to what I need todo but suffer a little from basic mechanics with the layer.xml etc ...&lt;br&gt;&lt;br&gt;B-)&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Overwrite-IDE-Log-File-menu-action-to-add-dynamic-logger-options-tp18616368p18620974.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18620734</id>
	<title>Can a &quot;draggable&quot; applet use all or part of the NetBeans Platform?</title>
	<published>2008-07-23T14:12:09Z</published>
	<updated>2008-07-23T14:12:09Z</updated>
	<author>
		<name>Richard Catlin</name>
	</author>
	<content type="html">I have to write an Applet that is draggable to the Desktop using jdk6u10.
&lt;br&gt;&lt;br&gt;I would like to take advantage of the NetBeans Platform. &amp;nbsp;Can I use the 
&lt;br&gt;NetBeans Platform as an Applet? &amp;nbsp;If not, what modules could the Applet 
&lt;br&gt;reuse?
&lt;br&gt;&lt;br&gt;Any information will be useful. &amp;nbsp;Thanks.
&lt;br&gt;&lt;br&gt;Richard Catlin
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Can-a-%22draggable%22-applet-use-all-or-part-of-the-NetBeans-Platform--tp18620734p18620734.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18620613</id>
	<title>Re: wrong Java platform testing modules under OS X 10.5</title>
	<published>2008-07-23T14:06:00Z</published>
	<updated>2008-07-23T14:06:00Z</updated>
	<author>
		<name>Peter C. Mehlitz</name>
	</author>
	<content type="html">Ok, I answer myself - the debug NB is started via ...java2/ant/bin/ 
&lt;br&gt;ant, which uses
&lt;br&gt;&lt;br&gt;JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
&lt;br&gt;&lt;br&gt;which is in turn a symlink to
&lt;br&gt;&lt;br&gt;/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
&lt;br&gt;&lt;br&gt;which is apparently still set to 1.5, even after running Applications/ 
&lt;br&gt;Utilities/Java/Java\ Preferences.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Maybe the ant script should use the same config like the rest of NB?
&lt;br&gt;&lt;br&gt;-- Peter
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Jul 23, 2008, at 12:17 PM, Peter C. Mehlitz wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have NB 6.1 running on OS X 10.5.4 with Java 1.6.0_05. I manually &amp;nbsp;
&lt;br&gt;&amp;gt; changed 'netbeans_jdkhome' in
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; /Applications/NetBeans/NetBeans\ 6.1.app/Contents/Resources/NetBeans/ 
&lt;br&gt;&amp;gt; etc/netbeans.conf
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; to use Java 1.6 as the default, and that works just fine when I &amp;nbsp;
&lt;br&gt;&amp;gt; start NB. However, when trying to run or debug a module from within &amp;nbsp;
&lt;br&gt;&amp;gt; this IDE, the NB that is launched always falls back to Java 1.5 as &amp;nbsp;
&lt;br&gt;&amp;gt; the default (causing wrong classfile version exceptions). I'm sure &amp;nbsp;
&lt;br&gt;&amp;gt; there is another config file I'm missing, but I can't find it. Any &amp;nbsp;
&lt;br&gt;&amp;gt; ideas?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; -- Peter
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/wrong-Java-platform-testing-modules-under-OS-X-10.5-tp18618384p18620613.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18618724</id>
	<title>Re: Query on EditorPanes</title>
	<published>2008-07-23T12:36:30Z</published>
	<updated>2008-07-23T12:36:30Z</updated>
	<author>
		<name>Varun Nischal</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;On Tue, Jul 22, 2008 at 2:55 PM, Varun Nischal &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18618724&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;diehard.coder@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;&lt;div class=&quot;Ih2E3d&quot;&gt;On Sun, Jul 20, 2008 at 6:22 PM, Vita Stejskal &lt;br&gt;&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;div class=&quot;Ih2E3d&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;



&lt;br&gt;
I haven&amp;#39;t tried this code, but if it works then IMO somebody should rewrite the tutorial. If nothing else it&amp;#39;s painfully complicated.&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;Work is already going on.&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;Vita,&lt;br&gt;&lt;br&gt;New version of tutorial is here- &lt;br&gt;&lt;a href=&quot;http://wiki.netbeans.org/RevampedHyperlinkNavigation&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.netbeans.org/RevampedHyperlinkNavigation&lt;/a&gt;&lt;br clear=&quot;all&quot;&gt;
&lt;br&gt;-- &lt;br&gt;Varun&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Query-on-EditorPanes-tp18400824p18618724.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18618384</id>
	<title>wrong Java platform testing modules under OS X 10.5</title>
	<published>2008-07-23T12:17:46Z</published>
	<updated>2008-07-23T12:17:46Z</updated>
	<author>
		<name>Peter C. Mehlitz</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have NB 6.1 running on OS X 10.5.4 with Java 1.6.0_05. I manually &amp;nbsp;
&lt;br&gt;changed 'netbeans_jdkhome' in
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;/Applications/NetBeans/NetBeans\ 6.1.app/Contents/Resources/ 
&lt;br&gt;NetBeans/etc/netbeans.conf
&lt;br&gt;&lt;br&gt;to use Java 1.6 as the default, and that works just fine when I start &amp;nbsp;
&lt;br&gt;NB. However, when trying to run or debug a module from within this &amp;nbsp;
&lt;br&gt;IDE, the NB that is launched always falls back to Java 1.5 as the &amp;nbsp;
&lt;br&gt;default (causing wrong classfile version exceptions). I'm sure there &amp;nbsp;
&lt;br&gt;is another config file I'm missing, but I can't find it. Any ideas?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;-- Peter &amp;nbsp;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/wrong-Java-platform-testing-modules-under-OS-X-10.5-tp18618384p18618384.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18617988</id>
	<title>How NetBeans boots?  What classes/modules are loaded?  Order?</title>
	<published>2008-07-23T11:57:31Z</published>
	<updated>2008-07-23T11:57:31Z</updated>
	<author>
		<name>Richard Catlin</name>
	</author>
	<content type="html">What documents/information is available to help me understand how 
&lt;br&gt;NetBeans starts up? &amp;nbsp;What modules are loaded (in what order)?
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-NetBeans-boots---What-classes-modules-are-loaded---Order--tp18617988p18617988.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18617869</id>
	<title>Re: Getting all the members (variables, methods AND method bodies) of a java source file</title>
	<published>2008-07-23T11:50:08Z</published>
	<updated>2008-07-23T11:50:08Z</updated>
	<author>
		<name>David Strupl</name>
	</author>
	<content type="html">janmoons napsal(a):
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; Use AST's provided by the Java Source API and Java Tree API, as discussed in
&lt;br&gt;&amp;gt; the following posts:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://today.java.net/pub/a/today/2008/04/10/source-code-analysis-using-java-6-compiler-apis.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://today.java.net/pub/a/today/2008/04/10/source-code-analysis-using-java-6-compiler-apis.html&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://weblogs.java.net/blog/timboudreau/archive/2008/02/see_java_code_t.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://weblogs.java.net/blog/timboudreau/archive/2008/02/see_java_code_t.html&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://netbeans.dzone.com/announcements/new-class-visualization-module&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://netbeans.dzone.com/announcements/new-class-visualization-module&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This has the disadvantage that the classes actually have to be compilable.
&lt;br&gt;&lt;br&gt;No. They don't have to be compilable. To &amp;quot;see&amp;quot; the AST used by the Java Source
&lt;br&gt;module you can set the env variable in the netbeans.conf file to
&lt;br&gt;-J-Dorg.netbeans.modules.java.debug.enable=true and in the navigator you should
&lt;br&gt;see the AST as seen by the Java source module. When you type in non-compilable
&lt;br&gt;code you will still get something reasonable in the AST ... At least this is
&lt;br&gt;true in NB 6.1 I did not check the trunk yet.
&lt;br&gt;&lt;br&gt;Br,
&lt;br&gt;&lt;br&gt;David
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;David Strupl
&lt;br&gt;&lt;a href=&quot;http://dstrupl.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dstrupl.blogspot.com&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Getting-all-the-members-%28variables%2C-methods-AND-method-bodies%29-of-a-java-source-file-tp18484450p18617869.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18616368</id>
	<title>Overwrite IDE Log File menu action to add dynamic logger options</title>
	<published>2008-07-23T10:36:43Z</published>
	<updated>2008-07-23T10:36:43Z</updated>
	<author>
		<name>bruehlicke</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;The &amp;quot;View -&amp;gt; IDE Log File&amp;quot; I have already renamed in branding/modules/org-netbeans-core.jar/org/netbeans/core/actions/Bundle.properties by&lt;br&gt;&lt;br&gt;MSG_LogTab_name=My Log File&lt;br&gt;MSG_ShortLogTab_name=My Log File&lt;br&gt;
&lt;br&gt;so far so good.&amp;nbsp; Now I wanted to give the user the option to dynamically change the Logger.Level which is simply done via Logger.getLogger(&amp;quot;com.mystuff&amp;quot;).setLevel(Level.xyz)&lt;br&gt;&lt;br&gt;I added this to 2 actions so the user can set FINEST and INFO.&lt;br&gt;
&lt;br&gt;Now, it would be cooler if the Menu would just have one entry like &amp;quot;My Log File&amp;quot; with 3 submenus with Checkboxes&amp;nbsp; &amp;quot;Open&amp;quot;, &amp;quot;Set Default&amp;quot;, &amp;quot;Set Debug&amp;quot;&amp;nbsp; &lt;br&gt;&lt;br&gt;Question: What is the best way to achieving this ?&lt;br&gt;
&lt;br&gt;I was thinking of creating a new Action which implements Presenter and add the submenus. which each their action. ... what is the action name of the build in action which opens the logger output window ? And how do I make sure it gets overwritten with my new Action implementing Presenter, so that the Main Menu will look like&lt;br&gt;
&lt;br&gt;View -&amp;gt; My Log File -&amp;gt; Open&lt;br&gt;View -&amp;gt; My Log File -&amp;gt; Set Default&lt;br&gt;
View -&amp;gt; My Log File -&amp;gt; Set Debug&lt;br&gt;
&lt;br&gt;I think I have the general path to what I need todo but suffer a little from basic mechanics with the layer.xml etc ...&lt;br&gt;&lt;br&gt;B-)&lt;br&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Overwrite-IDE-Log-File-menu-action-to-add-dynamic-logger-options-tp18616368p18616368.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18614525</id>
	<title>Re: Re: How do module suites share modules?</title>
	<published>2008-07-23T09:11:41Z</published>
	<updated>2008-07-23T09:11:41Z</updated>
	<author>
		<name>tomwheel</name>
	</author>
	<content type="html">On 7/23/08, Tim Halloran &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18614525&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hallorant@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I can't get this approach to work because the IDE only allows me to choose
&lt;br&gt;&amp;gt; one netbeans platform in the library &amp;quot;tab&amp;quot; of the suite project properties.
&lt;br&gt;&amp;gt; &amp;nbsp;I did try playing around with the NetBeans Platform Manager but it wasn't
&lt;br&gt;&amp;gt; clear there was any way to merge these two complex platforms into one I
&lt;br&gt;&amp;gt; could choose.
&lt;br&gt;&lt;br&gt;I think what Jesse is saying is that you should build the &amp;quot;visual-VM&amp;quot;
&lt;br&gt;suite on top of the NetBeans Platform. &amp;nbsp;The output of this (when you
&lt;br&gt;create a ZIP distribution) will be a new platform which contains the
&lt;br&gt;NetBeans Platform *and* the Visual VM stuff. &amp;nbsp;You can use that
&lt;br&gt;platform as the base platform for creating any number of separate
&lt;br&gt;applications which contain arbitrary combinations of NetBeans and
&lt;br&gt;Visual VM modules.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tom Wheeler
&lt;br&gt;&lt;a href=&quot;http://www.tomwheeler.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.tomwheeler.com/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-do-module-suites-share-modules--tp18598741p18614525.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18614285</id>
	<title>Re: Re: How do module suites share modules?</title>
	<published>2008-07-23T09:01:45Z</published>
	<updated>2008-07-23T09:01:45Z</updated>
	<author>
		<name>Tim Halloran</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;On Tue, Jul 22, 2008 at 10:50 PM, Jesse Glick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18614285&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jesse.glick@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

Probably your best bet is to have just one suite that contains all of your modules. Its target platform should be a merger of the NetBeans IDE and visual-VM. Then you can have dependencies on any module found in the IDE or VVM (or in both). You can use fairly simple custom Ant targets to do desired tasks. E.g. to test your modules against only certain clusters (such as those found in VVM), just pass --clusters to the launcher.&lt;/blockquote&gt;
&lt;div&gt;&lt;br&gt;I can&amp;#39;t get this approach to work because the IDE only allows me to choose one netbeans platform in the library &amp;quot;tab&amp;quot; of the suite project properties.&amp;nbsp;&amp;nbsp; I did try playing around with the NetBeans Platform Manager but it wasn&amp;#39;t clear there was any way to merge these two complex platforms into one I could choose.&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-do-module-suites-share-modules--tp18598741p18614285.html" />
</entry>

</feed>
