本文整理汇总了Java中org.eclipse.core.runtime.IExtensionRegistry.addRegistryChangeListener方法的典型用法代码示例。如果您正苦于以下问题:Java IExtensionRegistry.addRegistryChangeListener方法的具体用法?Java IExtensionRegistry.addRegistryChangeListener怎么用?Java IExtensionRegistry.addRegistryChangeListener使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.eclipse.core.runtime.IExtensionRegistry
的用法示例。
在下文中一共展示了IExtensionRegistry.addRegistryChangeListener方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: addRegistryListenerIfNeeded
import org.eclipse.core.runtime.IExtensionRegistry; //导入方法依赖的package包/类
private void addRegistryListenerIfNeeded() {
if (registryListenerIntialized)
return;
IExtensionRegistry registry = Platform.getExtensionRegistry();
registry.addRegistryChangeListener(this, TypeScriptCorePlugin.PLUGIN_ID);
registryListenerIntialized = true;
}
示例2: addRegistryListenerIfNeeded
import org.eclipse.core.runtime.IExtensionRegistry; //导入方法依赖的package包/类
private void addRegistryListenerIfNeeded() {
if (registryListenerIntialized)
return;
IExtensionRegistry registry = Platform.getExtensionRegistry();
registry.addRegistryChangeListener(this,
WebResourcesCorePlugin.PLUGIN_ID);
registryListenerIntialized = true;
}
开发者ID:angelozerr,项目名称:eclipse-wtp-webresources,代码行数:10,代码来源:WebResourcesFinderTypeProviderManager.java
示例3: initialize
import org.eclipse.core.runtime.IExtensionRegistry; //导入方法依赖的package包/类
public void initialize() {
IExtensionRegistry registry = Platform.getExtensionRegistry();
registry.addRegistryChangeListener(this, CodeLensPlugin.PLUGIN_ID);
}
示例4: initialize
import org.eclipse.core.runtime.IExtensionRegistry; //导入方法依赖的package包/类
public void initialize() {
IExtensionRegistry registry = Platform.getExtensionRegistry();
registry.addRegistryChangeListener(this, CodeLensEditorPlugin.PLUGIN_ID);
}