Interface Togglable


public interface Togglable
This interface is meant to be implemented by task factories that provides tasks which switches something on and off. Useful when you want your task factory to be displayed as a toggle button or a check box menu item, for instance. Notice that this is just a marker interface, which means you still have to implement the isOn() method in your Task Factory implementation (e.g. TaskFactory.isOn()).
Since:
3.9

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.

Module: work-api

To use this in your app, include the following dependency in your POM:

<dependency>
    <groupId>org.cytoscape</groupId>
    <artifactId>work-api</artifactId>
</dependency>