Package org.thechiselgroup.choosel.core.client.resources

Examples of org.thechiselgroup.choosel.core.client.resources.ResourceSetAddedEvent


    public void addSelectionSet(ResourceSet selectionSet) {
        assert selectionSet != null;
        assert !selectionSets.contains(selectionSet);

        selectionSets.add(selectionSet);
        eventBus.fireEvent(new ResourceSetAddedEvent(selectionSet));
    }
View Full Code Here


    public void addSelectionSet(ResourceSet selectionSet) {
        assert selectionSet != null;
        assert !selectionSets.contains(selectionSet);

        selectionSets.add(selectionSet);
        eventBus.fireEvent(new ResourceSetAddedEvent(selectionSet));
    }
View Full Code Here

    @Test
    public void addResourceSetToSelectionPresenterWhenAddedToModel() {
        ResourceSet selection = ResourceSetTestUtils.createResources(1);

        captureResourceSetAddedHandler().onResourceSetAdded(
                new ResourceSetAddedEvent(selection));

        verify(selectionPresenter, times(1)).addResourceSet(selection);
    }
View Full Code Here

TOP

Related Classes of org.thechiselgroup.choosel.core.client.resources.ResourceSetAddedEvent

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.