Eclipse plugin: How to catch the load event of a repository workspace
![]()
Josh Bambrick (21●1●3●5)
| asked Aug 27 '12, 6:39 p.m.
edited Aug 28 '12, 7:03 a.m. by Ralph Schoon (63.3k●3●36●46)
I am working on a plugin for Eclipse that allows me to catch the load event of a repository work space.
Is it possible to catch a repository's load event before the work space is loaded?
What is the name of the load event that I am looking for?
|
One answer
![]()
Geoffrey Clemm (30.1k●3●30●35)
| answered Sep 06 '12, 10:36 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
When you say "the load event", do you mean the event that causes a files to be downloaded from RTC to local disk? If so, note that this is just one of the many ways that a user can access the content of a file. For example, they can directly browse RTC repository files in Eclipse without loading them, they can use the Visual Studio IDE, they can use the scm command line, they can use the MS-SCCI integration, they can use the WebUI, or they can use the Microsoft Windows Explorer. What were you hoping to achieve by catching that event?
Comments Hi Geoff, our intent is to prevent loading in certain situations.
These would be based on a specific component. The group involved would not be using Visual Studio or the MS-SCCI integration. They do all of their work either in Eclipse or the command line. The client machines involved are running Linux. Our thought is that if we could intercept the event that initiates a Repository Workspace load then we could create a precondition plug-in to prevent loading based on the criteria above. ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
To my knowledge, only operations that modify server data are currently enabled for process. So since a "load" does not modify server data, it is not a process-enabled operation, so unfortunately, you cannot add a process precondition to it. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.