Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » internal API use vs. code clone
internal API use vs. code clone [message #1765536] Mon, 12 June 2017 05:09 Go to next message
Eclipse UserFriend
In Eclipse ACTF project, we need to access Windows native applications
- to get accessibility information
- to control existing Text-to-Speech engines
- to embed applications (IE/OpenOffice.org) as Eclipse Editor/view for accessibility evaluation
- etc.

To achieve this, we had used many components from swt.internal. We removed many of these dependencies by using our own actf.util.win32.comclutch package. However, some dependencies are still remaining.

We might be able to remove these dependencies by replicating swt.internal components into our internal package, but it will be a code clone.

To avoid it, we would like to continue to use these internal APIs. Would you please let us know if there are any concerns about it? Or, would you please let us know if there are any other good approach for it?

Thank you in advance for your support.

[internal classes that currently used in ACTF]

  • org.eclipse.swt.internal.Callback
  • org.eclipse.swt.internal.win32.OS
  • org.eclipse.swt.internal.win32.MSG
  • org.eclipse.swt.internal.win32.TCHAR
  • org.eclipse.swt.internal.ole.win32.COM
  • org.eclipse.swt.internal.ole.win32.COMObject
  • org.eclipse.swt.internal.ole.win32.GUID
  • org.eclipse.swt.internal.ole.win32.IDispatch
  • org.eclipse.swt.internal.ole.win32.IUnknown

Re: internal API use vs. code clone [message #1766006 is a reply to message #1765536] Wed, 14 June 2017 14:10 Go to previous message
Eclipse UserFriend
I think you should post to the swt-dev list. I'm not an SWT committer, but my guess is that these classes and interfaces won't ever change.
Previous Topic:FontDialog widget problem on windows 7, 8, 10
Next Topic:Neon - FromEditor pages are disposed 2x
Goto Forum:
  


Current Time: Wed Jul 23 22:04:36 EDT 2025

Powered by FUDForum. Page generated in 0.06682 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top