Package org.zanata.webtrans.shared.rpc

Examples of org.zanata.webtrans.shared.rpc.WorkspaceContextUpdate


        ProjectIterationId iterId =
                new ProjectIterationId(projectSlug, iterSlug,
                        projectIteration.getProjectType());
        for (TranslationWorkspace workspace : projIterWorkspaceMap.get(iterId)) {
            WorkspaceContextUpdate event =
                    new WorkspaceContextUpdate(isProjectActive, projectType,
                            validationStates);
            workspace.publish(event);
        }
    }
View Full Code Here


        verifyZeroInteractions(eventBus);
    }

    @Test
    public void callApplyWithSessionEvent() {
        WorkspaceContextUpdate sessionEventData =
                new WorkspaceContextUpdate(true, ProjectType.Gettext, null);
        ArgumentCaptor<WorkspaceContextUpdateEvent> eventCaptor =
                ArgumentCaptor.forClass(WorkspaceContextUpdateEvent.class);

        eventProcessor.apply(sessionEventData);
View Full Code Here

TOP

Related Classes of org.zanata.webtrans.shared.rpc.WorkspaceContextUpdate

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.