Revision 8481f952
Added by Andreas Müller almost 4 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/ViewerConfiguration.java | ||
---|---|---|
1 | 1 |
/** |
2 | 2 |
* Copyright (C) 2007 EDIT |
3 |
* European Distributed Institute of Taxonomy
|
|
3 |
* European Distributed Institute of Taxonomy |
|
4 | 4 |
* http://www.e-taxonomy.eu |
5 |
*
|
|
5 |
* |
|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
... | ... | |
19 | 19 |
* |
20 | 20 |
* @author p.ciardelli |
21 | 21 |
* @created 22.01.2009 |
22 |
* @version 1.0 |
|
23 | 22 |
*/ |
24 | 23 |
public class ViewerConfiguration extends SourceViewerConfiguration { |
25 |
|
|
24 |
|
|
26 | 25 |
private IAnnotationHover annotationHover = new DefaultAnnotationHover(); |
27 |
|
|
28 |
/** {@inheritDoc} */
|
|
29 |
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) {
|
|
26 |
|
|
27 |
@Override
|
|
28 |
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) {
|
|
30 | 29 |
return annotationHover; |
31 | 30 |
} |
32 | 31 |
|
33 |
// /* (non-Javadoc) |
|
34 |
// * @see org.eclipse.jface.text.source.SourceViewerConfiguration#getContentAssistant(org.eclipse.jface.text.source.ISourceViewer) |
|
35 |
// */ |
|
36 | 32 |
// @Override |
37 | 33 |
// public IContentAssistant getContentAssistant(ISourceViewer sourceViewer) { |
38 | 34 |
// ContentAssistant contentAssistant = new ContentAssistant(); |
... | ... | |
42 | 38 |
// contentAssistant.setInformationControlCreator(getInformationControlCreator(sourceViewer)); |
43 | 39 |
// return contentAssistant; |
44 | 40 |
// } |
45 |
|
|
46 |
|
|
41 |
|
|
42 |
|
|
47 | 43 |
} |
Also available in: Unified diff
cleanup