Re: Instanciate a DataNode wihout DataObject to display some properties
Tim Boudreau <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <CA+qecRPfdXnP3-x-6+c2NwM6aJX5mFHXUxvFkaEVfeyHoLFGrA@mail.gmail.com> |
BeanNode or just a subclass of AbstractNode. DataNode is only useful for something that represents a file and you want to use, say the Save action or other file-related actions and want a lot of the plumbing for those built-in. -Tim On Wed, Jan 27, 2016 at 12:43 PM, Dmitriy Avtonomov < [email protected]> wrote: > Maybe you're looking for BeanNode? > > On Wed, Jan 27, 2016 at 12:23 PM, Casqueiro Gilles < > [email protected]> wrote: > >> Hello, >> >> >> >> Is it possible to have a DataNode without any DataObject? If possible I >> would like to publish it in the Global Lookup and use its createSheet >> method to display some info in the Property window. I work with beans that >> don’t necessarily have any associated file on disk. >> >> >> >> Not sure if this approach is correct. >> >> >> >> Gilles >> >> >> >> >> ----------------------------------------------------------------------- >> >> Le informazioni contenute in questo messaggio di posta elettronica e >> relativi allegati sono riservate e confidenziali e ne è vietata la >> diffusione in qualunque modo eseguita. Qualora Lei non fosse la persona a >> cui il presente messaggio è destinato, La invitiamo ad eliminarlo e a >> darcene gentile comunicazione. >> >> The information contained in this e-mail and any attachments is >> confidential and may also be privileged. If you are not the named recipient >> please notify the sender immediately and do not disclose the contents to >> any other person, use it for any purpose, or store or copy the information >> in any medium. >> >> ----------------------------------------------------------------------- >> > > -- http://timboudreau.com