Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 27524 Details for
Bug 110635
Delay configuration of services
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
org.eclipse.gmf.runtime.common.ui.services.dnd-patch.txt
org.eclipse.gmf.runtime.common.ui.services.dnd-patch.txt (text/plain), 5.09 KB, created by
Keith W. Campbell
on 2005-09-26 12:51:43 EDT
(
hide
)
Description:
org.eclipse.gmf.runtime.common.ui.services.dnd-patch.txt
Filename:
MIME Type:
Creator:
Keith W. Campbell
Created:
2005-09-26 12:51:43 EDT
Size:
5.09 KB
patch
obsolete
>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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 110635
:
27522
|
27523
| 27524 |
27525
|
27526
|
27527
|
27528
|
27529
|
28681
|
28682