public interface CyEdgeViewContextMenuFactory
Module: swing-application-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>swing-application-api</artifactId> </dependency>
Modifier and Type | Method and Description |
---|---|
CyMenuItem |
createMenuItem(CyNetworkView netView,
View<CyEdge> edgeView)
This method should return a CyMenuItem to be added to the context
menu of the specified edge view.
|
CyMenuItem createMenuItem(CyNetworkView netView, View<CyEdge> edgeView)
netView
- The CyNetworkView containing the edge view in question.edgeView
- The View<CyEdge> whose menu will be updated with the
returned CyMenuItem.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.