@Test public void testEvents() { AddedEdgeViewsEvent ev1 = new AddedEdgeViewsEvent(networkView, views); for ( View<CyEdge> ev : ev1.getEdgeViews()) assertTrue(views.contains(ev)); assertEquals(ev1.getSource(),networkView); }
public Collection<View<CyEdge>> getEdgeViews() { return getPayloadCollection(); }
AddedEdgeViewsEvent extends AbstractCyPayloadEvent<CyNetworkView,View<CyEdge>> { public Collection<View<CyEdge>> getEdgeViews() { return getPayloadCollection(); } }
AddedEdgeViewsEvent extends AbstractCyPayloadEvent<CyNetworkView,View<CyEdge>> { public Collection<View<CyEdge>> getEdgeViews() { return getPayloadCollection(); } AddedEdgeViewsEvent(final CyNetworkView source, final Collection<View<CyEdge>> edgeViews); }
AddedEdgeViewsEvent extends AbstractCyPayloadEvent<CyNetworkView,View<CyEdge>> { public Collection<View<CyEdge>> getEdgeViews() { return getPayloadCollection(); } AddedEdgeViewsEvent(final CyNetworkView source, final Collection<View<CyEdge>> edgeViews); Collection<View<CyEdge>> getEdgeViews(); }
AddedEdgeViewsEvent extends AbstractCyPayloadEvent<CyNetworkView,View<CyEdge>> { public Collection<View<CyEdge>> getEdgeViews() { return getPayloadCollection(); } AddedEdgeViewsEvent(final CyNetworkView source, final Collection<View<CyEdge>> edgeViews); Collection<View<CyEdge>> getEdgeViews();  }