Simple editor guidance requested [message #43862] |
Thu, 22 May 2003 11:01  |
Eclipse User |
|
|
|
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
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07365 seconds