Package org.jboss.ballroom.client.layout

Examples of org.jboss.ballroom.client.layout.LHSNavTree$StateChange


        stack.setStyleName("fill-layout-width");
        stack.getElement().getStyle().setBackgroundColor("#ffffff");

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

        subsystemTree = new LHSNavTree("profiles");
        subsystemTree.getElement().setAttribute("style", "padding: 5px;");
        subsystemTree.getElement().setAttribute("aria-label", "Profile Tasks");

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

        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);
        }


        subsystemTree.expandTopLevel();

View Full Code Here


    private LHSNavTree deploymentTree;

    public DeploymentSection() {

        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");
View Full Code Here

    public HostConfigSection() {
        super();

        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");
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

    private VerticalPanel layout;

    public SubsystemSection()  {


        LHSNavTree navigation = new LHSNavTree("profiles");
        navigation.getElement().setAttribute("aria-label", "Profile Tasks");

        subsysTree = new LHSTreeSection(Console.CONSTANTS.common_label_subsystems());
        navigation.addItem(subsysTree);

        layout = new VerticalPanel();
        layout.setStyleName("fill-layout-width");

View Full Code Here

    public CommonConfigSection() {
        super();

        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);
View Full Code Here

    Tree serverGroupTree;

    public ServerGroupSection() {

        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);
View Full Code Here

        p.add(title);
        p.add(selectorWidget);

        stack.add(p);

        subsystemTree = new LHSNavTree("profiles");
        subsystemTree.getElement().setAttribute("style", "padding: 5px;");
        subsystemTree.getElement().setAttribute("aria-label", "Profile Tasks");

        /*subsystemLeaf = new LHSTreeSection(Console.CONSTANTS.common_label_subsystems());
        subsystemTree.addItem(subsystemLeaf);*/

        // --------

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

        LHSNavTreeItem interfaces = new LHSNavTreeItem(Console.CONSTANTS.common_label_interfaces(), NameTokens.InterfacePresenter);
        LHSNavTreeItem sockets = new LHSNavTreeItem(Console.CONSTANTS.common_label_socketBinding(), NameTokens.SocketBindingPresenter);
        LHSNavTreeItem paths = new LHSNavTreeItem(Console.CONSTANTS.common_label_paths(), NameTokens.PathManagementPresenter);
        LHSNavTreeItem properties = new LHSNavTreeItem(Console.CONSTANTS.common_label_systemProperties(), NameTokens.PropertiesPresenter);
View Full Code Here

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

        domainNav = new LHSNavTree("hosts");
        domainNav.getElement().setAttribute("aria-label", "Domain Tasks");
        domainNav.getElement().setAttribute("style", "padding-top:10px; padding-bottom:10px");

        hostNav = new LHSNavTree("hosts");
        hostNav.getElement().setAttribute("aria-label", "Host Tasks");
        hostNav.getElement().setAttribute("style", "padding-top:10px; padding-bottom:10px");

        // --------
View Full Code Here

        stack.setStyleName("fill-layout-width");

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


        subsysTree = new LHSNavTree("profiles");

        DisclosurePanel subsysPanel  = new DisclosureStackPanel("Profile").asWidget();
        subsysPanel.setContent(subsysTree);
        stack.add(subsysPanel);

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

        Tree serverTree = new LHSNavTree("profiles");
        serverTree.addItem(new LHSNavTreeItem("JVM Status", NameTokens.VirtualMachine));
        serverTree.addItem(new LHSNavTreeItem("Manage Deployments", NameTokens.DeploymentListPresenter));
        DisclosurePanel serverPanel  = new DisclosureStackPanel("Runtime Status").asWidget();
        serverPanel.setContent(serverTree);

        stack.add(serverPanel);

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

        Tree commonTree = new LHSNavTree("profiles");
        DisclosurePanel commonPanel  = new DisclosureStackPanel("General Configuration").asWidget();
        commonPanel.setContent(commonTree);

        LHSNavTreeItem[] commonItems = new LHSNavTreeItem[] {
                /*new LHSNavTreeItem("Server", NameTokens.StandaloneServerPresenter),*/
                new LHSNavTreeItem("Interfaces", NameTokens.InterfacePresenter),
                new LHSNavTreeItem("Socket Binding Groups", NameTokens.SocketBindingPresenter),
                new LHSNavTreeItem("System Properties", NameTokens.PropertiesPresenter)
        };

        for(LHSNavTreeItem item : commonItems)
        {
            commonTree.addItem(item);
        }

        stack.add(commonPanel);

        layout.add(stack);
View Full Code Here

TOP

Related Classes of org.jboss.ballroom.client.layout.LHSNavTree$StateChange

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.