Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How to get path of workbench
How to get path of workbench [message #418272] Wed, 09 April 2008 12:23 Go to next message
Tomas Zijdemans is currently offline Tomas ZijdemansFriend
Messages: 90
Registered: July 2009
Member
I now I saw this a few days ago, but I can't recall it.

How do I get the URI path to the workbench - IOW the path from where the
application was run?

PluginUI.getWorkbench()...something?


Best Regards,

Tomas Zijdemans
Re: How to get path of workbench [message #418274 is a reply to message #418272] Wed, 09 April 2008 12:26 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Tomas,

Do you mean ResourcesPlugin.getWorkspace()? It's best to be careful
with assumptions like "everything physically nested within the workspace
root's location...


Tomas Zijdemans wrote:
> I now I saw this a few days ago, but I can't recall it.
>
> How do I get the URI path to the workbench - IOW the path from where
> the application was run?
>
> PluginUI.getWorkbench()...something?
>
>
> Best Regards,
>
> Tomas Zijdemans


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:XML serialization of non-containment reference
Next Topic:EMF, WSDL and SOAP
Goto Forum:
  


Current Time: Thu Apr 25 22:19:58 GMT 2024

Powered by FUDForum. Page generated in 0.03523 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top