Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Integrating my plugin with Clearcase team support
Integrating my plugin with Clearcase team support [message #317593] Mon, 09 July 2007 19:27 Go to next message
Warwick Burrows is currently offline Warwick BurrowsFriend
Messages: 132
Registered: July 2009
Location: Austin, TX
Senior Member
Hi, I'm looking for information on how to properly integrate my plugin
with eclipse team support such that modifications to files will
automatically cause the Clearcase team plugin to intercept the request,
prompt to checkout the file, create an activity when needed, etc, just as
it does when working with files in a clearcase integrated project. I find
that when I run my plugin and edit files that are under source control
that the clearcase plugin (CCRC) is not prompting to create activities and
add new files to source control and not always prompting to checkout files
even when an activity is available. Is there any documentation on the
correct way to manipulate files so that the team interfaces are called?
I'm wrapping my filesystem interaction in IWorkspaceRunnable objects as is
suggested in the brief documentation on integration with the workbench and
am using the IFile, IFolder, etc objects to create or modify the files and
folders. I would appreciate any pointers to documentation or examples
that can help.

Thanks,
Warwick
Re: Integrating my plugin with Clearcase team support [message #317629 is a reply to message #317593] Tue, 10 July 2007 17:13 Go to previous message
Michael Valenta is currently offline Michael ValentaFriend
Messages: 560
Registered: July 2009
Senior Member
Warwick,

You need to call the IWorkspace#validateEdit method to request that any
read-only files be made writable by the repository provider before
allowing the user to make any changes in an editor.

Michael

Warwick wrote:
> Hi, I'm looking for information on how to properly integrate my plugin
> with eclipse team support such that modifications to files will
> automatically cause the Clearcase team plugin to intercept the request,
> prompt to checkout the file, create an activity when needed, etc, just
> as it does when working with files in a clearcase integrated project. I
> find that when I run my plugin and edit files that are under source
> control that the clearcase plugin (CCRC) is not prompting to create
> activities and add new files to source control and not always prompting
> to checkout files even when an activity is available. Is there any
> documentation on the correct way to manipulate files so that the team
> interfaces are called? I'm wrapping my filesystem interaction in
> IWorkspaceRunnable objects as is suggested in the brief documentation on
> integration with the workbench and am using the IFile, IFolder, etc
> objects to create or modify the files and folders. I would appreciate
> any pointers to documentation or examples that can help.
>
> Thanks,
> Warwick
>
>
Previous Topic:Is there somebody know"Read me trim" ?
Next Topic:Command Framework -- Invoking both UI and non-UI commands
Goto Forum:
  


Current Time: Fri Jul 19 12:20:01 GMT 2024

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

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

Back to the top