Project: Eclipse_Platform_UI
Bug 70597 [DnD] Drag and Drop PluginTransferData confusion
Reported: 2004-07-21 22:38:15 | Status: verified fixed

When I read the javadoc of PluginTransferData it states "The workbench will automatically create instances of this class as required. It is not intended to be instantiated or subclassed by clients.". However, the two examples I've seen (Eclipse.org article and readme example) both instantiate the class. I can't see how it would work any other way so I assume that the javadoc is wrong (i.e. that clients need to instantiate the class). If this is not the case, the examples should be updated to reflect how it should work.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/part/PluginTransferData.java