Examples of BackButton


Examples of org.rhq.coregui.client.components.buttons.BackButton

        boolean isEditable = (detailsView instanceof DetailsView && ((DetailsView) detailsView).isEditable());
        if (!isEditable) {
            // Only add the "Back to List" button if the details are definitely not editable, because if they are
            // editable, a Cancel button should already be provided by the details view.
            BackButton backButton = new BackButton(MSG.view_tableSection_backButton(), basePath);
            HLayout hlayout = new EnhancedHLayout();
            hlayout.addMember(backButton);
            if (header != null) {
                header.setWidth100();
                header.setAlign(com.smartgwt.client.types.Alignment.CENTER);
View Full Code Here

Examples of org.rhq.coregui.client.components.buttons.BackButton

        this.destroyMembers();

        this.destination = bundleDestination;
        this.bundle = bundleDestination.getBundle();

        BackButton backButton = new BackButton(MSG.view_bundle_dest_backToBundle() + ": "
            + StringUtility.escapeHtml(bundle.getName()), "Bundles/Bundle/" + bundle.getId());

        HeaderLabel header = new HeaderLabel(Canvas.getImgURL(IconEnum.BUNDLE_DESTINATION.getIcon24x24Path()),
            StringUtility.escapeHtml(destination.getName()));
View Full Code Here

Examples of org.rhq.coregui.client.components.buttons.BackButton

        // Whenever a new view request comes in, make sure to clean house to avoid ID conflicts for sub-widgets
        this.destroyMembers();

        this.bundle = bundle;

        BackButton backButton = new BackButton(MSG.view_bundle_list_backToAll(), BundleTopView.VIEW_ID.getName());
        HeaderLabel headerLabel = new HeaderLabel(IconEnum.BUNDLE.getIcon24x24Path(), StringUtility.escapeHtml(bundle
            .getName()));
        tabs = new TabSet();
        versionsTab = createVersionsTab();
        destinationsTab = createDestinationsTab();
View Full Code Here

Examples of org.rhq.coregui.client.components.buttons.BackButton

        setMargin(5);
        setMembersMargin(5);
        String backPath = LinkManager.getGroupPluginConfigurationUpdateHistoryLink(EntityContext.forGroup(this.group),
            null);
        BackButton backButton = new BackButton(MSG.view_tableSection_backButton(), backPath);
        addMember(backButton);
    }
View Full Code Here

Examples of org.rhq.coregui.client.components.buttons.BackButton

    protected void prepareSubCanvas(Layout parentCanvas, Canvas canvasToShow, boolean showBackButton) {
        EnhancedUtility.destroyMembers(parentCanvas);

        if (showBackButton) {
            String backLink = getEditLink(null).substring(1); // strip the #
            BackButton backButton = new BackButton(MSG.view_tableSection_backButton(), backLink);
            parentCanvas.addMember(backButton);
        }

        parentCanvas.addMember(canvasToShow);
        parentCanvas.markForRedraw();
View Full Code Here

Examples of org.rhq.coregui.client.components.buttons.BackButton

        boolean isEditable = (detailsView instanceof DetailsView && ((DetailsView) detailsView).isEditable());
        if (!isEditable) {
            // Only add the "Back to List" button if the details are definitely not editable, because if they are
            // editable, a Cancel button should already be provided by the details view.
            BackButton backButton = new BackButton(MSG.view_tableSection_backButton(), basePath);
            detailsHolder.addMember(backButton);
            VLayout verticalSpacer = new EnhancedVLayout();
            verticalSpacer.setHeight(8);
            detailsHolder.addMember(verticalSpacer);
        }
View Full Code Here

Examples of org.rhq.coregui.client.components.buttons.BackButton

        this.deployment = bundleDeployment;
        this.version = bundleDeployment.getBundleVersion();
        this.bundle = bundleDeployment.getBundleVersion().getBundle();

        addMember(new BackButton(MSG.view_bundle_deploy_backButton() + ": " + deployment.getDestination().getName(),
            LinkManager.getBundleDestinationLink(version.getBundle().getId(), deployment.getDestination().getId())));
        addMember(new HeaderLabel(Canvas.getImgURL("subsystems/bundle/BundleDeployment_24.png"), deployment.getName()));

        //conditionally add tags. Defaults to true, not available in JON builds.
        if (isTagsEnabledForUI()) {
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.