[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: Need direction on simple"terminal" plugin

Thanks Eric,

I had found those topics and, although some are fairly good, they didn't address what I needed, specifically. Your comment:

> Embedding Swing in a plug-in is a specialty topic that requires some
> special handling.

is kind of what I am looking for. The "Swing" articles seems to involve RCP rather than a "direct" plugin. I'll continue to look and hope that someone will see this post and offer some additional advise. I think there was someone who posted a similar query here back on the 22nd ("Plugin development: integration of external editor") which has gotten no replies. Perhaps this is harder than it looks.

There is an article on IBM's site that reviews something similar:
http://www-128.ibm.com/developerworks/opensource/library/os-swing/
I may take another look at it.

Thanks for your time,

Pete

Eric Rizzo wrote:
Pete Helgren wrote:
I have an existing swing application that connects to host and starts a terminal session. I would like to make this a plugin that displays similar to a browser/editor in the IDE as a tab. I have looked at several examples and scoured the Internet looking for a simple example but have found none. I created an RCP from this swing app using about 8 lines of code but it displays as a separate window. I want it to "snap in" to the IDE as a tabbed window.

What is the easiest way to do this? Is there a simple example that shows how to take an existing swing application and create a plugin that "snaps in" to the IDE? (sorry if the terminology is wrong) I am new to plugin development and Swing development so I need a very clear, step by step that explains how this is accomplished.


To begin with, the Eclipse Help includes a tutorial on writing plugins. Choose Help > Welcome, and on the welcome page click the Tutorials button.


In addition, here are some articles about writing Eclipse plug-ins in general.
http://www.eclipse.org/articles/Article-PDE-does-plugins/PDE-intro.html
http://www.eclipse.org/articles/Article-Plug-in-architecture/plugin_architecture.html


http://www.eclipse.org/articles/viewArticle/ViewArticle2.html
http://www.onjava.com/pub/a/onjava/2005/02/09/eclipse.html


Embedding Swing in a plug-in is a specialty topic that requires some special handling.


Hope this helps,
    Eric