org.geworkbench.events
Class DirtyDataEvent

java.lang.Object
  extended by org.geworkbench.engine.config.events.Event
      extended by org.geworkbench.events.DirtyDataEvent

public class DirtyDataEvent
extends Event

Before we want to change data that is used by other threads, we can throw this event. As an example, we throw this event in the ProjectPanel when loading a workspace to effectively block others from accessing the data. In this example, this is received by the ColorMosaicPanel.

This event is used in combination with the CleanDataEvent. In the example above, the CleanDataEvent is published from the ProjectPanel to alert recipients that the data in question is no longer dirty.

Version:
$Id: DirtyDataEvent.java,v 1.2 2008-10-28 16:55:18 keshav Exp $
Author:
yc2480

Field Summary
 
Fields inherited from class org.geworkbench.engine.config.events.Event
source
 
Constructor Summary
DirtyDataEvent()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirtyDataEvent

public DirtyDataEvent()