Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Need direction on simple"terminal" plugin
Need direction on simple"terminal" plugin [message #310342] Tue, 28 November 2006 17:13 Go to next message
Eclipse UserFriend
Originally posted by: pete.valadd.com

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.
Re: Need direction on simple"terminal" plugin [message #310363 is a reply to message #310342] Wed, 29 November 2006 11:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

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.htm l
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
Re: Need direction on simple"terminal" plugin [message #310380 is a reply to message #310363] Wed, 29 November 2006 20:02 Go to previous message
Eclipse UserFriend
Originally posted by: pete.valadd.com

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.htm l
> 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
Previous Topic:Enabling/Disabling "checkability" of elements in CheckboxTreeViewer
Next Topic:IConfigurationElement deprecated?
Goto Forum:
  


Current Time: Thu May 08 06:21:25 EDT 2025

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

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

Back to the top