public final class RenderingEngineAboutToBeRemovedEvent extends AbstractCyEvent<RenderingEngineManager>
When presentation (rendered graphics) is destroyed, this event should be fired.
Cytoscape Backwards Compatibility (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>presentation-api</artifactId> </dependency>
(RenderingEngineManager source, RenderingEngine<?> engine)
source- source of event. In theory, this can be anything, but in most cases, it will be an GUI components.
engine- RenderingEngine associated with the deleted presentation.