Package org.zanata.webtrans.client.events

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


        return isFocused;
    }

    @Override
    public void fireCopyEvent(GlossaryResultItem item) {
        eventBus.fireEvent(new InsertStringInEditorEvent(item.getSource(), item
                .getTarget()));
    }
View Full Code Here


        presenter.setStatesForTesting(selectedTU.getId(), 0, display);

        // When:
        presenter
                .onInsertString(new InsertStringInEditorEvent("", "suggestion"));

        // Then:
        verify(editor).insertTextInCursorPosition("suggestion");

        verify(eventBus, atLeastOnce()).fireEvent(eventCaptor.capture());
View Full Code Here

TOP

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

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.