Breaking Out of Eclipse: Developing an ActiveX Host for SWT

SWT enables Eclipse developers to create user interfaces with native OS look-and-feel and performance. Without significant extra effort, however, SWT applications are limited to operate within the confines of Eclipse, or as a standalone desktop application. This paper describes the motivation and initial efforts to embed SWT applications within an ActiveX container, presents a simple API to enable SWT applications for ActiveX containment, and discusses future directions for embedding the Eclipse framework into other external native OS applications. Eclipse host applications. This paper focuses on how to embed SWT-based controls in Windows applications through ActiveX, and describes how this is implemented in the native and Java levels. A simple API is then presented to allow developers with no knowledge of ActiveX to enable their SWT components in ActiveX. The paper concludes with a discussion on improvements and directions in embedding the Eclipse framework into other external native OS applications.

By: Li-Te Cheng

Published in: RC22932 in 2003


This Research Report is available. This report has been submitted for publication outside of IBM and will probably be copyrighted if accepted for publication. It has been issued as a Research Report for early dissemination of its contents. In view of the transfer of copyright to the outside publisher, its distribution outside of IBM prior to publication should be limited to peer communications and specific requests. After outside publication, requests should be filled only by reprints or legally obtained copies of the article (e.g., payment of royalties). I have read and understand this notice and am a member of the scientific community outside or inside of IBM seeking a single copy only.


Questions about this service can be mailed to .