Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2009 itemis AG ( and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at /
 package org.eclipse.xtext.ui.editor.syntaxcoloring;
An 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.

Call this method to announce a specific default style. Implementors may throw an 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.
See also:
	void acceptDefaultHighlighting(String idString nameTextStyle style);
New to GrepCode? Check out our FAQ X