Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Embed native app(Embed a motif based C++ native app as a view)
icon3.gif  Embed native app [message #521213] Tue, 16 March 2010 18:22 Go to next message
No real name is currently offline No real nameFriend
Messages: 4
Registered: October 2009
Junior Member
Hi everyone,

I have a motif based C++ application that I am looking to port to Eclipse RCP. Right now, I want a quick and dirty port where all i care about is embedding the application into eclipse enviroment. I do have plans to re-write the application in SWT/java later on.

Is there any way in SWT to embed motif native apps?
Re: Embed native app [message #521389 is a reply to message #521213] Wed, 17 March 2010 08:42 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

jason.bo.liu@gmail.com wrote:
> Hi everyone,
>
> I have a motif based C++ application that I am looking to port to
> Eclipse RCP. Right now, I want a quick and dirty port where all i care
> about is embedding the application into eclipse enviroment. I do have
> plans to re-write the application in SWT/java later on.
> Is there any way in SWT to embed motif native apps?

There's not supported way, but it might be do-able on a per-platform
basis for a specific version of SWT. I've sent this to the SWT newsgroup.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Embed native app [message #521436 is a reply to message #521389] Wed, 17 March 2010 15:28 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 4
Registered: October 2009
Junior Member
Thank you Paul.

Ya, I am only looking to support Linux for now, which is what the original app is running on. motif app running on linux.

Jason
Re: Embed native app [message #523392 is a reply to message #521436] Fri, 26 March 2010 09:49 Go to previous message
Eclipse UserFriend
Originally posted by: kai.edinger.drexler-software.de

Am 17.03.2010 16:28, schrieb jason.bo.liu@gmail.com:
> Thank you Paul.
>
> Ya, I am only looking to support Linux for now, which is what the
> original app is running on. motif app running on linux.
> Jason

Like Paul Webster tells you, there's is no way to embed your motif
application directly in SWT. We have the same problem, and we decide to
use the following solution.

We bundle the c++ application in a plugin and use a middleware (CORBA)
to enable communication between java and c++. There are to ways to do
this. A simple eclipse plugin or you can use the OSGi (Equinox) Foregin
Application Access (OSGi R4 Compendium Specifications).

Kai
Previous Topic:Role-based security
Next Topic:Integrate XML Editor
Goto Forum:
  


Current Time: Thu Mar 28 22:45:01 GMT 2024

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

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

Back to the top