Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 09:09 Go to next message
Kentarou Fukuda is currently offline Kentarou FukudaFriend
Messages: 46
Registered: July 2009
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/ 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

Best regards,
Re: internal API use vs. code clone [message #1766006 is a reply to message #1765536] Wed, 14 June 2017 18:10 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 877
Registered: January 2012
Senior Member

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: Tue May 11 22:53:55 GMT 2021

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

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

Back to the top