Examples of reInitializeChildrenMap()


Examples of org.jboss.on.embedded.ui.nav.JONTreeNode.reInitializeChildrenMap()

    public void changeExpandListener(org.richfaces.event.NodeExpandedEvent event)
    {
        UIComponent comp = event.getComponent();
        UITree tree = (UITree)comp;
        JONTreeNode jonTreeNode = (JONTreeNode)(tree.getTreeNode().getData());
        jonTreeNode.reInitializeChildrenMap();
    }

//   /**
//    * Sorts the list of datasources by the given column name in ascending or descending order.
//    * If the given column name doesn't match, the list is not sorted
View Full Code Here

Examples of org.jboss.on.embedded.ui.nav.JONTreeNode.reInitializeChildrenMap()

            // with no children and can't have resource added directly to them, e.g. Embedded EJB deployments.
            parentResourceNode.reInitializeChildrenMap();
        }
        else
        {
            resourceTypeNode.reInitializeChildrenMap();
        }

    }

    @Observer(ResourceManager.RESOURCE_DELETED_EVENT)
View Full Code Here

Examples of org.jboss.on.embedded.ui.nav.JONTreeNode.reInitializeChildrenMap()

        {
            log.warn("Unable to find node for deleted resource [" + deletedResource + "].");
            return;
        }
        JONTreeNode parentNode = node.getParent();
        parentNode.reInitializeChildrenMap();
    }

    @Observer(ResourceManager.RESOURCE_UPDATED_EVENT)
    public void updateNavWithUpdatedResource(Resource updatedResource)
    {
View Full Code Here

Examples of org.jboss.on.embedded.ui.nav.JONTreeNode.reInitializeChildrenMap()

                        this.resource.getName());
                // Reset the current node to the stale Resource node's parent node.
                JONTreeNode parentNode = SummaryAction.this.navigationAction.getSelectedNode().getParent();
                SummaryAction.this.navigationAction.setCurrentPath(parentNode.getPath());
                // And refresh the parent node's children to remove the stale Resource node.
                parentNode.reInitializeChildrenMap();
                return FacesOutcomes.ERROR;
            }
            setResourceAndSummaryInfo(this.resource);
            return FacesOutcomes.RESOURCE_INSTANCE;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.