本文整理汇总了Java中org.eclipse.jface.text.hyperlink.URLHyperlinkDetector类的典型用法代码示例。如果您正苦于以下问题:Java URLHyperlinkDetector类的具体用法?Java URLHyperlinkDetector怎么用?Java URLHyperlinkDetector使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
URLHyperlinkDetector类属于org.eclipse.jface.text.hyperlink包,在下文中一共展示了URLHyperlinkDetector类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getHyperlinkDetectors
import org.eclipse.jface.text.hyperlink.URLHyperlinkDetector; //导入依赖的package包/类
@Override
public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {
if (sourceViewer == null){
return null;
}
return new IHyperlinkDetector[] { new URLHyperlinkDetector() };
}
开发者ID:de-jcup,项目名称:eclipse-jenkins-editor,代码行数:9,代码来源:JenkinsSourceViewerConfiguration.java
示例2: getHyperlinkDetectors
import org.eclipse.jface.text.hyperlink.URLHyperlinkDetector; //导入依赖的package包/类
@Override
public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {
if (sourceViewer == null)
return null;
return new IHyperlinkDetector[] { new URLHyperlinkDetector(), new BatchHyperlinkDetector(adaptable) };
}
开发者ID:de-jcup,项目名称:eclipse-batch-editor,代码行数:8,代码来源:BatchSourceViewerConfiguration.java
示例3: getHyperlinkDetectors
import org.eclipse.jface.text.hyperlink.URLHyperlinkDetector; //导入依赖的package包/类
@Override
public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {
if (sourceViewer == null)
return null;
return new IHyperlinkDetector[] { new URLHyperlinkDetector(), new BashHyperlinkDetector(adaptable) };
}
开发者ID:de-jcup,项目名称:eclipse-bash-editor,代码行数:8,代码来源:BashSourceViewerConfiguration.java
示例4: getHyperlinkDetectors
import org.eclipse.jface.text.hyperlink.URLHyperlinkDetector; //导入依赖的package包/类
@Override
public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {
if (sourceViewer == null){
return null;
}
return new IHyperlinkDetector[] { new URLHyperlinkDetector(), new GradleHyperlinkDetector(adaptable) };
}
开发者ID:de-jcup,项目名称:egradle,代码行数:8,代码来源:GradleSourceViewerConfiguration.java
示例5: getHyperlinkDetectors
import org.eclipse.jface.text.hyperlink.URLHyperlinkDetector; //导入依赖的package包/类
@Override
public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {
return new IHyperlinkDetector[] { new URLHyperlinkDetector(), //
new SwaggerReferenceHyperlinkDetector(), //
new PathParamHyperlinkDetector(), //
new DefinitionHyperlinkDetector() };
}
开发者ID:RepreZen,项目名称:KaiZen-OpenAPI-Editor,代码行数:8,代码来源:SwaggerSourceViewerConfiguration.java
示例6: getHyperlinkDetectors
import org.eclipse.jface.text.hyperlink.URLHyperlinkDetector; //导入依赖的package包/类
@Override
public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {
return new IHyperlinkDetector[] { new URLHyperlinkDetector(), //
new PathParamHyperlinkDetector(), //
new DefinitionHyperlinkDetector(), //
new OpenApi3ReferenceHyperlinkDetector(), //
new SecuritySchemeHyperlinkDetector(), //
new LinkOperationHyperlinkDetector(), //
new LinkOperationRefHyperlinkDetector() };
}
开发者ID:RepreZen,项目名称:KaiZen-OpenAPI-Editor,代码行数:11,代码来源:OpenApi3Editor.java
示例7: getHyperlinkDetectors
import org.eclipse.jface.text.hyperlink.URLHyperlinkDetector; //导入依赖的package包/类
/**
* Add NCLEclipse Hyperlink Detector to Source Viewer Configuration
*/
public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {
return new IHyperlinkDetector[] {
new NCLEclipseHyperlinkDetector(sourceViewer),
new URLHyperlinkDetector() };
}
开发者ID:ncleclipse,项目名称:ncl30-eclipse,代码行数:9,代码来源:NCLConfiguration.java
示例8: getHyperlinkDetectors
import org.eclipse.jface.text.hyperlink.URLHyperlinkDetector; //导入依赖的package包/类
@Override
public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {
return new IHyperlinkDetector[] { new URLHyperlinkDetector()};
}
开发者ID:RepreZen,项目名称:KaiZen-OpenAPI-Editor,代码行数:5,代码来源:JsonSourceViewerConfiguration.java
注:本文中的org.eclipse.jface.text.hyperlink.URLHyperlinkDetector类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论