本文整理汇总了Java中org.eclipse.jface.text.ITextHoverExtension类的典型用法代码示例。如果您正苦于以下问题:Java ITextHoverExtension类的具体用法?Java ITextHoverExtension怎么用?Java ITextHoverExtension使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ITextHoverExtension类属于org.eclipse.jface.text包,在下文中一共展示了ITextHoverExtension类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getHoverControlCreator
import org.eclipse.jface.text.ITextHoverExtension; //导入依赖的package包/类
public IInformationControlCreator getHoverControlCreator()
{
if (activeTextHover instanceof ITextHoverExtension)
{
return ((ITextHoverExtension) activeTextHover).getHoverControlCreator();
}
return new IInformationControlCreator()
{
public IInformationControl createInformationControl(Shell parent)
{
return createTextHoverInformationControl(parent, EditorsUI.getTooltipAffordanceString());
}
};
}
示例2: getHoverControlCreator
import org.eclipse.jface.text.ITextHoverExtension; //导入依赖的package包/类
@Override
public IInformationControlCreator getHoverControlCreator() {
if (fBestHover instanceof ITextHoverExtension)
return ((ITextHoverExtension)fBestHover).getHoverControlCreator();
return null;
}
示例3: getHoverControlCreator
import org.eclipse.jface.text.ITextHoverExtension; //导入依赖的package包/类
@Override
public IInformationControlCreator getHoverControlCreator() {
if (ensureHoverCreated() && (fHover instanceof ITextHoverExtension))
return ((ITextHoverExtension)fHover).getHoverControlCreator();
return null;
}
示例4: getHoverControlCreator
import org.eclipse.jface.text.ITextHoverExtension; //导入依赖的package包/类
@Override
public IInformationControlCreator getHoverControlCreator() {
if (ensureHoverCreated() && (fHover instanceof ITextHoverExtension)) {
return ((ITextHoverExtension) fHover).getHoverControlCreator();
}
return null;
}
示例5: getHoverControlCreator
import org.eclipse.jface.text.ITextHoverExtension; //导入依赖的package包/类
@Override
public IInformationControlCreator getHoverControlCreator() {
if (fDelegate instanceof ITextHoverExtension) {
return ((ITextHoverExtension) fDelegate).getHoverControlCreator();
}
return null;
}
示例6: getInformationControlCreator
import org.eclipse.jface.text.ITextHoverExtension; //导入依赖的package包/类
public IInformationControlCreator getInformationControlCreator() {
if (hover!=null && hover instanceof ITextHoverExtension) {
return ((ITextHoverExtension) hover).getHoverControlCreator();
}
return null;
}
示例7: getHoverControlCreator
import org.eclipse.jface.text.ITextHoverExtension; //导入依赖的package包/类
public IInformationControlCreator getHoverControlCreator() {
if (currentHover instanceof ITextHoverExtension)
return ((ITextHoverExtension) currentHover).getHoverControlCreator();
return null;
}