Command Framework + CheckoutOperation

McGuinness
Posts: 1
Joined: Wed Apr 02, 2008 8:36 am

Command Framework + CheckoutOperation

Postby McGuinness » Wed Apr 02, 2008 9:06 am

Hi,

We use Subversive and we want to automate a couple of very common tasks. We want to Check out and Check in directly from an action in a view we have created in a plugin.

I have read "Subversive Architecture Overview" and the source code of "org.polarion.team.svn.ui".

I'm trying to use CheckoutOperation and CommitOperation to do something like this:

Code: Select all

public class AutoChekoutAction extends AbstractRepositoryModifyWorkspaceAction {
   public void runImpl(IAction action) {
      IActionOperation op = new CheckoutOperation(???, false, null, true);
      if (op != null) {
         this.runScheduled(op);
      }
   }
}


What is the Hashmap parameter "checkoutMap"? Could anybody give me a couple of tips to implement it? Isn't there more advanced information than the architecture overview document?

Best Regards

Return to “Polarion Subversive - Eclipse Client for SVN”

Who is online

Users browsing this forum: No registered users and 2 guests