Java 类org.eclipse.jface.text.hyperlink.URLHyperlinkDetector 实例源码

项目:eclipse-jenkins-editor    文件:JenkinsSourceViewerConfiguration.java   
@Override
public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {
    if (sourceViewer == null){
        return null;
    }

    return new IHyperlinkDetector[] { new URLHyperlinkDetector() };
}
项目:eclipse-batch-editor    文件:BatchSourceViewerConfiguration.java   
@Override
public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {
    if (sourceViewer == null)
        return null;

    return new IHyperlinkDetector[] { new URLHyperlinkDetector(), new BatchHyperlinkDetector(adaptable) };
}
项目:eclipse-bash-editor    文件:BashSourceViewerConfiguration.java   
@Override
public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {
    if (sourceViewer == null)
        return null;

    return new IHyperlinkDetector[] { new URLHyperlinkDetector(), new BashHyperlinkDetector(adaptable) };
}
项目:egradle    文件:GradleSourceViewerConfiguration.java   
@Override
public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {
    if (sourceViewer == null){
        return null;
    }
    return new IHyperlinkDetector[] { new URLHyperlinkDetector(), new GradleHyperlinkDetector(adaptable) };
}
项目:KaiZen-OpenAPI-Editor    文件:SwaggerSourceViewerConfiguration.java   
@Override
public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {
       return new IHyperlinkDetector[] { new URLHyperlinkDetector(), //
               new SwaggerReferenceHyperlinkDetector(), //
               new PathParamHyperlinkDetector(), //
               new DefinitionHyperlinkDetector() };
}
项目:KaiZen-OpenAPI-Editor    文件:OpenApi3Editor.java   
@Override
public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {
    return new IHyperlinkDetector[] { new URLHyperlinkDetector(), //
            new PathParamHyperlinkDetector(), //
            new DefinitionHyperlinkDetector(), //
            new OpenApi3ReferenceHyperlinkDetector(), //
            new SecuritySchemeHyperlinkDetector(), //
            new LinkOperationHyperlinkDetector(), //
            new LinkOperationRefHyperlinkDetector() };
}
项目:ncl30-eclipse    文件:NCLConfiguration.java   
/**
 * Add NCLEclipse Hyperlink Detector to Source Viewer Configuration
 */
public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {
    return new IHyperlinkDetector[] {
            new NCLEclipseHyperlinkDetector(sourceViewer),
            new URLHyperlinkDetector() };
}
项目:KaiZen-OpenAPI-Editor    文件:JsonSourceViewerConfiguration.java   
@Override
public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) {
    return new IHyperlinkDetector[] { new URLHyperlinkDetector()};
}