@Deprecated public abstract class AbstractCySwingApp extends AbstractCyApp
Module: swing-app-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>swing-app-api</artifactId> </dependency>
Modifier and Type | Field and Description |
---|---|
protected CySwingAppAdapter |
swingAdapter
Deprecated.
Reference to access Cytoscape functionality -- various managers and
factories that are normally available as OSGi services.
|
adapter
Constructor and Description |
---|
AbstractCySwingApp(CySwingAppAdapter swingAdapter)
Deprecated.
The constructor that all apps must call using "super(adapter);" where
the "adapter" is a
CySwingAppAdapter reference provided as an
argument to the constructor. |
protected final CySwingAppAdapter swingAdapter
public AbstractCySwingApp(CySwingAppAdapter swingAdapter)
CySwingAppAdapter
reference provided as an
argument to the constructor. Cytoscape's app loader will execute
the constructor and provide the proper CySwingAppAdapter reference.
public class MySwingApp extends AbstractCySwingApp { public MySwingApp(CySwingAppAdapter adapter) { super(adapter); // app code here } }
adapter
- a CySwingAppAdapter
reference provided as an
argument to the constructor.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.