本文整理匯總了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);
}