Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.style.service
Class StyleServiceAdapter

java.lang.Object
  extended by eu.esdihumboldt.hale.ui.style.service.StyleServiceAdapter
All Implemented Interfaces:
StyleServiceListener

public class StyleServiceAdapter
extends Object
implements StyleServiceListener

Style service listener adapter

Author:
Simon Templer

Constructor Summary
StyleServiceAdapter()
           
 
Method Summary
 void backgroundChanged(StyleService styleService, org.eclipse.swt.graphics.RGB background)
          Called when the background has changed
 void stylesAdded(StyleService styleService)
          Called when styles have been added to the service
 void styleSettingsChanged(StyleService styleService)
          Called when the settings have been changed (e.g.
 void stylesRemoved(StyleService styleService)
          Called when styles have been removed from the service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleServiceAdapter

public StyleServiceAdapter()
Method Detail

stylesAdded

public void stylesAdded(StyleService styleService)
Description copied from interface: StyleServiceListener
Called when styles have been added to the service

Specified by:
stylesAdded in interface StyleServiceListener
Parameters:
styleService - the style service instance
See Also:
StyleServiceListener.stylesAdded(StyleService)

stylesRemoved

public void stylesRemoved(StyleService styleService)
Description copied from interface: StyleServiceListener
Called when styles have been removed from the service

Specified by:
stylesRemoved in interface StyleServiceListener
Parameters:
styleService - the style service instance
See Also:
StyleServiceListener.stylesRemoved(StyleService)

styleSettingsChanged

public void styleSettingsChanged(StyleService styleService)
Description copied from interface: StyleServiceListener
Called when the settings have been changed (e.g. the default background and the default styles)

Specified by:
styleSettingsChanged in interface StyleServiceListener
Parameters:
styleService - the style service instance
See Also:
StyleServiceListener.styleSettingsChanged(StyleService)

backgroundChanged

public void backgroundChanged(StyleService styleService,
                              org.eclipse.swt.graphics.RGB background)
Description copied from interface: StyleServiceListener
Called when the background has changed

Specified by:
backgroundChanged in interface StyleServiceListener
Parameters:
styleService - the style service instance
background - the new background
See Also:
StyleServiceListener.backgroundChanged(StyleService, RGB)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d