Re: Re: Question to Clarify Understanding with the DataFolder and FileObject

2020-12-10 Thread Eric Bresie
Silly question ...which tutorial is this? Eric Bresie [email protected] (mailto:[email protected]) > On December 3, 2020 at 5:17:14 PM CST, Sean Carrick (mailto:[email protected])> wrote: > Gj, > > Ok, so what I am understanding now is that the folder is virtual and > *only* located within the

Re: Question to Clarify Understanding with the DataFolder and FileObject

2020-12-03 Thread Laszlo Kishalmi
On 12/3/20 3:17 PM, Sean Carrick wrote: Gj, Ok, so what I am understanding now is that the folder is virtual and *only* located within the confines of the Virtual Filesystem, within the layer.xml file. So far, I am with you on this. Now, if I provided an editor to the user to enter a new v

Re: Question to Clarify Understanding with the DataFolder and FileObject

2020-12-03 Thread Sean Carrick
Gj, Ok, so what I am understanding now is that the folder is virtual and *only* located within the confines of the Virtual Filesystem, within the layer.xml file. So far, I am with you on this. Now, if I provided an editor to the user to enter a new vehicle, for example, to include make, mode

Re: Question to Clarify Understanding with the DataFolder and FileObject

2020-12-03 Thread Geertjan Wielenga
It is a virtual folder, what you see in the layer file. The virtual folder is in the virtual filesystem of the NetBeans Platform. You will not see it anywhere on disk. Gj On Thu, 3 Dec 2020 at 23:28, Sean Carrick wrote: > Gj, > > Again, thank you for your gracious assistance. I do, however, hav

Re: Question to Clarify Understanding with the DataFolder and FileObject

2020-12-03 Thread Sean Carrick
Gj, Again, thank you for your gracious assistance. I do, however, have one more question about the DataFolder, DataObject, and the layer.xml file. If I were to create a section in the layer.xml file, when the save action is invoked, would that then create the folder on disk? Also, where o

Re: Question to Clarify Understanding with the DataFolder and FileObject

2020-12-03 Thread Sean Carrick
Gj, Thank you very much! I may not have explained myself well, but it seems that I was understanding what was happening, for the most part. Your clarification helps me out greatly and I appreciate it very much. Have a fantastic day, along with everyone else on the list. Sean C. On 12/3/20 2

Re: Question to Clarify Understanding with the DataFolder and FileObject

2020-12-03 Thread Geertjan Wielenga
Next, since the Object in your scenario is a DataFolder, when a folder is selected, the Action is automatically enabled because the folder has a DataFolder built into its Lookup. Now that the Action is enabled, you have the DataFolder available in the constructor and can refer to it and use it and

Re: Question to Clarify Understanding with the DataFolder and FileObject

2020-12-03 Thread Geertjan Wielenga
The fact that the ActionListener takes an Object as an argument means that the annotations at the top of the class (or in the layer.xml file) will generate a context-sensitive Action that is sensitive to the Object in the argument. The Action will be enabled when the Object is available, i.e., in c

Question to Clarify Understanding with the DataFolder and FileObject

2020-12-02 Thread Sean Carrick
Gj, Hello. I was looking at your tutorial (old, for NB8.1) for the RSS Reader. I was especially looking at how you were storing new, user-created folders and RSS feed files. However, reading through it, I was getting a little confused, and want to make sure that I am properly understanding ho