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: NoneSeverity: 5 - Blocker
Priority: 7 - HighStatus: In Progress
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
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)

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:

Hi,

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 :-/

cheers
Fabrizio

(file #2550)

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

Thanks,

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

Anonymous
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.

Thanks.

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

It's version 3.3

PS
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.

Anonymous
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 :)

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

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 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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 13 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    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