当前位置: 首页>>代码示例>>Java>>正文


Java IAnnotationHover类代码示例

本文整理汇总了Java中org.eclipse.jface.text.source.IAnnotationHover的典型用法代码示例。如果您正苦于以下问题:Java IAnnotationHover类的具体用法?Java IAnnotationHover怎么用?Java IAnnotationHover使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


IAnnotationHover类属于org.eclipse.jface.text.source包,在下文中一共展示了IAnnotationHover类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getAnnotationHover

import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
@Override
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) {
	IAnnotationHover hover = annotationHoverProvider.get();
	if (hover instanceof ISourceViewerAware) {
		((ISourceViewerAware) hover).setSourceViewer(sourceViewer);
	}
	return hover;
}
 
开发者ID:cplutte,项目名称:bts,代码行数:9,代码来源:XtextSourceViewerConfiguration.java

示例2: getHover

import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
public IAnnotationHover getHover() {
	int activeLine= getParentRuler().getLineOfLastMouseButtonActivity();
	if (fRevisionPainter.hasHover(activeLine))
		return fRevisionPainter.getHover();
	if (fDiffPainter.hasHover(activeLine))
		return fDiffPainter.getHover();
	return null;
}
 
开发者ID:apicloudcom,项目名称:APICloud-Studio,代码行数:9,代码来源:CommonLineNumberChangeRulerColumn.java

示例3: getAnnotationHover

import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
@Override
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer)
{
	return new CommonAnnotationHover(false)
	{
		protected boolean isIncluded(Annotation annotation)
		{
			return isShowInVerticalRuler(annotation);
		}
	};
}
 
开发者ID:apicloudcom,项目名称:APICloud-Studio,代码行数:12,代码来源:CommonSourceViewerConfiguration.java

示例4: getOverviewRulerAnnotationHover

import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
@Override
public IAnnotationHover getOverviewRulerAnnotationHover(ISourceViewer sourceViewer)
{
	return new CommonAnnotationHover(true)
	{
		protected boolean isIncluded(Annotation annotation)
		{
			return isShowInOverviewRuler(annotation);
		}
	};
}
 
开发者ID:apicloudcom,项目名称:APICloud-Studio,代码行数:12,代码来源:CommonSourceViewerConfiguration.java

示例5: getAnnotationHover

import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
@Override
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) {
	return new HTMLAnnotationHover(false) {
		@Override
		protected boolean isIncluded(Annotation annotation) {
			return isShowInVerticalRuler(annotation);
		}
	};
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:10,代码来源:JavaSourceViewerConfiguration.java

示例6: getOverviewRulerAnnotationHover

import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
@Override
public IAnnotationHover getOverviewRulerAnnotationHover(ISourceViewer sourceViewer) {
	return new HTMLAnnotationHover(true) {
		@Override
		protected boolean isIncluded(Annotation annotation) {
			return isShowInOverviewRuler(annotation);
		}
	};
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:10,代码来源:JavaSourceViewerConfiguration.java

示例7: getAnnotationHover

import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
@Override
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) {
    return new ApexAnnotationHover() {
        @Override
        protected boolean isIncluded(Annotation annotation) {
            return isShowInVerticalRuler(annotation);
        }
    };
}
 
开发者ID:forcedotcom,项目名称:idecore,代码行数:10,代码来源:ApexSourceViewerConfiguration.java

示例8: getAnnotationHover

import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
@Override
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) {
	return annotationHoover;
}
 
开发者ID:de-jcup,项目名称:eclipse-batch-editor,代码行数:5,代码来源:BatchSourceViewerConfiguration.java

示例9: getAnnotationHover

import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
@Override
public IAnnotationHover getAnnotationHover(ISourceViewer viewer) {
	return new EiffelAnnotationHOver();
}
 
开发者ID:Imhotup,项目名称:LibertyEiffel-Eclipse-Plugin,代码行数:5,代码来源:EiffelSourceViewerConfiguration.java

示例10: getAnnotationHover

import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) {
	return new DefaultAnnotationHover();
}
 
开发者ID:DarwinSPL,项目名称:DarwinSPL,代码行数:4,代码来源:DwprofileSourceViewerConfiguration.java

示例11: getAnnotationHover

import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
/**
 * @Override
 */
public IAnnotationHover getAnnotationHover( ISourceViewer sourceViewer){
   return new MyAnnotationHover();
}
 
开发者ID:nextinterfaces,项目名称:http4e,代码行数:7,代码来源:HConfiguration.java

示例12: getAnnotationHover

import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
/**
 * @return The annotation hover text provider for this editor
 */
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) {
    return annotationHover;
}
 
开发者ID:eclipse,项目名称:texlipse,代码行数:7,代码来源:BibSourceViewerConfiguration.java

示例13: getAnnotationHover

import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
/**
 * @return the annotation hover text provider for this editor
 */
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) {
    return annotationHover;
}
 
开发者ID:eclipse,项目名称:texlipse,代码行数:7,代码来源:TexSourceViewerConfiguration.java

示例14: getAnnotationHover

import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
/**
 * Ruler annotation
 */
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer)
{
    return new TLAAnnotationHover();
}
 
开发者ID:tlaplus,项目名称:tlaplus,代码行数:8,代码来源:TLASourceViewerConfiguration.java

示例15: getAnnotationHover

import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
@Override
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) {
	return null;
}
 
开发者ID:grosenberg,项目名称:fluentmark,代码行数:5,代码来源:FluentMkSimpleSourceViewerConfiguration.java


注:本文中的org.eclipse.jface.text.source.IAnnotationHover类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。