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 FooteFriend
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?

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 SoebkeFriend
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 Nov 30 06:16:20 GMT 2015

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

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