Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/RefactorActionGroup.java')
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/RefactorActionGroup.java32
1 files changed, 16 insertions, 16 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/RefactorActionGroup.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/RefactorActionGroup.java
index 7b2a919a5..9d1f9a086 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/RefactorActionGroup.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/RefactorActionGroup.java
@@ -77,13 +77,13 @@ public class RefactorActionGroup extends ActionGroup {
parentMenu.appendToGroup(groupId, renameAction);
}
- @Override
+ @Override
public void fillActionBars(IActionBars actionBars) {
- actionBars.setGlobalActionHandler(ActionFactory.COPY.getId(), copyAction);
- actionBars.setGlobalActionHandler(ActionFactory.DELETE.getId(), deleteAction);
- actionBars.setGlobalActionHandler(ActionFactory.RENAME.getId(), renameAction);
- actionBars.setGlobalActionHandler(ActionFactory.MOVE.getId(), moveAction);
- }
+ actionBars.setGlobalActionHandler(ActionFactory.COPY.getId(), copyAction);
+ actionBars.setGlobalActionHandler(ActionFactory.DELETE.getId(), deleteAction);
+ actionBars.setGlobalActionHandler(ActionFactory.RENAME.getId(), renameAction);
+ actionBars.setGlobalActionHandler(ActionFactory.MOVE.getId(), moveAction);
+ }
@Override
public void updateActionBars() {
@@ -150,22 +150,22 @@ public class RefactorActionGroup extends ActionGroup {
.setActionDefinitionId(IWorkbenchCommandConstants.FILE_RENAME);
}
- private IStructuredSelection getSelection() {
- final ISelection selection= getContext().getSelection();
+ private IStructuredSelection getSelection() {
+ final ISelection selection= getContext().getSelection();
- if (!(selection instanceof IStructuredSelection))
- return new StructuredSelection();
+ if (!(selection instanceof IStructuredSelection))
+ return new StructuredSelection();
- return new StructuredSelection(Utils.getResources(((IStructuredSelection)selection).toArray()));
+ return new StructuredSelection(Utils.getResources(((IStructuredSelection)selection).toArray()));
}
- private IStructuredSelection getObjectSelection() {
- final ISelection selection= getContext().getSelection();
+ private IStructuredSelection getObjectSelection() {
+ final ISelection selection= getContext().getSelection();
- if (!(selection instanceof IStructuredSelection))
- return new StructuredSelection();
+ if (!(selection instanceof IStructuredSelection))
+ return new StructuredSelection();
- return (IStructuredSelection)selection;
+ return (IStructuredSelection)selection;
}
private boolean allResourcesAreOfType(IStructuredSelection selection, int resourceMask) {

Back to the top