Package org.eurekastreams.web.client.events.errors

Examples of org.eurekastreams.web.client.events.errors.ErrorPostingMessageToNullScopeEvent


            public void onClick(final ClickEvent event)
            {
                StreamScope scope = postToPanel.getPostScope();
                if (scope == null)
                {
                    ErrorPostingMessageToNullScopeEvent error = new ErrorPostingMessageToNullScopeEvent();
                    error.setErrorMsg("The stream name you entered could not be found");
                    Session.getInstance().getEventBus().notifyObservers(error);
                    return;
                }

                EntityType recipientType = DomainConversionUtility.convertToEntityType(scope.getScopeType());
View Full Code Here


                    showPostButton();
                }
            }
        });

        eventBus.addObserver(new ErrorPostingMessageToNullScopeEvent(),
                new Observer<ErrorPostingMessageToNullScopeEvent>()
                {
                    public void update(final ErrorPostingMessageToNullScopeEvent event)
                    {
                        errorMsg.setText(event.getErrorMsg());
View Full Code Here

    public void postMessage()
    {
        StreamScope scope = postToPanel.getPostScope();
        if (scope == null)
        {
            ErrorPostingMessageToNullScopeEvent error = new ErrorPostingMessageToNullScopeEvent();
            error.setErrorMsg("The stream name you entered could not be found");
            Session.getInstance().getEventBus().notifyObservers(error);
            return;
        }

        EntityType recipientType = DomainConversionUtility.convertToEntityType(scope.getScopeType());
View Full Code Here

TOP

Related Classes of org.eurekastreams.web.client.events.errors.ErrorPostingMessageToNullScopeEvent

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.