Examples of LHSNavItem


Examples of org.jboss.as.console.client.widgets.LHSNavItem

        serverGroupTree = new LHSNavigationTree();
        root = new TreeItem("Available Groups:");
        serverGroupTree.addItem(root);

        LHSNavItem createNew = new LHSNavItem(
                "Add Server Group",
                "domain/" + NameTokens.ServerGroupPresenter + ";action=new",
                Icons.INSTANCE.add_small());

        layout.add(createNew);
View Full Code Here

Examples of org.jboss.as.console.client.widgets.LHSNavItem

        serverGroupTree = new Tree(DefaultTreeResources.INSTANCE);
        root = new TreeItem("Available Groups:");
        serverGroupTree.addItem(root);

        LHSNavItem createNew = new LHSNavItem(
                "Add Server Group",
                "domain/" + NameTokens.ServerGroupPresenter + ";action=new",
                Icons.INSTANCE.add_small());

        layout.add(createNew);
View Full Code Here

Examples of org.jboss.as.console.client.widgets.LHSNavItem

    public DeploymentSection() {

        layout = new LayoutPanel();
        layout.setStyleName("stack-section");

        LHSNavItem current = new LHSNavItem(
                "Available Deployments",
                NameTokens.DeploymentsPresenter,
                Icons.INSTANCE.inventory_small()
        );

        LHSNavItem createNew = new LHSNavItem(
                "Add Deployment",
                "current-deployments;action=new",
                Icons.INSTANCE.add_small()
        );

        LHSNavItem plans= new LHSNavItem("Deployment Plans", "deployment-plans");

        addNavItems(current, createNew, plans);
    }
View Full Code Here

Examples of org.jboss.as.console.client.widgets.LHSNavItem

        subsysTree = new Tree(DefaultTreeResources.INSTANCE);
        root = new TreeItem("Subsystems in Profile:");
        subsysTree.addItem(root);

        LHSNavItem manage = new LHSNavItem(
                "In-/Exclude Subsystems", "domain/manage-subsystems"
        );

        //layout.add(manage);
View Full Code Here

Examples of org.jboss.as.console.client.widgets.LHSNavItem

        LayoutPanel dplLayout = new LayoutPanel();
        dplLayout.setStyleName("stack-section");

        LHSNavItem[] dplItems = new LHSNavItem[] {
                new LHSNavItem("Web Applications", "server-deployments;type=web"),
                new LHSNavItem("Enterprise Applications", "server-deployments;type=ee"),
                new LHSNavItem("Resource Adapters", "server-deployments;type=jca"),
                new LHSNavItem("Other", "server-deployments;type=other")
        };

        int i =0;
        for(LHSNavItem item : dplItems)
        {
            dplLayout.add(item);
            dplLayout.setWidgetTopHeight(item, i, Style.Unit.PX, 25, Style.Unit.PX);
            i+=25;
        }

        //stack.add(dplLayout, new StackSectionHeader("Deployments"), 28);

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

        LayoutPanel commonLayout = new LayoutPanel();
         commonLayout.setStyleName("stack-section");

        LHSNavItem[] commonItems = new LHSNavItem[] {
                new LHSNavItem("Paths", "server/server-paths"),
                new LHSNavItem("Interfaces", "server/server-interfaces"),
                new LHSNavItem("Socket Binding Groups", "server/server-sockets"),
                new LHSNavItem("System Properties", "server/server-properties")
        };

        i =0;
        for(LHSNavItem item : commonItems)
        {
View Full Code Here

Examples of org.jboss.as.console.client.widgets.LHSNavItem

    public InstancesSection() {

        layout = new LayoutPanel();
        layout.setStyleName("stack-section");

        LHSNavItem overview = new LHSNavItem(
                "Server Status",
                Icons.INSTANCE.inventory_small(),
                new ClickHandler() {
                    @Override
                    public void onClick(ClickEvent event) {
                        Console.MODULES.getPlaceManager().revealPlaceHierarchy(
                                Places.fromString(buildToken())
                        );
                    }
                }
        );

        LHSNavItem startNew = new LHSNavItem(
                "Launch Instance",
                Icons.INSTANCE.add_small(),
                new ClickHandler() {
                    @Override
                    public void onClick(ClickEvent event) {
View Full Code Here

Examples of org.jboss.as.console.client.widgets.LHSNavItem

    public ServersSection() {

        layout = new LayoutPanel();
        layout.setStyleName("stack-section");

        LHSNavItem createNew = new LHSNavItem(
                "Create Server",
                "hosts/" + NameTokens.ServerPresenter + ";action=new",
                Icons.INSTANCE.add_small()
        );
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.