Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to get path of workbench
How to get path of workbench [message #181614] Wed, 09 April 2008 12:23 Go to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

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 #181625 is a reply to message #181614] Wed, 09 April 2008 12:26 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

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
Previous Topic:Initializing the model on diagram creation
Next Topic:Customized collapse
Goto Forum:
  


Current Time: Sat Apr 27 00:42:28 GMT 2024

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

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

Back to the top