public class ExternalNodeMaker extends AbstractNodeMaker
Constructor and Description |
---|
ExternalNodeMaker(AppContext conn) |
Modifier and Type | Method and Description |
---|---|
Node |
makeNode(java.lang.String name,
FilteredProperties props)
Create a
Node for a named menu item. |
addChildren, getContext, getLogger
public ExternalNodeMaker(AppContext conn)
conn
- public Node makeNode(java.lang.String name, FilteredProperties props)
NodeMaker
Node
for a named menu item.
This is allowed to return null to indicate that nodes of this type are disabled/empty and should be
suppressed. The NavigationMenuService
can be configured to substitute a different node
in this case (for example to host child nodes added by the configuration).
Automatic child nodes can be added in this method and will appear first. Followed by nodes from the configuration
then nodes from NodeMaker.addChildren(Node, String, FilteredProperties)
name
- name of the nodeprops
- FilteredProperties
containing the navigation menu configurationNode