org.eclipse.core.runtime.Plugin.getDescriptor()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(114)

本文整理了Java中org.eclipse.core.runtime.Plugin.getDescriptor()方法的一些代码示例,展示了Plugin.getDescriptor()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Plugin.getDescriptor()方法的具体详情如下:
包路径:org.eclipse.core.runtime.Plugin
类名称:Plugin
方法名:getDescriptor

Plugin.getDescriptor介绍

[英]As the org.eclipse.core.runtime.compatibility plug-in has been removed in Eclipse 4.6 this method is not supported anymore. IPluginDescriptor was refactored in Eclipse 3.0. The getDescriptor() method was only be called by plug-ins which explicitly require the org.eclipse.core.runtime.compatibility plug-in. It is not called anymore.
[中]作为组织。日食果心运行时。Eclipse4.6中的兼容性插件已被删除,不再支持这种方法。IPluginDescriptor在Eclipse 3.0中进行了重构。getDescriptor()方法只能由显式需要组织的插件调用。日食果心运行时。兼容性插件。不再叫它了。

代码示例

代码示例来源:origin: org.eclipse.core/runtime

InternalPlatform.message("Applying plug-in default preference overrides for plug-in: " + plugin.getDescriptor().getUniqueIdentifier()); //$NON-NLS-1$

代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

if (jdtCorePlugin == null) return null;
IExtensionPoint extension = jdtCorePlugin.getDescriptor().getExtensionPoint(JavaModelManager.FORMATTER_EXTPOINT_ID);
if (extension != null) {
  IExtension[] extensions =  extension.getExtensions();

代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion

if (jdtCorePlugin == null) return null;
IExtensionPoint extension = jdtCorePlugin.getDescriptor().getExtensionPoint(JavaModelManager.FORMATTER_EXTPOINT_ID);
if (extension != null) {
  IExtension[] extensions =  extension.getExtensions();

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

if (jdtCorePlugin == null) return null;
IExtensionPoint extension = jdtCorePlugin.getDescriptor().getExtensionPoint(JavaModelManager.FORMATTER_EXTPOINT_ID);
if (extension != null) {
  IExtension[] extensions =  extension.getExtensions();

代码示例来源:origin: org.eclipse/core-runtime

InternalPlatform.message("Applying plug-in default preference overrides for plug-in: " + plugin.getDescriptor().getUniqueIdentifier()); //$NON-NLS-1$

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.core.runtime

InternalPlatform.message("Applying plug-in default preference overrides for plug-in: " + plugin.getDescriptor().getUniqueIdentifier()); //$NON-NLS-1$

相关文章