Author: scooter
Date: 2011-06-13 10:11:20 -0700 (Mon, 13 Jun 2011)
New Revision: 25724
Modified:
cytoscape/trunk/application/src/main/java/cytoscape/dialogs/logger/LoggerDialog.java
Log:
Remove property change listening since we no longer use it.
Modified:
cytoscape/trunk/application/src/main/java/cytoscape/dialogs/logger/LoggerDialog.java
===================================================================
---
cytoscape/trunk/application/src/main/java/cytoscape/dialogs/logger/LoggerDialog.java
2011-06-13 17:01:57 UTC (rev 25723)
+++
cytoscape/trunk/application/src/main/java/cytoscape/dialogs/logger/LoggerDialog.java
2011-06-13 17:11:20 UTC (rev 25724)
@@ -3,8 +3,6 @@
import cytoscape.Cytoscape;
import cytoscape.logger.CyLogHandler;
import cytoscape.logger.LogLevel;
-import java.beans.PropertyChangeListener;
-import java.beans.PropertyChangeEvent;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
@@ -14,7 +12,7 @@
import javax.swing.*;
/** Singleton dialog */
-public class LoggerDialog extends javax.swing.JDialog implements
CyLogHandler,PropertyChangeListener {
+public class LoggerDialog extends javax.swing.JDialog implements CyLogHandler {
private static LoggerDialog dialog;
private Map<LogLevel, List<String>> messageMap;
private Map<LogLevel, JScrollPane> logTabMap;
@@ -29,8 +27,6 @@
protected LoggerDialog(JFrame owner) {
super(owner, false);
init();
-
- Cytoscape.getPropertyChangeSupport().addPropertyChangeListener(this);
}
public static LoggerDialog getLoggerDialog() {
@@ -243,25 +239,6 @@
super.setVisible(vis);
}
-
- /**
- * Property change listener - to clear the console panel after load of
new Session.
- *
- * @param event PropertyChangeEvent
- */
- public void propertyChange(PropertyChangeEvent event) {
-
- if
(event.getPropertyName().equalsIgnoreCase(Cytoscape.SESSION_LOADED)){
- // perform the same action as clearButton
- try {
- // this.clearButtonActionPerformed(null);
- }
- catch (Exception e){
- }
- }
- }
-
-
/* -------------------------------------- */
public static void main(String[] args) {
LoggerDialog dialog = LoggerDialog.getLoggerDialog();
--
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.