Bug 559185 - Make the constructor of org.eclipse.swt.dnd.HTMLTransfer public
Summary: Make the constructor of org.eclipse.swt.dnd.HTMLTransfer public
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.14   Edit
Hardware: PC Windows 10
: P3 enhancement (vote)
Target Milestone: 4.15 M3   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2020-01-14 21:18 EST by gong md CLA
Modified: 2020-02-06 03:19 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gong md CLA 2020-01-14 21:18:54 EST
The constructor of org.eclipse.swt.dnd.HTMLTransfer is private, I think it should be public.
if I extends it just like:
public class MyHTMLTransfer extends HTMLTransfer {
... ...
do something here
... ...
}

-- Configuration Details --
Product: Eclipse IDE 4.14.0.20191212-1200 (org.eclipse.epp.package.jee.product)Installed Features:
 org.eclipse.platform 4.14.0.v20191210-0610
Comment 1 Lakshmi P Shanmugam CLA 2020-01-23 01:42:21 EST
HTMLTransfer and the other org.eclipse.swt.dnd.*Transfer classes are Singleton, so the constructor can't be made public. What are you trying to do?