当前位置: 首页>>代码示例>>Java>>正文


Java IEObjectDocumentationProvider类代码示例

本文整理汇总了Java中org.eclipse.xtext.documentation.IEObjectDocumentationProvider的典型用法代码示例。如果您正苦于以下问题:Java IEObjectDocumentationProvider类的具体用法?Java IEObjectDocumentationProvider怎么用?Java IEObjectDocumentationProvider使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


IEObjectDocumentationProvider类属于org.eclipse.xtext.documentation包,在下文中一共展示了IEObjectDocumentationProvider类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getDescription

import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
/** {@inheritDoc} */
@Override
public String getDescription() {
  if (!this.eIsProxy() && this.eResource() != null) {
    IResourceServiceProvider serviceProvider = IResourceServiceProvider.Registry.INSTANCE.getResourceServiceProvider(this.eResource().getURI());
    if (serviceProvider != null) {
      IEObjectDocumentationProvider documentationProvider = serviceProvider.get(IEObjectDocumentationProvider.class);
      String documentation = documentationProvider.getDocumentation(this);
      if (!Strings.isEmpty(documentation)) { // NOPMD
        return documentation;
      }
    }
  }
  return null;
}
 
开发者ID:dsldevkit,项目名称:dsl-devkit,代码行数:16,代码来源:DocumentedImplCustom.java

示例2: bindIEObjectDocumentationProvider

import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
/**
 * Bind custom IEObjectDocumentationProvider.
 */
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProvider() {
	return N4JSDocumentationProvider.class;
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:7,代码来源:N4JSRuntimeModule.java

示例3: setDocumentationProvider

import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
@Inject
private void setDocumentationProvider(IEObjectDocumentationProvider documentationProvider) {
	if(documentationProvider instanceof IEObjectDocumentationProviderExtension) 
		this.documentationProvider = (IEObjectDocumentationProviderExtension) documentationProvider;
}
 
开发者ID:eclipse,项目名称:xtext-extras,代码行数:6,代码来源:TypeUsageCollector.java

示例4: bindIEObjectDocumentationProvider

import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
/**
 * @return a JavaDoc-like documentation provider
 */
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProvider() {
  return CheckEObjectDocumentationProvider.class;
}
 
开发者ID:dsldevkit,项目名称:dsl-devkit,代码行数:7,代码来源:CheckRuntimeModule.java

示例5: bindIEObjectDocumentationProvider

import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProvider() {
    return z80EObjectDocumentationProvider.class;
}
 
开发者ID:yuv422,项目名称:z80editor,代码行数:4,代码来源:Z80UiModule.java

示例6: bindIEObjectDocumentationProviderr

import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProviderr() {
	return BTSEObjectDocumentationProvider.class;
}
 
开发者ID:cplutte,项目名称:bts,代码行数:4,代码来源:EgyDslUiModule.java

示例7: bindIEObjectDocumentationProvider

import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProvider() {
	return SGenUserHelpDocumentationProvider.class;
}
 
开发者ID:Yakindu,项目名称:statecharts,代码行数:4,代码来源:SGenTestRuntimeModule.java

示例8: bindIEObjectDocumentationProvider

import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProvider() {
	return STextUserHelpDocumentationProvider.class;
}
 
开发者ID:Yakindu,项目名称:statecharts,代码行数:4,代码来源:STextUiModule.java

示例9: bindIEObjectDocumentationProviderr

import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProviderr() {
    return PlanDocumentationProvider.class;
}
 
开发者ID:lowcoupling,项目名称:plan,代码行数:4,代码来源:PlanUiModule.java

示例10: bindIEObjectDocumentationProviderr

import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProviderr() {
	return GamlDocumentationProvider.class;
}
 
开发者ID:gama-platform,项目名称:gama,代码行数:4,代码来源:GamlUiModule.java

示例11: bindIEObjectDocumentationProviderr

import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProviderr() {
    return yangDocumentationProvider.class;
}
 
开发者ID:att,项目名称:yang-design-studio,代码行数:4,代码来源:YangUiModule.java


注:本文中的org.eclipse.xtext.documentation.IEObjectDocumentationProvider类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。