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: 217
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 SoebkeFriend
Messages: 3
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: Wed Sep 25 06:07:46 GMT 2024

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

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

Back to the top