org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider.IInformationControlCreatorProvider的实例源码

项目:bts    文件dispatchingEObjectTextHover.java   
@Override
public Object getHoverInfo(EObject first,ITextViewer textViewer,IRegion hoverRegion) {
    IEObjectHoverProvider hoverProvider = serviceProvider.findService(first,IEObjectHoverProvider.class);
    if (hoverProvider==null)
        return null;
    IinformationControlCreatorProvider creatorProvider = hoverProvider.getHoverInfo(first,textViewer,hoverRegion);
    if (creatorProvider==null)
        return null;
    this.lastCreatorProvider = creatorProvider;
    return lastCreatorProvider.getInfo();
}
项目:statecharts    文件CrossRefObjectTextHover.java   
@Override
public Object getHoverInfo(EObject first,IRegion hoverRegion) {
    IinformationControlCreatorProvider creatorProvider = hoverProvider
            .getHoverInfo(first,hoverRegion);
    if (creatorProvider == null)
        return null;
    this.lastCreatorProvider = creatorProvider;
    return lastCreatorProvider.getInfo();
}
项目:PDFReporter-Studio    文件CrossRefObjectTextHover.java   
@Override
public Object getHoverInfo(EObject first,hoverRegion);
    if (creatorProvider == null)
        return null;
    this.lastCreatorProvider = creatorProvider;
    return lastCreatorProvider.getInfo();
}

相关文章

买水果
比较全面的redis工具类
gson 反序列化到多态子类
java 版本的 mb_strwidth
JAVA 反转字符串的最快方法,大概比StringBuffer.reverse()性...
com.google.gson.internal.bind.ArrayTypeAdapter的实例源码...