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

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


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

        selectionSets.remove(selectionSet);
        eventBus.fireEvent(new ResourceSetRemovedEvent(selectionSet));
    }
View Full Code Here


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

        selectionSets.remove(selectionSet);
        eventBus.fireEvent(new ResourceSetRemovedEvent(selectionSet));
    }
View Full Code Here

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

        captureResourceSetRemovedHandler().onResourceSetRemoved(
                new ResourceSetRemovedEvent(selection));

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

TOP

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

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.