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

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