Index: src/org/eclipse/gmf/runtime/common/ui/services/dnd/core/DragDropListenerService.java =================================================================== RCS file: /cvsroot/technology/org.eclipse.gmf/plugins/org.eclipse.gmf.runtime.common.ui.services.dnd/src/org/eclipse/gmf/runtime/common/ui/services/dnd/core/DragDropListenerService.java,v retrieving revision 1.2 diff -u -r1.2 DragDropListenerService.java --- src/org/eclipse/gmf/runtime/common/ui/services/dnd/core/DragDropListenerService.java 12 Sep 2005 21:27:21 -0000 1.2 +++ src/org/eclipse/gmf/runtime/common/ui/services/dnd/core/DragDropListenerService.java 26 Sep 2005 16:37:47 -0000 @@ -229,6 +229,10 @@ */ private final static DragDropListenerService instance = new DragDropListenerService(); + static { + instance.configureProviders(CommonUIServicesDNDPlugin.getPluginId(), "dragDropListenerProviders"); //$NON-NLS-1$ + } + /** * The DragDropListenerService constructor */ Index: src/org/eclipse/gmf/runtime/common/ui/services/dnd/core/TransferAdapterService.java =================================================================== RCS file: /cvsroot/technology/org.eclipse.gmf/plugins/org.eclipse.gmf.runtime.common.ui.services.dnd/src/org/eclipse/gmf/runtime/common/ui/services/dnd/core/TransferAdapterService.java,v retrieving revision 1.2 diff -u -r1.2 TransferAdapterService.java --- src/org/eclipse/gmf/runtime/common/ui/services/dnd/core/TransferAdapterService.java 12 Sep 2005 21:27:21 -0000 1.2 +++ src/org/eclipse/gmf/runtime/common/ui/services/dnd/core/TransferAdapterService.java 26 Sep 2005 16:37:48 -0000 @@ -16,7 +16,6 @@ import java.util.Vector; import org.eclipse.core.runtime.IConfigurationElement; - import org.eclipse.gmf.runtime.common.core.service.ExecutionStrategy; import org.eclipse.gmf.runtime.common.core.service.IOperation; import org.eclipse.gmf.runtime.common.core.service.Service; @@ -123,6 +122,10 @@ */ private final static TransferAdapterService instance = new TransferAdapterService(); + static { + instance.configureProviders(CommonUIServicesDNDPlugin.getPluginId(), "transferAdapterProviders"); //$NON-NLS-1$ + } + /** * Return the singleton. * Index: src/org/eclipse/gmf/runtime/common/ui/services/dnd/internal/CommonUIServicesDNDPlugin.java =================================================================== RCS file: /cvsroot/technology/org.eclipse.gmf/plugins/org.eclipse.gmf.runtime.common.ui.services.dnd/src/org/eclipse/gmf/runtime/common/ui/services/dnd/internal/CommonUIServicesDNDPlugin.java,v retrieving revision 1.2 diff -u -r1.2 CommonUIServicesDNDPlugin.java --- src/org/eclipse/gmf/runtime/common/ui/services/dnd/internal/CommonUIServicesDNDPlugin.java 12 Sep 2005 21:27:21 -0000 1.2 +++ src/org/eclipse/gmf/runtime/common/ui/services/dnd/internal/CommonUIServicesDNDPlugin.java 26 Sep 2005 16:37:48 -0000 @@ -11,12 +11,8 @@ package org.eclipse.gmf.runtime.common.ui.services.dnd.internal; -import org.eclipse.core.runtime.Platform; - import org.eclipse.gmf.runtime.common.core.l10n.AbstractResourceManager; import org.eclipse.gmf.runtime.common.ui.plugin.XToolsUIPlugin; -import org.eclipse.gmf.runtime.common.ui.services.dnd.core.DragDropListenerService; -import org.eclipse.gmf.runtime.common.ui.services.dnd.core.TransferAdapterService; import org.eclipse.gmf.runtime.common.ui.services.dnd.internal.l10n.ResourceManager; /** @@ -29,17 +25,6 @@ extends XToolsUIPlugin { /** - * Extension point name for drag and drop listener providers extension - * point. - */ - protected static final String DRAG_DROP_LISTENER_PROVIDERS_EXT_P_NAME = "dragDropListenerProviders"; //$NON-NLS-1$ - - /** - * Extension point name for the transfer adapter providers extension point. - */ - protected static final String TRANSFER_ADAPTER_PROVIDERS_EXT_P_NAME = "transferAdapterProviders"; //$NON-NLS-1$ - - /** * This plug-in's shared instance. */ private static CommonUIServicesDNDPlugin plugin; @@ -79,37 +64,4 @@ public AbstractResourceManager getResourceManager() { return ResourceManager.getInstance(); } - - /** - * Starts up this plug-in. - */ - protected void doStartup() { - configureDragDropListenerProviders(); - configureTransferAdapterProviders(); - } - - /** - * Configures drag and drop listener providers based drag and drop listener - * providers extension configurations. - * - */ - private void configureDragDropListenerProviders() { - DragDropListenerService.getInstance().configureProviders( - Platform.getExtensionRegistry().getExtensionPoint(getPluginId(), - DRAG_DROP_LISTENER_PROVIDERS_EXT_P_NAME) - .getConfigurationElements()); - - } - - /** - * Configures transfer adapter providers based on marker navigation provider - * extension configurations. - * - */ - private void configureTransferAdapterProviders() { - TransferAdapterService.getInstance().configureProviders( - Platform.getExtensionRegistry().getExtensionPoint(getPluginId(), - TRANSFER_ADAPTER_PROVIDERS_EXT_P_NAME) - .getConfigurationElements()); - } } \ No newline at end of file