Examples of TreeNodeClickUpdate


Examples of org.apache.syncope.console.pages.Roles.TreeNodeClickUpdate

                    @Override
                    protected void onClick(final AjaxRequestTarget target) {
                        super.onClick(target);

                        send(getPage(), Broadcast.BREADTH, new TreeNodeClickUpdate(target, roleTO.getId()));
                    }
                };
            }
        };
        tree.add(new WindowsTheme());
View Full Code Here

Examples of org.apache.syncope.console.pages.Roles.TreeNodeClickUpdate

    @Override
    public void onEvent(final IEvent<?> event) {
        super.onEvent(event);

        if (event.getPayload() instanceof TreeNodeClickUpdate) {
            final TreeNodeClickUpdate update = (TreeNodeClickUpdate) event.getPayload();
            updateTree();
            update.getTarget().add(treeContainer);
        }
    }
View Full Code Here

Examples of org.apache.syncope.console.pages.panels.RoleSummaryPanel.TreeNodeClickUpdate

            private static final long serialVersionUID = 8804221891699487139L;

            @Override
            public void onClose(final AjaxRequestTarget target) {

                final TreeNodeClickUpdate data = new TreeNodeClickUpdate(target, nodePanel.getSelectedNode() == null
                        ? 0
                        : nodePanel.getSelectedNode().getId());

                send(getPage(), Broadcast.BREADTH, data);
                target.add(container);
View Full Code Here

Examples of org.apache.syncope.console.pages.panels.RoleSummaryPanel.TreeNodeClickUpdate

            private static final long serialVersionUID = 8804221891699487139L;

            @Override
            public void onClose(final AjaxRequestTarget target) {

                final TreeNodeClickUpdate data = new TreeNodeClickUpdate(target, nodePanel.getSelectedNode() == null
                        ? 0
                        : nodePanel.getSelectedNode().getId());

                send(getPage(), Broadcast.BREADTH, data);
                target.add(container);
View Full Code Here

Examples of org.apache.syncope.console.pages.panels.RoleSummaryPanel.TreeNodeClickUpdate

            protected void onNodeLinkClicked(final Object node, final BaseTree baseTree, final AjaxRequestTarget target) {

                DefaultMutableTreeNode treeNode = (DefaultMutableTreeNode) node;
                RoleTO unitObject = (RoleTO) treeNode.getUserObject();

                send(getPage(), Broadcast.BREADTH, new TreeNodeClickUpdate(target, unitObject.getId()));

            }
        };

        MetaDataRoleAuthorizationStrategy.authorize(tree, ENABLE, xmlRolesReader.getAllAllowedRoles("Roles", "read"));
View Full Code Here

Examples of org.apache.syncope.console.pages.panels.RoleSummaryPanel.TreeNodeClickUpdate

    public void onEvent(final IEvent<?> event) {
        super.onEvent(event);

        if (event.getPayload() instanceof TreeNodeClickUpdate) {

            final TreeNodeClickUpdate update = (TreeNodeClickUpdate) event.getPayload();

            updateTree();

            update.getTarget().add(treeContainer);
        }
    }
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.