Geertjan's Blog

  • March 26, 2016

Skeleton Node Hierarchy with Login on GitHub

Geertjan Wielenga
Product Manager

The series continues with a login scenario:


Here's what you get, initially the same as last time, though this time no child nodes are available. Right-clicking on the node brings up the popup menu below:

When clicking on the popup menu, the dialog below is shown:

And, finally, if, and only if "foo/bar" is the "user/password", a new first level node is created in the hierarchy, together with all the children of the first level node. Here you can see that two first level nodes have been created.

How it works is that Preferences are created in the login dialog, while a PreferenceChangeListener is set on the Leve1ChildFactory.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.