Author: kono
Date: 2012-03-02 12:51:40 -0800 (Fri, 02 Mar 2012)
New Revision: 28418
Modified:
core3/impl/trunk/filter-impl/src/main/java/org/cytoscape/filter/internal/quickfind/app/QuickFindApp.java
Log:
Some minor code cleanup had been done.
Modified:
core3/impl/trunk/filter-impl/src/main/java/org/cytoscape/filter/internal/quickfind/app/QuickFindApp.java
===================================================================
---
core3/impl/trunk/filter-impl/src/main/java/org/cytoscape/filter/internal/quickfind/app/QuickFindApp.java
2012-03-02 20:19:35 UTC (rev 28417)
+++
core3/impl/trunk/filter-impl/src/main/java/org/cytoscape/filter/internal/quickfind/app/QuickFindApp.java
2012-03-02 20:51:40 UTC (rev 28418)
@@ -111,27 +111,7 @@
quickFind.addQuickFindListener(this);
}
- /**
- * Initializes index, if network already exists.
- * This condition may occur if a user loads up a network from the
command
- * line, and the network is already loaded prior to any apps being
loaded
- */
- private void initIndex() {
- // If a network already exists within Cytoscape, index it
- final CyNetwork cyNetwork =
applicationManager.getCurrentNetwork();
- if ((cyNetwork != null) && (cyNetwork.getNodeCount() > 0)) {
- // Run Indexer in separate background daemon thread.
- Thread thread = new Thread() {
- public void run() {
- quickFind.addNetwork(cyNetwork, new
TaskMonitorBase());
- }
- };
-
- thread.start();
- }
- }
-
@Override
public void handleEvent(NetworkViewAboutToBeDestroyedEvent e) {
final CyNetworkView networkView = e.getNetworkView();
@@ -144,6 +124,7 @@
*
* @param network CyNetwork Object.
*/
+ @Override
public void networkAddedToIndex(CyNetwork network) {
// No-op
}
@@ -153,6 +134,7 @@
*
* @param network CyNetwork Object.
*/
+ @Override
public void networkRemovedfromIndex(CyNetwork network) {
// No-op
}
@@ -163,6 +145,8 @@
// No-op
}
+
+ @Override
public void indexingEnded() {
// No-op
}
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.