本文整理汇总了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;
}
示例2: bindIEObjectDocumentationProvider
import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
/**
* Bind custom IEObjectDocumentationProvider.
*/
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProvider() {
return N4JSDocumentationProvider.class;
}
示例3: setDocumentationProvider
import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
@Inject
private void setDocumentationProvider(IEObjectDocumentationProvider documentationProvider) {
if(documentationProvider instanceof IEObjectDocumentationProviderExtension)
this.documentationProvider = (IEObjectDocumentationProviderExtension) documentationProvider;
}
示例4: bindIEObjectDocumentationProvider
import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
/**
* @return a JavaDoc-like documentation provider
*/
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProvider() {
return CheckEObjectDocumentationProvider.class;
}
示例5: bindIEObjectDocumentationProvider
import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProvider() {
return z80EObjectDocumentationProvider.class;
}
示例6: bindIEObjectDocumentationProviderr
import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProviderr() {
return BTSEObjectDocumentationProvider.class;
}
示例7: bindIEObjectDocumentationProvider
import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProvider() {
return SGenUserHelpDocumentationProvider.class;
}
示例8: bindIEObjectDocumentationProvider
import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProvider() {
return STextUserHelpDocumentationProvider.class;
}
示例9: bindIEObjectDocumentationProviderr
import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProviderr() {
return PlanDocumentationProvider.class;
}
示例10: bindIEObjectDocumentationProviderr
import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProviderr() {
return GamlDocumentationProvider.class;
}
示例11: bindIEObjectDocumentationProviderr
import org.eclipse.xtext.documentation.IEObjectDocumentationProvider; //导入依赖的package包/类
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProviderr() {
return yangDocumentationProvider.class;
}