Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] C++ Toolkit for SWT

If you only need to support Windows, there is a way to effectively provide an Eclipse plug-in that is completely implemented in native C++ without any JNI. By design, Eclipse supports OLE Document Servers as editor parts. For example, Word documents can be opened in Eclipse IDE and they act as editor parts and integrate with the workbench UI, especially menus. Granted, implementing an OLE Document Server is not for the faint of heart, and ATL and/or MFC are practically obligatory for doing so. However, if you implemented an OLE Document Server in C++, you could effectively have an editor part that is completely implemented in C++, no JNI needed. In addition, you could make other adjunct parts, such as views, that could be implemented in 100% Java and could interact with your OLE Document Server via COM/OLE using the SWT OLE APIs for Win32. Again no JNI. The Java side stays all Java, and the C++ side stays all C++.

----- Original Message ----- From: "Philipp Hübner" <philipp.huebner@xxxxxxxxxxx> To: "Eclipse Platform SWT component developers list." <platform-swt-dev@xxxxxxxxxxx>
Sent: Tuesday, April 20, 2010 11:19 AM
Subject: Re: [platform-swt-dev] C++ Toolkit for SWT


I don't think that you can build an Eclipse Plugin either with Pure Native nor with QT. The only way to do that is to create a JNI-Binding and use Java, and that would create a hybrid and a lot of work. On my point of view: Eclipse is a Java-Platform and JNI-Bindings tends to become unstable when used for big frameworks.

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev




Back to the top