Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-11-2008, 03:33 PM
Member
 
Join Date: Nov 2008
Posts: 2
Rep Power: 0
niretn is on a distinguished road
Question 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!
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 11-11-2008, 04:06 PM
Member
 
Join Date: Nov 2008
Posts: 6
Rep Power: 0
smalcat is on a distinguished road
Default
I am not sure but have you tried
Window->Preferences->General->Editors->Text Editors->Annotations->Occurences

Hope it helps
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 11-11-2008, 04:56 PM
Member
 
Join Date: Nov 2008
Posts: 2
Rep Power: 0
niretn is on a distinguished road
Default
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)
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 11-11-2008, 08:45 PM
Member
 
Join Date: Nov 2008
Posts: 6
Rep Power: 0
smalcat is on a distinguished road
Default
oh silly me. I posted to the wrong thread.
Sorry
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening Text Files with Default System Editor Pesch Advanced Java 5 10-08-2008 06:17 PM
Debug JAR files used in an external application ragnarahk Eclipse 0 09-22-2008 05:36 PM
Linking files with Editor JavaForums Java Blogs 0 05-21-2008 10:00 PM
Creating jarfile containing external jarfiles gowry Advanced Java 44 04-08-2008 03:18 AM
External JavaScript files not loading sajut New To Java 0 02-15-2008 05:47 AM


All times are GMT +2. The time now is 12:31 AM.



VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org