本文整理汇总了Java中org.eclipse.core.runtime.IRegistryChangeEvent.getExtensionDeltas方法的典型用法代码示例。如果您正苦于以下问题:Java IRegistryChangeEvent.getExtensionDeltas方法的具体用法?Java IRegistryChangeEvent.getExtensionDeltas怎么用?Java IRegistryChangeEvent.getExtensionDeltas使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.eclipse.core.runtime.IRegistryChangeEvent
的用法示例。
在下文中一共展示了IRegistryChangeEvent.getExtensionDeltas方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: registryChanged
import org.eclipse.core.runtime.IRegistryChangeEvent; //导入方法依赖的package包/类
@Override
public void registryChanged(final IRegistryChangeEvent event) {
IExtensionDelta[] deltas = event.getExtensionDeltas(TypeScriptCorePlugin.PLUGIN_ID,
EXTENSION_TYPESCRIPT_RESOURCE_PARTICIPANTS);
if (deltas != null) {
synchronized (this) {
for (IExtensionDelta delta : deltas) {
IConfigurationElement[] cf = delta.getExtension().getConfigurationElements();
if (delta.getKind() == IExtensionDelta.ADDED) {
addExtensionResourceParticipants(cf);
} else {
removeExtensionResourceParticipants(cf);
}
}
}
}
}
示例2: registryChanged
import org.eclipse.core.runtime.IRegistryChangeEvent; //导入方法依赖的package包/类
@Override
public void registryChanged(final IRegistryChangeEvent event) {
IExtensionDelta[] deltas = event.getExtensionDeltas(TypeScriptCorePlugin.PLUGIN_ID,
EXTENSION_TYPESCRIPT_REPOSITORIES);
if (deltas != null) {
synchronized (this) {
for (IExtensionDelta delta : deltas) {
IConfigurationElement[] cf = delta.getExtension().getConfigurationElements();
if (delta.getKind() == IExtensionDelta.ADDED) {
addExtensionRepositories(cf);
} else {
removeExtensionRepositories(cf);
}
}
}
}
}
示例3: registryChanged
import org.eclipse.core.runtime.IRegistryChangeEvent; //导入方法依赖的package包/类
public void registryChanged( IRegistryChangeEvent event )
{
IExtensionDelta[] deltas = event.getExtensionDeltas( "org.eclipse.birt.report.designer.ui", //$NON-NLS-1$
"DNDServices" ); //$NON-NLS-1$
for ( int i = 0; i < deltas.length; i++ )
{
if ( deltas[i].getKind( ) == IExtensionDelta.ADDED )
{
addRegistry( deltas[i].getExtensionPoint( ) );
}
else if ( deltas[i].getKind( ) == IExtensionDelta.REMOVED )
{
removeRegistry( deltas[i].getExtensionPoint( ) );
}
}
}
示例4: registryChanged
import org.eclipse.core.runtime.IRegistryChangeEvent; //导入方法依赖的package包/类
@Override
public void registryChanged(IRegistryChangeEvent event) {
IExtensionDelta[] deltas = event.getExtensionDeltas(CodeLensPlugin.PLUGIN_ID, EXTENSION_CODELENS_PROVIDERS);
if (deltas != null) {
for (IExtensionDelta delta : deltas)
handleCodeLensProvidersDelta(delta);
}
}
示例5: registryChanged
import org.eclipse.core.runtime.IRegistryChangeEvent; //导入方法依赖的package包/类
@Override
public void registryChanged(IRegistryChangeEvent event) {
IExtensionDelta[] deltas = event.getExtensionDeltas(CodeLensEditorPlugin.PLUGIN_ID,
EXTENSION_CODELENS_CONTROLLER_FACTORIES);
if (deltas != null) {
for (IExtensionDelta delta : deltas)
handleCodeLensProvidersDelta(delta);
}
}
示例6: registryChanged
import org.eclipse.core.runtime.IRegistryChangeEvent; //导入方法依赖的package包/类
@Override
public void registryChanged(final IRegistryChangeEvent event) {
IExtensionDelta[] deltas = event.getExtensionDeltas(TypeScriptCorePlugin.PLUGIN_ID,
EXTENSION_TYPESCRIPT_CONSOLE_CONNECTORS);
if (deltas != null) {
for (IExtensionDelta delta : deltas)
handleTypeScriptConsoleConnectorDelta(delta);
}
}
示例7: registryChanged
import org.eclipse.core.runtime.IRegistryChangeEvent; //导入方法依赖的package包/类
@Override
public void registryChanged(final IRegistryChangeEvent event) {
IExtensionDelta[] deltas = event.getExtensionDeltas(TypeScriptCorePlugin.PLUGIN_ID, EXTENSION_NODEJS_INSTALLS);
if (deltas != null) {
for (IExtensionDelta delta : deltas)
handleNodejsInstallDelta(delta);
}
}
示例8: registryChanged
import org.eclipse.core.runtime.IRegistryChangeEvent; //导入方法依赖的package包/类
@Override
public void registryChanged(final IRegistryChangeEvent event) {
IExtensionDelta[] deltas = event.getExtensionDeltas(
WebResourcesCorePlugin.PLUGIN_ID,
EXTENSION_WEB_RESOURCES_FINDER_TYPE_PROVIDERS);
if (deltas != null) {
for (IExtensionDelta delta : deltas)
handleDelta(delta);
}
}
开发者ID:angelozerr,项目名称:eclipse-wtp-webresources,代码行数:11,代码来源:WebResourcesFinderTypeProviderManager.java