bugeclox - Bugs: bug #9456, open a file that is not a resource...

Show feedback again

bug #9456: open a file that is not a resource in eclipse

Submitted by:  None
Submitted on:  Thu 05 Jul 2007 12:55:26 PM UTC  
Category: doxyfile editorSeverity: 5 - Blocker
Priority: 7 - HighStatus: Duplicate
Privacy: PublicAssigned to: Andre Bossert <anb0s>
Originator Email: -unavailable-Open/Closed: Closed
Eclipse Release: 3.3Release: 0.6.3
Operating System: NoneFixed Release: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Fri 10 Apr 2015 06:37:40 PM UTC, comment #7:

moved to https://github.com/anb0s/eclox/issues/68

Andre Bossert <anb0s>
Project AdministratorIn charge of this item.
Tue 10 Jul 2007 09:37:47 PM UTC, comment #6:

Wow ! You are the first user that submitted a patch. Thank you and congratulation :)

I will integrate your patch to the offical sources as soon as eclox 0.6.4 will released (last version supporting eclipse 3.1 and 3.2).

Thanks again :)

Guillaume Brocker <gbrocker>
Project Administrator
Tue 10 Jul 2007 07:09:18 PM UTC, comment #5:


I did some small changes to support eclipse3.3 IURIEditorInput and I have attached a patch generated from eclipse.
Note that it only supports URI that can be converted to an IPath.

I am not sure how to handle invalid input, so I'm just throwing a PartInitException :-/


(file #2550)

Fabrizio Iannetti <fabrizioiannetti>
Fri 06 Jul 2007 12:34:11 PM UTC, comment #4:


I'll try to grab the sources over the week-end :)

Fri 06 Jul 2007 06:34:39 AM UTC, comment #3:

I've not tested eclox on eclipse 3.3 yet. I even don't have installed eclipse 3.3 but I will soon.

I agree with you, FileStoreEditorInput is new and eclox will have to support it in a future release. I want to release one more eclox version for eclipse 3.1 and 3.2 before supporting new API provided by eclipse 3.3.

Concerning the source code, it is hosted on a cvs repository (for historycal reasons). Here is a command sample that will let you fetch all sources :

cvs -d :pserver:anonymous@cvs.gna.org:/cvs/eclox co eclox eclox.core eclox.core.doxygen eclox.ui eclox.help

And if you are still willing to help, you should look at the class eclox.ui.editor.Editor (in the project eclox.ui) that is responsible for handling the input file.


Guillaume Brocker <gbrocker>
Project Administrator
Thu 05 Jul 2007 04:04:17 PM UTC, comment #2:

It's version 3.3

Looks like they introduced a new FileStoreEditorInput class to deal with files outside the workspace.

I was willing to help a bit more :) and I tried to get the source code from svn (using subclipse) using http://svn.gna.org/svn/eclox as root url, but the trunk seems to be empty.

Thu 05 Jul 2007 01:01:47 PM UTC, comment #1:

Could you tell more about eclipse version your are using ?

Guillaume Brocker <gbrocker>
Project Administrator
Thu 05 Jul 2007 12:55:26 PM UTC, original submission:

try to drag and drop a file (existing outside the workspace) in the clipse editor pane. I got the following error:

Error opening the editor.
org.eclipse.ui.ide.FileStoreEditorInput cannot be cast to org.eclipse.ui.IFileEditorInput

would be nice being able to open external files too, even if it is not so common in eclipse :)



(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #3111:  Desktop.ini added by None (179B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by anb0s (Updated the item)
  • -unavailable- added by fabrizioiannetti (Updated the item)
  • -unavailable- added by gbrocker (Posted a comment)
  • -unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 18 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 10 Apr 2015 06:37:40 PM UTCanb0sStatusReady For Test=>Duplicate
    Tue 07 Apr 2015 08:37:07 AM UTCanb0sCategoryNone=>doxyfile editor
      StatusIn Progress=>Ready For Test
      Assigned toNone=>anb0s
    Tue 24 Nov 2009 02:52:04 PM UTCgbrockerAssigned togbrocker=>None
    Wed 28 Nov 2007 03:19:16 PM UTCgbrockerPriority1 - Later=>7 - High
    Wed 31 Oct 2007 01:56:05 AM UTCNoneAttached File-=>Added Desktop.ini, #3111
    Tue 10 Jul 2007 09:37:47 PM UTCgbrockerStatusConfirmed=>In Progress
    Tue 10 Jul 2007 07:09:18 PM UTCfabrizioiannettiAttached File-=>Added fileinputpatch.txt, #2550
    Fri 06 Jul 2007 06:45:55 AM UTCgbrockerEclipse ReleaseNone=>3.3
    Fri 06 Jul 2007 06:34:39 AM UTCgbrockerSeverity4 - Important=>5 - Blocker
      Priority7 - High=>1 - Later
      StatusNeed Info=>Confirmed
    Thu 05 Jul 2007 01:01:47 PM UTCgbrockerSeverity1 - Wish=>4 - Important
      Priority5 - Normal=>7 - High
      StatusNone=>Need Info
      Assigned toNone=>gbrocker
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup