Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2012 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.validation;

Sebastian Zarnekow - Initial contribution and API
public class MarkerTypeProvider {
	public String getMarkerType(Issue issue) {
		return MarkerTypes.forCheckType(issue.getType());
	public CheckType getCheckType(String markerType) {
		return MarkerTypes.toCheckType(markerType);
New to GrepCode? Check out our FAQ X