Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [pde-dev] view & projects

Sorry,

 

I’m still a newbie too. But there must be something in the editor your working with.

 

 

 

 

 

 

Yan

 


From: daz lee [mailto:dazlee4@xxxxxxxxxxx]
Sent: Wednesday, November 23, 2005 4:34 PM
To: Eclipse PDE general developers list.
Subject: Re: [pde-dev] view & projects

 

Thanks, but I don’t know "PROJECT" :S

 

Is there a way to get the file path of the editing file from a TextEditor? I'm using the multi page editor skeleton, then I could just parse out what I need?

 

Thanks

 

Daz

----- Original Message -----

From: Yan Périard

Sent: 23 November 2005 17:05

Subject: RE: [pde-dev] view & projects

 

To get a project filepath

 

IProject proj = ResourcesPlugin.getWorkspace().getRoot().getProject("PROJECT");

 

String completePath = ResourcesPlugin.getWorkspace().getRoot().getRawLocation().toFile().getAbsolutePath() + proj.getFullPath().toFile().getPath();

 

 

 

 

Yan

 

 


From: daz lee [mailto:dazlee4@xxxxxxxxxxx]
Sent: Wednesday, November 23, 2005 11:51 AM
To: Eclipse PDE general developers list.
Subject: [pde-dev] view & projects

 

Hello again

 

Ive been going through docs trying to find about communicating between views, all I can find is an API orientated event system which seemed pretty specific to selection of list's and tree's etc.

 

Any simpler, more flexible method?

 

And anyone? any way to get project's file path?

 

Thanks!!!! v v v v much

_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev


Back to the top