public interface IHighlightingConfigurationAcceptor
IHighlightingConfigurationAcceptor
is used to collect default settings for the various highlighting
configurations.
This interface is implemented by components of the framework that need to collect all default configurations.
It is not intended to be implemented by clients, although it is easily possible.IHighlightingConfiguration.configure(IHighlightingConfigurationAcceptor)
Modifier and Type | Method and Description |
---|---|
void |
acceptDefaultHighlighting(java.lang.String id,
java.lang.String name,
TextStyle style)
Call this method to announce a specific default style.
|
void acceptDefaultHighlighting(java.lang.String id, java.lang.String name, TextStyle style)
IllegalStateException
when an id is used twice.id
- the unique id that should be associated with the given style.name
- the human readable name of the style.style
- the default style with the given id and name.java.lang.IllegalStateException
- when an id has been used twice.IHighlightingConfiguration.configure(IHighlightingConfigurationAcceptor)