/** {@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; }
/** * Bind custom IEObjectDocumentationProvider. */ public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProvider() { return N4JSDocumentationProvider.class; }
@Inject private void setDocumentationProvider(IEObjectDocumentationProvider documentationProvider) { if(documentationProvider instanceof IEObjectDocumentationProviderExtension) this.documentationProvider = (IEObjectDocumentationProviderExtension) documentationProvider; }
/** * @return a JavaDoc-like documentation provider */ public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProvider() { return CheckEObjectDocumentationProvider.class; }
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProvider() { return z80EObjectDocumentationProvider.class; }
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProviderr() { return BTSEObjectDocumentationProvider.class; }
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProvider() { return SGenUserHelpDocumentationProvider.class; }
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProvider() { return STextUserHelpDocumentationProvider.class; }
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProviderr() { return PlanDocumentationProvider.class; }
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProviderr() { return GamlDocumentationProvider.class; }
public Class<? extends IEObjectDocumentationProvider> bindIEObjectDocumentationProviderr() { return yangDocumentationProvider.class; }