[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [Subclipse-users] Opening a old revision of a binary file

From: LIRA Olavo <Olavo.LIRA_at_gemalto.com>
Date: 2006-08-21 20:26:01 CEST

Hi Mark,

        Thanks for the effort; I'll try to see in all my books about
eclipse plug-in how to get the IPath for a file and how to open this
file with a the editor associated with the extension ok? As soon as I
have some tip I'll let you know.

Thanks,

Olavo Lira

-----Original Message-----
From: Mark Phippard [mailto:markp@softlanding.com]
Sent: Friday, August 18, 2006 10:10 PM
To: users@subclipse.tigris.org
Subject: RE: [Subclipse-users] Opening a old revision of a binary file

"LIRA Olavo" <Olavo.LIRA@gemalto.com> wrote on 08/18/2006 08:16:06 PM:

> You're right, I've just tried with CVS and it doesn't support it
> also. I guess I can't call it a bug but rather a limitation. So in
order
> to deal with this behavior, now I am saying to the people that use SVN
> in here to:

It looks like the code will open the file in the right editor, provided
that it is an Eclipse editor. In order to open an external editor, your

editor input has to implement IPathEditorInput, and in order to
implement
that, you have to be able to provide an IPath for the item. I think
this
is where things fall apart as in order to have an IPath the file has to
exist in your workspace. If someone can tell me a way to get an IPath
for
an external file, I could look into getting the file into a /tmp file
and
then open an external editor. I do not know how to get an IPath for a
file outside the workspace.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Mon Aug 21 20:26:39 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.