Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Simple editor guidance requested
Simple editor guidance requested [message #43862] Thu, 22 May 2003 11:01 Go to next message
Eclipse UserFriend
No-one answered my posts last week when I was having a problem with my
first plug-in, so here's a more general question.

I wish to write a plug-in which provides an editor. The editor should:

o Be able to open specific types of files
o Perform an action to load those files
o Display some information
o Not require saving (there'll be no actual editing involved)
o Put the filename in the title tab
o Dispose of resources when the editor is closed
o Allow multiple files to be viewed, just like JDT etc do
o Not die when I try to close the editor

Apart from the last two, it's looking good - but those are very
important.

Currently I'm inheriting from EditorPart, and I'm getting problems
when:

o Closing the editor
o Closing the workspace with the editor still open
o Trying to open a second file

For more details about these problems, see my other post in here from
last week (title "Re: Image display/information view available?")

I feel like I'm so close to having something that would be genuinely
useful to me - but currently there are just far too many errors.

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Re: Simple editor guidance requested [message #44046 is a reply to message #43862] Thu, 22 May 2003 12:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: simon.ibm.oti.lab

I've replied to your other posting.

Simon :-)

"Jon Skeet" <skeet@pobox.com> wrote in message
news:MPG.1936f6a4524c8f09897e8@news.eclipse.org...
> No-one answered my posts last week when I was having a problem with my
> first plug-in, so here's a more general question.
>
> I wish to write a plug-in which provides an editor. The editor should:
>
> o Be able to open specific types of files
> o Perform an action to load those files
> o Display some information
> o Not require saving (there'll be no actual editing involved)
> o Put the filename in the title tab
> o Dispose of resources when the editor is closed
> o Allow multiple files to be viewed, just like JDT etc do
> o Not die when I try to close the editor
>
> Apart from the last two, it's looking good - but those are very
> important.
>
> Currently I'm inheriting from EditorPart, and I'm getting problems
> when:
>
> o Closing the editor
> o Closing the workspace with the editor still open
> o Trying to open a second file
>
> For more details about these problems, see my other post in here from
> last week (title "Re: Image display/information view available?")
>
> I feel like I'm so close to having something that would be genuinely
> useful to me - but currently there are just far too many errors.
>
> --
> Jon Skeet - <skeet@pobox.com>
> http://www.pobox.com/~skeet/
> If replying to the group, please do not mail me too
Re: Simple editor guidance requested [message #44202 is a reply to message #44046] Thu, 22 May 2003 12:54 Go to previous message
Eclipse UserFriend
Simon Arsenault <simon@ibm.oti.lab> wrote:
> I've replied to your other posting.

Many thanks. The plugin now works fine, as far as I can see. Very
helpful I find it too - if anyone wants it (it's absolutely tiny - 6K!)
let me know...

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Previous Topic:creating View
Next Topic:Image display/information view available?
Goto Forum:
  


Current Time: Mon Jul 14 14:16:18 EDT 2025

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

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

Back to the top