/******************************************************************************* * Copyright (c) 2014 Bruno Medeiros and other Contributors. * 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 * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Bruno Medeiros - initial API and implementation *******************************************************************************/ package melnorme.lang.ide.ui.text; import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.jface.text.ITextHover; import org.eclipse.jface.text.contentassist.ContentAssistant; import org.eclipse.jface.text.hyperlink.IHyperlinkDetector; import org.eclipse.jface.text.information.IInformationPresenter; import org.eclipse.jface.text.source.IAnnotationHover; import org.eclipse.jface.text.source.ISourceViewer; import melnorme.lang.tooling.LANG_SPECIFIC; @LANG_SPECIFIC public class SimpleSourceViewerConfiguration extends LangBasicSourceViewerConfiguration { public SimpleSourceViewerConfiguration(IPreferenceStore preferenceStore) { super(preferenceStore); } @Override public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) { return null; } @Override public IAnnotationHover getOverviewRulerAnnotationHover(ISourceViewer sourceViewer) { return null; } @Override public ITextHover getTextHover(ISourceViewer sourceViewer, String contentType, int stateMask) { return null; } @Override public IInformationPresenter getInformationPresenter(ISourceViewer sourceViewer) { return null; } @Override public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) { return null; } @Override public ContentAssistant getContentAssistant(ISourceViewer sourceViewer) { return null; } }