Package org.jboss.ballroom.client.layout

Examples of org.jboss.ballroom.client.layout.LHSNavTreeItem


    private LHSNavTree navigation;

    public LHSAdministrationNavigation() {

        LHSTreeSection accessLeaf = new LHSTreeSection("Access Control", true);
        LHSNavTreeItem authItem = new LHSNavTreeItem("Role Assignment", NameTokens.RoleAssignmentPresenter);
        accessLeaf.addItem(authItem);
//        LHSNavTreeItem auditLogItem = new LHSNavTreeItem("Audit Log", NameTokens.AuditLogPresenter);
//        accessLeaf.addItem(auditLogItem);

        navigation = new LHSNavTree("administration");
View Full Code Here


                {
                    if(actual.getKey().equals(candidate.getKey()))
                    {
                        includedSubsystems++;

                        final LHSNavTreeItem link = new LHSNavTreeItem(candidate.getName(), candidate.getToken());
                        link.setKey(candidate.getKey());
                        link.getElement().setAttribute("title", candidate.getName()+" "+
                                actual.getMajor()+"."+
                                actual.getMinor()+"."+
                                actual.getMicro());

                        if(compatibleVersion(actual, candidate)) {
View Full Code Here

        // -------------

        //metricLeaf = new LHSTreeSection("Server Status");
        //metrics.addItem(metricLeaf);

        LHSNavTreeItem datasources = new LHSNavTreeItem("Datasources", NameTokens.DataSourceMetricPresenter);
        LHSNavTreeItem jmsQueues = new LHSNavTreeItem("JMS Destinations", NameTokens.JmsMetricPresenter);
        LHSNavTreeItem web = new LHSNavTreeItem("Web", NameTokens.WebMetricPresenter);
        LHSNavTreeItem jpa = new LHSNavTreeItem("JPA", NameTokens.JPAMetricPresenter);
        LHSNavTreeItem ws = new LHSNavTreeItem("Webservices", NameTokens.WebServiceRuntimePresenter);
        LHSNavTreeItem naming = new LHSNavTreeItem("JNDI View", NameTokens.JndiPresenter);

        metricPredicates.add(new Predicate("datasources", datasources));
        metricPredicates.add(new Predicate("messaging", jmsQueues));
        metricPredicates.add(new Predicate("web", web));
        metricPredicates.add(new Predicate("jpa", jpa));
        metricPredicates.add(new Predicate("webservices", ws));
        metricPredicates.add(new Predicate("naming", naming));


        // Extension based additions
        RuntimeExtensionRegistry registry = Console.getRuntimeLHSItemExtensionRegistry();
        List<RuntimeExtensionMetaData> menuExtensions = registry.getExtensions();
        for (RuntimeExtensionMetaData ext : menuExtensions) {

            if(RuntimeGroup.METRICS.equals(ext.getGroup()))
            {
                metricPredicates.add(
                        new Predicate(
                                ext.getKey(), new LHSNavTreeItem(ext.getName(), ext.getToken())
                        )
                );
            }
            else if(RuntimeGroup.OPERATiONS.equals(ext.getGroup()))
            {
                runtimePredicates.add(
                        new Predicate(
                                ext.getKey(), new LHSNavTreeItem(ext.getName(), ext.getToken())
                        )
                );
            }
            else
            {
View Full Code Here

        metrics.setVisible(true);

        final GroupItem platformGroup = new GroupItem("Platform");

        platformGroup.addItem(new LHSNavTreeItem("JVM", NameTokens.HostVMMetricPresenter));
        platformGroup.addItem(new LHSNavTreeItem("Environment", NameTokens.EnvironmentPresenter));
        platformGroup.addItem(new LHSNavTreeItem("Log Viewer", NameTokens.LogViewer));

        metrics.addItem(platformGroup);
        //platformGroup.setState(true);

        final GroupItem subsystemGroup = new GroupItem("Subsystems");
View Full Code Here

        LHSNavTree commonTree = new LHSNavTree(Console.CONSTANTS.common_label_generalConfig());

        LHSNavTreeItem[] commonItems = new LHSNavTreeItem[] {
                /*new LHSNavTreeItem("Server", NameTokens.StandaloneServerPresenter),*/
                new LHSNavTreeItem(Console.CONSTANTS.common_label_interfaces(), NameTokens.InterfacePresenter),
                new LHSNavTreeItem(Console.CONSTANTS.common_label_socketBinding(), NameTokens.SocketBindingPresenter),
                new LHSNavTreeItem(Console.CONSTANTS.common_label_paths(), NameTokens.PathManagementPresenter),
                new LHSNavTreeItem(Console.CONSTANTS.common_label_systemProperties(), NameTokens.PropertiesPresenter),
        };

        for(LHSNavTreeItem item : commonItems)
        {
            commonTree.addItem(item);
View Full Code Here

        panel = new DisclosureStackPanel(Console.CONSTANTS.common_label_deployments()).asWidget();
        deploymentTree = new LHSNavTree("groups");
        panel.setContent(deploymentTree);

        LHSNavTreeItem current = new LHSNavTreeItem( Console.CONSTANTS.common_label_manageDeployments(), NameTokens.DeploymentsPresenter);
        //LHSNavTreeItem plans= new LHSNavTreeItem("Deployment Plans", "deployment-plans");

        deploymentTree.addItem(current);
        //deploymentTree.addItem(plans);
View Full Code Here

        panel = new DisclosureStackPanel(Console.CONSTANTS.common_label_hostConfiguration()).asWidget();

        hostTree = new LHSNavTree("hosts");

        //LHSNavTreeItem paths = new LHSNavTreeItem(Console.CONSTANTS.common_label_paths(), "hosts/host-paths");
        LHSNavTreeItem jvms = new LHSNavTreeItem(Console.CONSTANTS.common_label_virtualMachines(), "hosts/host-jvms");
        LHSNavTreeItem interfaces = new LHSNavTreeItem(Console.CONSTANTS.common_label_interfaces(), "hosts/host-interfaces");
        LHSNavTreeItem properties = new LHSNavTreeItem("Host Properties", "host/host-properties");

        //hostTree.addItem(paths);
        hostTree.addItem(jvms);
        hostTree.addItem(interfaces);
        hostTree.addItem(properties);
View Full Code Here

//        LHSNavTreeItem auditLogItem = new LHSNavTreeItem("Audit Log", NameTokens.AuditLogPresenter);
//        accessLeaf.addItem(auditLogItem);

        LHSNavTree patchingTree = new LHSNavTree("Patching");
        patchingTree.addItem(new LHSNavTreeItem("Patch Management", NameTokens.PatchingPresenter));

        LHSNavTree accessTree = new LHSNavTree("administration");
        accessTree.getElement().setAttribute("aria-label", "Administration");
        accessTree.expandTopLevel();

        LHSNavTreeItem authItem = new LHSNavTreeItem("Role Assignment", NameTokens.RoleAssignmentPresenter);
        accessTree.addItem(authItem);

        VerticalPanel stack = new VerticalPanel();
        stack.setStyleName("fill-layout-width");
        stack.getElement().getStyle().setBackgroundColor("#ffffff");
View Full Code Here

        panel = new DisclosureStackPanel(Console.CONSTANTS.common_label_generalConfig()).asWidget();
        commonTree = new LHSNavTree("profiles");
        panel.setContent(commonTree);

        //LHSNavTreeItem paths = new LHSNavTreeItem(Console.CONSTANTS.common_label_paths(), "domain/paths");
        LHSNavTreeItem interfaces = new LHSNavTreeItem(Console.CONSTANTS.common_label_interfaces(), NameTokens.InterfacePresenter);
        LHSNavTreeItem sockets = new LHSNavTreeItem(Console.CONSTANTS.common_label_socketBinding(), NameTokens.SocketBindingPresenter);
        LHSNavTreeItem properties = new LHSNavTreeItem(Console.CONSTANTS.common_label_systemProperties(), NameTokens.PropertiesPresenter);

        //commonTree.addItem(paths);
        commonTree.addItem(interfaces);
        commonTree.addItem(sockets);
        commonTree.addItem(properties);
View Full Code Here

        panel = new DisclosureStackPanel(Console.CONSTANTS.common_label_serverGroups()).asWidget();
        serverGroupTree = new LHSNavTree("groups");

        final String token = "domain/" + NameTokens.ServerGroupPresenter;
        final TreeItem item = new LHSNavTreeItem(Console.CONSTANTS.common_label_serverGroupConfigurations(), token);
        serverGroupTree.addItem(item);

        panel.setContent(serverGroupTree);
    }
View Full Code Here

TOP

Related Classes of org.jboss.ballroom.client.layout.LHSNavTreeItem

Copyright © 2018 www.massapicom. 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.