Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-11-2008, 05:33 PM
Member
 
Join Date: Nov 2008
Posts: 2
niretn is on a distinguished road
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
Sponsored Links
  #2 (permalink)  
Old 11-11-2008, 06:06 PM
Member
 
Join Date: Nov 2008
Posts: 6
smalcat is on a distinguished road
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, 06:56 PM
Member
 
Join Date: Nov 2008
Posts: 2
niretn is on a distinguished road
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, 10:45 PM
Member
 
Join Date: Nov 2008
Posts: 6
smalcat is on a distinguished road
oh silly me. I posted to the wrong thread.
Sorry
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


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

vB 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 08:17 PM
Debug JAR files used in an external application ragnarahk Eclipse 0 09-22-2008 07:36 PM
Linking files with Editor JavaForums Java Blogs 0 05-22-2008 12:00 AM
Creating jarfile containing external jarfiles gowry Advanced Java 44 04-08-2008 05:18 AM
External JavaScript files not loading sajut New To Java 0 02-15-2008 07:47 AM


All times are GMT +3. The time now is 01:24 PM.


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