Package org.eurekastreams.web.client.model.requests

Examples of org.eurekastreams.web.client.model.requests.AddGadgetToStartPageRequest


                            + WidgetJSNIFacadeImpl.makeJsonString(STREAM_URL_TRANSFORMER.getUrl(null, streamRequest))
                            + ",\"gadgetTitle\":" + WidgetJSNIFacadeImpl.makeJsonString(inStreamName)
                            + ",\"streamLocation\":" + WidgetJSNIFacadeImpl.makeJsonString(url) + "}";

                    GadgetModel.getInstance().insert(
                            new AddGadgetToStartPageRequest("{d7a58391-5375-4c76-b5fc-a431c42a7555}", null,
                                    STREAM_URL_TRANSFORMER.getUrl(null, prefs)));
                }

                if (bookmarkStream.getValue())
                {
View Full Code Here


                                            event.getParameters().put("prefs", "");
                                            EventBus.getInstance().notifyObservers(
                                                    new UpdatedHistoryParametersEvent(event.getParameters(), false));

                                            GadgetModel.getInstance().insert(
                                                    new AddGadgetToStartPageRequest(url, tabsResponse.get(0).getId(),
                                                            prefs));
                                        }
                                        else if (event.getParameters().get("action").equals("setTheme"))
                                        {
                                            // Clear current action
View Full Code Here

            {
                public void onClick(final ClickEvent event)
                {
                    GadgetModel.getInstance()
                            .insert(
                                    new AddGadgetToStartPageRequest("{" + metaData.getGadgetDefinition().getUUID()
                                            + "}", tabId));
                }
            });

            Session.getInstance().getEventBus().addObserver(GadgetAddedToStartPageEvent.class,
View Full Code Here

                        + makeJsonString(STREAM_URL_TRANSFORMER.getUrl(null, request.toString()))
                        + ",\"gadgetTitle\":" + makeJsonString(currentDisplayName) + ",\"streamLocation\":"
                        + makeJsonString(url) + "}";

                GadgetModel.getInstance().insert(
                        new AddGadgetToStartPageRequest("{d7a58391-5375-4c76-b5fc-a431c42a7555}", null, prefs));
                EventBus.getInstance()
                        .notifyObservers(
                                new ShowNotificationEvent(new Notification(
                                        "This stream will now show up on your start page.")));
            }
View Full Code Here

TOP

Related Classes of org.eurekastreams.web.client.model.requests.AddGadgetToStartPageRequest

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.