Skip to main content

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: 199
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: Tue Jun 19 22:21:40 GMT 2018

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

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

Back to the top