DESCRIPTION

Include 'Rebase' action in projects context menu

Accessing 'rebase' command only form 'Repositories view' isn't obvious
for newcomers. This action should be also included in projects context
menu same as commit and add actions.

Not only 'Rebase' action is added, but also 'Continue', 'Skip' and
'Abort' actions are added. When repository is in 'SAFE' state only
'Rebase' action is shown in context menu, but when repository state
changes to 'REBASING_INTERACTIVE' 'Rebase' action isn't included but
'Continue', 'Skip' and 'Abort' actions are show in context menu.

Change-Id: Id6cb005ff726083872f1f5c88a6592b12d3e4c65
Signed-off-by: Leslie Stephenson xxx@xxx.xxx


COMMENTS

author: Leslie Stephenson
date: 2011-03-29 15:07:07.000000000

Uploaded patch set 5.

-------------------------------------
author: Brenden Conley
date: 2011-03-29 15:07:11.000000000

Patch Set 5:

Build Started https://hudson.eclipse.org/sandbox/job/egit.gerrit/229/ 

-------------------------------------
author: Brenden Conley
date: 2011-03-29 15:11:13.000000000

Patch Set 5: Build Successful

Build Successful 
 
https://hudson.eclipse.org/sandbox/job/egit.gerrit/229/ : SUCCESS

-------------------------------------
author: Willow Cantrell
date: 2011-03-29 15:25:04.000000000

Patch Set 5: I would prefer that you didn't submit this

(4 inline comments)



Line:86, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commands/shared/AbstractSharedCommandHandler.java -> ...cannot be determined

Line:102, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commands/shared/AbstractSharedCommandHandler.java -> ...cannot be determined

Line:36, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/ResourcePropertyTester.java -> mapping may be null at this point

Line:47, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commands/shared/RebaseCurrentRefCommand.java -> You can't simply cast here (I learned this the hard way; the framework can return just about anthing here). Check the returned object for instanceof IStructuredSelection and simply return null otherwise.

-------------------------------------
author: Leslie Stephenson
date: 2011-03-29 19:10:14.000000000

Patch Set 5: (4 inline comments)



Line:86, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commands/shared/AbstractSharedCommandHandler.java -> Done

Line:102, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commands/shared/AbstractSharedCommandHandler.java -> Done

Line:36, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/ResourcePropertyTester.java -> Done

Line:47, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commands/shared/RebaseCurrentRefCommand.java -> Thank you this hint.

Done

-------------------------------------
