net.refractions.udig.project.render.displayAdapter
Interface IMapDisplayListener


public interface IMapDisplayListener

An interface for objects to listen to the MapEditor

All events are executed in a back ground thread so updating the UI must be done using the org.eclipse.swt.widgets.Display#asyncExec(java.lang.Runnable)method or the org.eclipse.swt.widgets.Display#syncExec(java.lang.Runnable)method

Since:
0.2
Author:
jeichar

Method Summary
 void sizeChanged(MapDisplayEvent event)
          Called with the size of the MapEditor has changed.
 

Method Detail

sizeChanged

void sizeChanged(MapDisplayEvent event)
Called with the size of the MapEditor has changed.

All events are executed in a back ground thread so updating the UI must be done using the org.eclipse.swt.widgets.Display#asyncExec(java.lang.Runnable)method or the org.eclipse.swt.widgets.Display#syncExec(java.lang.Runnable)method

Parameters:
event - An event with a reference to the MapEditor and the new size.