Package org.cytoscape.application.swing
Interface CyNetworkViewContextMenuFactory
-
public interface CyNetworkViewContextMenuFactory
A factory interface used to produce a CyMenuItem (JMenuItem) that will be added to the context menu for the specified network view.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>
Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified for major version updates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CyMenuItem
createMenuItem(CyNetworkView netView)
This method should return a CyMenuItem to be added to the context menu of the specified network view.
-
-
-
Method Detail
-
createMenuItem
CyMenuItem createMenuItem(CyNetworkView netView)
This method should return a CyMenuItem to be added to the context menu of the specified network view.- Parameters:
netView
- The CyNetworkView whose menu will be updated with the returned CyMenuItem.- Returns:
- The CyMenuItem to be added to the network view's context menu.
-
-