本文整理汇总了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;
}
示例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;
}
示例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);
}
};
}
示例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);
}
};
}
示例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);
}
};
}
示例8: getAnnotationHover
import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
@Override
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) {
return annotationHoover;
}
示例9: getAnnotationHover
import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
@Override
public IAnnotationHover getAnnotationHover(ISourceViewer viewer) {
return new EiffelAnnotationHOver();
}
示例10: getAnnotationHover
import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) {
return new DefaultAnnotationHover();
}
示例11: getAnnotationHover
import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
/**
* @Override
*/
public IAnnotationHover getAnnotationHover( ISourceViewer sourceViewer){
return new MyAnnotationHover();
}
示例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;
}
示例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;
}
示例14: getAnnotationHover
import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
/**
* Ruler annotation
*/
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer)
{
return new TLAAnnotationHover();
}
示例15: getAnnotationHover
import org.eclipse.jface.text.source.IAnnotationHover; //导入依赖的package包/类
@Override
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) {
return null;
}