Package org.rhq.coregui.client.bundle.version

Examples of org.rhq.coregui.client.bundle.version.BundleVersionView


            this.destroyMembers();

            if (viewPath.getCurrent().getPath().equals("versions")) {
                if (!viewPath.isEnd()) {
                    // a specific version
                    BundleVersionView view = new BundleVersionView(canDelete, canDeploy, canTag);
                    addMember(view);
                    view.renderView(viewPath.next());
                }
            } else if (viewPath.getCurrent().getPath().equals("deployments")) {
                // today we do not have an uber-view showing all deployments for a bundle.
                // if we did, it would show all deployments to all destinations for all bundle versions.
                // because that would be a very large list with a lot of stuff to show, it was deemed
                // too complex to be useful for users. thus, we have no uber-deployments view. If we did,
                // we would render it here.
                if (!viewPath.isEnd()) {
                    // a specific deployment
                    //removeMembers(getMembers());
                    BundleDeploymentView view = new BundleDeploymentView(canDelete, canDeploy, canTag);
                    addMember(view);
                    view.renderView(viewPath.next());
                }
            } else if (viewPath.getCurrent().getPath().equals("destinations")) {
                if (!viewPath.isEnd()) {
                    // a specific destination
                    BundleDestinationView view = new BundleDestinationView(canDelete, canDeploy, canTag);
                    addMember(view);
                    view.renderView(viewPath.next());
                }
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.rhq.coregui.client.bundle.version.BundleVersionView

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.