org.eclipse.emf.cdo.view
Class CDODirtyStateAdapter

java.lang.Object
  extended by org.eclipse.emf.cdo.view.CDODirtyStateAdapter
All Implemented Interfaces:
EventListener, IListener

public abstract class CDODirtyStateAdapter
extends Object
implements IListener

A listener that calls the onDirtyStateChanged(boolean) method when the dirty state of the view this listener is registered with has changed.

Since:
4.2

Constructor Summary
CDODirtyStateAdapter()
           
 
Method Summary
 void notifyEvent(IEvent event)
           
protected  void notifyOtherEvent(IEvent event)
           
protected abstract  void onDirtyStateChanged(boolean dirty)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDODirtyStateAdapter

public CDODirtyStateAdapter()
Method Detail

notifyEvent

public void notifyEvent(IEvent event)
Specified by:
notifyEvent in interface IListener

notifyOtherEvent

protected void notifyOtherEvent(IEvent event)

onDirtyStateChanged

protected abstract void onDirtyStateChanged(boolean dirty)


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.