Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.style.service.internal
Class AbstractStyleService

java.lang.Object
  extended by eu.esdihumboldt.hale.ui.style.service.internal.AbstractStyleService
All Implemented Interfaces:
StyleService
Direct Known Subclasses:
StyleServiceImpl

public abstract class AbstractStyleService
extends Object
implements StyleService

Base StyleService implementation

Author:
Simon Templer

Constructor Summary
AbstractStyleService()
           
 
Method Summary
 void addListener(StyleServiceListener listener)
          Adds a style service listener.
protected  void notifyBackgroundChanged(org.eclipse.swt.graphics.RGB background)
          Notify listeners that the settings have been changed
protected  void notifySettingsChanged()
          Notify listeners that the settings have been changed
protected  void notifyStylesAdded()
          Notify listeners that styles have been added
protected  void notifyStylesRemoved()
          Notify listeners that styles have been removed
 void removeListener(StyleServiceListener listener)
          Removes a style service listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.esdihumboldt.hale.ui.style.service.StyleService
addStyles, addStyles, clearStyles, getBackground, getDefinedStyle, getNamedStyle, getSelectionStyle, getStyle, getStyle, getStyle, setBackground
 

Constructor Detail

AbstractStyleService

public AbstractStyleService()
Method Detail

addListener

public void addListener(StyleServiceListener listener)
Description copied from interface: StyleService
Adds a style service listener.

Specified by:
addListener in interface StyleService
Parameters:
listener - the listener to add
See Also:
StyleService.addListener(StyleServiceListener)

removeListener

public void removeListener(StyleServiceListener listener)
Description copied from interface: StyleService
Removes a style service listener.

Specified by:
removeListener in interface StyleService
Parameters:
listener - the listener to remove
See Also:
StyleService.removeListener(StyleServiceListener)

notifyStylesAdded

protected void notifyStylesAdded()
Notify listeners that styles have been added


notifyStylesRemoved

protected void notifyStylesRemoved()
Notify listeners that styles have been removed


notifySettingsChanged

protected void notifySettingsChanged()
Notify listeners that the settings have been changed


notifyBackgroundChanged

protected void notifyBackgroundChanged(org.eclipse.swt.graphics.RGB background)
Notify listeners that the settings have been changed

Parameters:
background - the new background

Humboldt Alignment Editor 2.5.0

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