Package org.zanata.webtrans.client.events

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


                    // in case there is pending save (as fuzzy) happening, we do
                    // not want to trigger another pending save
                    eventBus.fireEvent(new TableRowSelectedEvent(selectedId)
                            .setSuppressSavePending(true));
                }
                eventBus.fireEvent(new PageChangeEvent(result
                        .getTargetPageIndex()));
                highlightSearch();

                // run validation on TransUnit and display error message
                eventBus.fireEvent(new RequestPageValidationEvent());
View Full Code Here


        verify(eventBus).addHandler(PageChangeEvent.TYPE, presenter);
    }

    @Test
    public void testOnPageChange() throws Exception {
        PageChangeEvent event = new PageChangeEvent(2);
        presenter.onPageChange(event);

        verify(pageNavigation).setValue(event.getPageNumber());
    }
View Full Code Here

TOP

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

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.