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.hyperlinking;
import  org.eclipse.jface.text.Region;
import  org.eclipse.jface.text.hyperlink.IHyperlink;

Sebastian Zarnekow - Initial contribution and API
public abstract class AbstractHyperlink implements IHyperlink {
	private String typeLabel;
	private Region hyperlinkRegion;
	public String getHyperlinkText() {
		return ;
	public void setHyperlinkText(String hyperlinkText) {
		this. = hyperlinkText;
	public String getTypeLabel() {
		return ;
	public void setTypeLabel(String typeLabel) {
		this. = typeLabel;
	public Region getHyperlinkRegion() {
	public void setHyperlinkRegion(Region hyperlinkRegion) {
		this. = hyperlinkRegion;
New to GrepCode? Check out our FAQ X