org.eclipse.mylyn.wikitext.ui.viewer
Class HtmlViewerConfiguration
java.lang.Object
TextSourceViewerConfiguration
org.eclipse.mylyn.wikitext.ui.viewer.AbstractTextSourceViewerConfiguration
org.eclipse.mylyn.wikitext.ui.viewer.HtmlViewerConfiguration
- Direct Known Subclasses:
- MarkupViewerConfiguration
public class HtmlViewerConfiguration
- extends AbstractTextSourceViewerConfiguration
A configuration for use with a HtmlViewer
.
- Since:
- 1.0
- Author:
- David Green
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlViewerConfiguration
public HtmlViewerConfiguration(HtmlViewer viewer)
HtmlViewerConfiguration
public HtmlViewerConfiguration(HtmlViewer viewer,
IPreferenceStore preferenceStore)
getPresentationReconciler
public IPresentationReconciler getPresentationReconciler(ISourceViewer sourceViewer)
getReconciler
public IReconciler getReconciler(ISourceViewer sourceViewer)
- returns null, since spell check is not needed
- Since:
- 1.1
getAnnotationHover
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer)
getTextHover
public ITextHover getTextHover(ISourceViewer sourceViewer,
String contentType)
createCustomHyperlinkDetectors
protected List<IHyperlinkDetector> createCustomHyperlinkDetectors(ISourceViewer sourceViewer)
- Description copied from class:
AbstractTextSourceViewerConfiguration
- Provide custom hyperlink detectors. Subclasses may override, the default implementation provides an empty list.
- Overrides:
createCustomHyperlinkDetectors
in class AbstractTextSourceViewerConfiguration
createAnnotationHyperlinkDetector
protected AnnotationHyperlinkDetector createAnnotationHyperlinkDetector()
setTextPresentation
public void setTextPresentation(TextPresentation textPresentation)
getHyperlinkStateMask
public int getHyperlinkStateMask(ISourceViewer sourceViewer)
isDisableHyperlinkModifiers
public boolean isDisableHyperlinkModifiers()
- Indicate if hyperlink modifiers are disabled. When disabled (the default) no keyboard modifiers are required to
activate hyperlinks when clicking.
- See Also:
getHyperlinkStateMask(ISourceViewer)
setDisableHyperlinkModifiers
public void setDisableHyperlinkModifiers(boolean disableHyperlinkModifiers)
- Indicate if hyperlink modifiers are disabled. When disabled (the default) no keyboard modifiers are required to
activate hyperlinks when clicking.
- See Also:
getHyperlinkStateMask(ISourceViewer)
Copyright © 2007, 2009 David Green 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
http://www.eclipse.org/legal/epl-v10.html