Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to "lock" workspace?
How to "lock" workspace? [message #536682] Sat, 29 May 2010 19:40 Go to next message
Craig Foote is currently offline Craig Foote
Messages: 195
Registered: July 2009
Senior Member
We have an RCP application that, unlike eclipse, allows two running
instances to use the same workspace location. How can I prevent this and
produce the same "Workspace Unavailable" error dialog? If it's default
behavior, what might we be doing wrong that allows two instances to use
the same workspace?

Thanks,
Craig
Re: How to "lock" workspace? [message #537766 is a reply to message #536682] Thu, 03 June 2010 15:14 Go to previous message
Heinrich Soebke is currently offline Heinrich Soebke
Messages: 2
Registered: July 2009
Junior Member
You could retrieve the location of the workspace and call the method lock() on Location

Previous Topic:Activities to control preference page visibility
Next Topic:Plug-in like a project-wizard
Goto Forum:
  


Current Time: Mon Sep 22 22:26:49 GMT 2014

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

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