Examples of TagsChangedCallback


Examples of org.rhq.coregui.client.components.tagging.TagsChangedCallback

        badge = new Img(ImageManager.getGroupLargeIcon(GroupCategory.MIXED), 24, 24);
        badge.setLayoutAlign(VerticalAlignment.CENTER);


        TagEditorView tagEditorView = new TagEditorView(group.getTags(), false, new TagsChangedCallback() {
            public void tagsChanged(final HashSet<Tag> tags) {
                GWTServiceLookup.getTagService().updateResourceGroupTags(group.getId(), tags,
                    new AsyncCallback<Void>() {
                        public void onFailure(Throwable caught) {
                            CoreGUI.getErrorHandler().handleError(
View Full Code Here

Examples of org.rhq.coregui.client.components.tagging.TagsChangedCallback

        badge = new Img(ImageManager.getResourceTypeIcon(ResourceCategory.SERVICE), 24,24);
        badge.setLayoutAlign(VerticalAlignment.CENTER);

        TagEditorView tagEditorView = new TagEditorView(resource.getTags(), !resourceComposite.getResourcePermission()
            .isInventory(), new TagsChangedCallback() {
            public void tagsChanged(final HashSet<Tag> tags) {
                GWTServiceLookup.getTagService().updateResourceTags(resource.getId(), tags, new AsyncCallback<Void>() {
                    public void onFailure(Throwable caught) {
                        CoreGUI.getErrorHandler().handleError(MSG.view_resource_title_tagUpdateFailed(), caught);
                    }
View Full Code Here

Examples of org.rhq.coregui.client.components.tagging.TagsChangedCallback

        });
    }

    private TagEditorView createTagEditor() {
        boolean readOnly = !this.canTag;
        TagEditorView tagEditor = new TagEditorView(version.getTags(), readOnly, new TagsChangedCallback() {
            @Override
            public void tagsChanged(HashSet<Tag> tags) {
                GWTServiceLookup.getTagService().updateBundleVersionTags(version.getId(), tags,
                    new AsyncCallback<Void>() {
                        @Override
View Full Code Here

Examples of org.rhq.coregui.client.components.tagging.TagsChangedCallback

        return form;
    }

    private TagEditorView createTagEditor() {
        boolean readOnly = !this.canTag;
        TagEditorView tagEditor = new TagEditorView(destination.getTags(), readOnly, new TagsChangedCallback() {
            @Override
            public void tagsChanged(HashSet<Tag> tags) {
                GWTServiceLookup.getTagService().updateBundleDestinationTags(destination.getId(), tags,
                    new AsyncCallback<Void>() {
                        @Override
View Full Code Here

Examples of org.rhq.coregui.client.components.tagging.TagsChangedCallback

        markForRedraw();
    }

    private TagEditorView createTagEditor() {
        boolean readOnly = !canTag;
        TagEditorView tagEditor = new TagEditorView(bundle.getTags(), readOnly, new TagsChangedCallback() {
            @Override
            public void tagsChanged(HashSet<Tag> tags) {
                GWTServiceLookup.getTagService().updateBundleTags(bundleBeingViewed, tags, new AsyncCallback<Void>() {
                    @Override
                    public void onFailure(Throwable caught) {
View Full Code Here

Examples of org.rhq.coregui.client.components.tagging.TagsChangedCallback

        });
    }

    private TagEditorView createTagEditor() {
        boolean readOnly = !this.canTag;
        TagEditorView tagEditor = new TagEditorView(version.getTags(), readOnly, new TagsChangedCallback() {
            @Override
            public void tagsChanged(HashSet<Tag> tags) {
                GWTServiceLookup.getTagService().updateBundleDeploymentTags(deployment.getId(), tags,
                    new AsyncCallback<Void>() {
                        @Override
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.