Results 1 to 4 of 4
  1. #1
    niretn is offline Member
    Join Date
    Nov 2008
    Posts
    2
    Rep Power
    0

    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!

  2. #2
    smalcat is offline Member
    Join Date
    Nov 2008
    Posts
    6
    Rep Power
    0

    Default

    I am not sure but have you tried
    Window->Preferences->General->Editors->Text Editors->Annotations->Occurences

    Hope it helps

  3. #3
    niretn is offline Member
    Join Date
    Nov 2008
    Posts
    2
    Rep Power
    0

    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)

  4. #4
    smalcat is offline Member
    Join Date
    Nov 2008
    Posts
    6
    Rep Power
    0

Similar Threads

  1. Opening Text Files with Default System Editor
    By Pesch in forum Advanced Java
    Replies: 5
    Last Post: 10-08-2008, 06:17 PM
  2. Debug JAR files used in an external application
    By ragnarahk in forum Eclipse
    Replies: 0
    Last Post: 09-22-2008, 05:36 PM
  3. Creating jarfile containing external jarfiles
    By gowry in forum Advanced Java
    Replies: 44
    Last Post: 04-08-2008, 03:18 AM
  4. External JavaScript files not loading
    By sajut in forum New To Java
    Replies: 0
    Last Post: 02-15-2008, 05:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •