metricsprovider
Class ListenerObserver

java.lang.Object
  extended by metricsprovider.ListenerObserver
All Implemented Interfaces:
java.util.Observer

public class ListenerObserver
extends java.lang.Object
implements java.util.Observer

This class is an static observer stub designed to listen to the EditorListener plugin. It provides update information to the appropriate MetricGenerator subclass.

Version:
9/8/2009
Author:
Matthew Harward

Method Summary
static ListenerObserver getInstance()
           
 void update(java.util.Observable arg0, java.lang.Object arg1)
          This method gets called when EditorListener updates, in turn, it calls an update for the appropriate MetricsGenerator.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ListenerObserver getInstance()
Returns:
A singleton instance of this class.

update

public void update(java.util.Observable arg0,
                   java.lang.Object arg1)
This method gets called when EditorListener updates, in turn, it calls an update for the appropriate MetricsGenerator.

Specified by:
update in interface java.util.Observer