Package org.zanata.webtrans.client.events

Examples of org.zanata.webtrans.client.events.RequestSelectTableRowEvent


            saveCurrentIfValid(ContentState.Translated);
        }
    }

    public void gotoRow(DocumentInfo documentInfo, TransUnitId transUnitId) {
        eventBus.fireEvent(new RequestSelectTableRowEvent(documentInfo,
                transUnitId));
    }
View Full Code Here


            final TransUnitId transUnitId) {
        setText(linkText);
        addClickHandler(new ClickHandler() {
            @Override
            public void onClick(ClickEvent event) {
                eventBus.fireEvent(new RequestSelectTableRowEvent(docInfo,
                        transUnitId));
            }
        });
    }
View Full Code Here

        HistoryToken mockHistoryToken = mock(HistoryToken.class);
        when(history.getHistoryToken()).thenReturn(mockHistoryToken);

        // When:
        service.onRequestSelectTableRow(new RequestSelectTableRowEvent(docInfo,
                selectingId));

        // Then:
        verify(mockHistoryToken).setView(MainView.Editor);
        verify(mockHistoryToken).setDocumentPath(
View Full Code Here

TOP

Related Classes of org.zanata.webtrans.client.events.RequestSelectTableRowEvent

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.