public abstract class AbstractStyleService extends Object implements StyleService
StyleService
implementationConstructor and Description |
---|
AbstractStyleService() |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addStyles, addStyles, clearStyles, getBackground, getDefinedStyle, getNamedStyle, getSelectionStyle, getStyle, getStyle, getStyle, setBackground
public void addListener(StyleServiceListener listener)
StyleService
addListener
in interface StyleService
listener
- the listener to addStyleService.addListener(StyleServiceListener)
public void removeListener(StyleServiceListener listener)
StyleService
removeListener
in interface StyleService
listener
- the listener to removeStyleService.removeListener(StyleServiceListener)
protected void notifyStylesAdded()
protected void notifyStylesRemoved()
protected void notifySettingsChanged()
protected void notifyBackgroundChanged(org.eclipse.swt.graphics.RGB background)
background
- the new backgroundBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a