Results 1 to 4 of 4
- 11-11-2008, 03:33 PM #1
Member
- Join Date
- Nov 2008
- Posts
- 2
- Rep Power
- 0
creating a RCP editor for external files
Hi,
I could really use your help on something I can't figure out..
I want to add an editor on my RCP, for external files. the normal eclipse editor will do.
I created the extension point, and all is well.
But I can't seem to be able to open the editor! the OpenEditor function needs an IFILE as an argument, and i can't give it one as I need to use external files.
The only other solution I found is to use the FileStore class. in this class, I manage to open the file, but in some default lousy editor (there is "editor id" parameter when using filestore). I tried to get passed it, but the eclipse editors needs to get only a "FileEditorInput" class, and again needs an IFILE from the workspace for it.
Has any of you tried it, or could referance me to some good widget
thanks a lot!
- 11-11-2008, 04:06 PM #2
Member
- Join Date
- Nov 2008
- Posts
- 6
- Rep Power
- 0
I am not sure but have you tried
Window->Preferences->General->Editors->Text Editors->Annotations->Occurences
Hope it helps
- 11-11-2008, 04:56 PM #3
Member
- Join Date
- Nov 2008
- Posts
- 2
- Rep Power
- 0
hi,
thx for the answer, but I'm not sure I understand you..
the annotations menu is for tweaking the editor, I'm currently still stuck at openning one (: (in rich client)
- 11-11-2008, 08:45 PM #4
Member
- Join Date
- Nov 2008
- Posts
- 6
- Rep Power
- 0
Similar Threads
-
Opening Text Files with Default System Editor
By Pesch in forum Advanced JavaReplies: 5Last Post: 10-08-2008, 06:17 PM -
Debug JAR files used in an external application
By ragnarahk in forum EclipseReplies: 0Last Post: 09-22-2008, 05:36 PM -
Creating jarfile containing external jarfiles
By gowry in forum Advanced JavaReplies: 44Last Post: 04-08-2008, 03:18 AM -
External JavaScript files not loading
By sajut in forum New To JavaReplies: 0Last Post: 02-15-2008, 05:47 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks