Package org.rhq.coregui.client.components.buttons

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


    }

    private void buildTitle(DriftDefinition driftDef) {

        setTitleString(driftDef.getName());
        setTitleBackButton(new BackButton(MSG.view_tableSection_backButton(),
            LinkManager.getDriftDefinitionsLink(this.context.getResourceId())));
    }
View Full Code Here


        setMargin(5);
        setMembersMargin(5);
        String backPath = LinkManager.getGroupResourceConfigurationUpdateHistoryLink(
            EntityContext.forGroup(this.group), null);
        BackButton backButton = new BackButton(MSG.view_tableSection_backButton(), backPath);
        addMember(backButton);

        MembersTable table = new MembersTable();
        addMember(table);
    }
View Full Code Here

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

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

        MembersTable table = new MembersTable();
        addMember(table);
    }
View Full Code Here

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

        this.version = version;

        addMember(new BackButton(MSG.view_bundle_version_backToBundle() + ": " + version.getBundle().getName(),
            LinkManager.getBundleLink(version.getBundle().getId())));

        addMember(new HeaderLabel(Canvas.getImgURL("subsystems/bundle/BundleVersion_24.png"), version.getName() + ": "
            + version.getVersion()));
View Full Code Here

        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

        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

        // 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

        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

    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

TOP

Related Classes of org.rhq.coregui.client.components.buttons.BackButton

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.