I am using RCP (Rich Client Platform) to create a small utility. When using RCP I want to make use of UI a Plug-in (that extends AbstractUIPlugin class).
The UI Plug-in is basically a CVS plug-in for Eclipse. The CVS plugin allows to right click a Java file and then make use of 'Team' menu and Check-in or Check-out files. Now because the CVS Plug-in is a UI plugin, so I can't access it from the RCP client. Also the CVS Plug-in is coupled with the Eclipse UI I can only check-in and check-out files by going to the navigator window, selecting the file, right clicking it, going to 'Team' menu and selecting 'Check-in' option. Right ??
What I want to do is to access the CVS Plugin like this: I make an update into a file using my RCP client, then (programmatically) select the same file in the Navigator window, (programmatically) right click it, (programmatically) select the 'team' menu and (programmatically) select the check-in option. All this I will have to do programmatically. So which of the classes or interfaces I should look into the Eclipse API to implement such a functionality in my RCP client ??
If you have an alternative way to achieve the same functionality then please suggest.