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/DefaultSynchronizePageActions.java')
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/DefaultSynchronizePageActions.java34
1 files changed, 17 insertions, 17 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/DefaultSynchronizePageActions.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/DefaultSynchronizePageActions.java
index 3afe5d6e2..9e49dd9fe 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/DefaultSynchronizePageActions.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/DefaultSynchronizePageActions.java
@@ -55,26 +55,26 @@ public class DefaultSynchronizePageActions extends SynchronizePageActionGroup {
}
}
- @Override
+ @Override
public void fillActionBars(IActionBars actionBars) {
- if (openWithActions != null) openWithActions.fillActionBars(actionBars);
- if (refactorActions != null) refactorActions.fillActionBars(actionBars);
- if (actionBars != null && showPreferences != null) {
- IMenuManager menu = actionBars.getMenuManager();
- appendToGroup(menu, ISynchronizePageConfiguration.PREFERENCES_GROUP, showPreferences);
- }
- }
+ if (openWithActions != null) openWithActions.fillActionBars(actionBars);
+ if (refactorActions != null) refactorActions.fillActionBars(actionBars);
+ if (actionBars != null && showPreferences != null) {
+ IMenuManager menu = actionBars.getMenuManager();
+ appendToGroup(menu, ISynchronizePageConfiguration.PREFERENCES_GROUP, showPreferences);
+ }
+ }
- @Override
+ @Override
public void updateActionBars() {
- if (openWithActions != null) openWithActions.updateActionBars();
- if (refactorActions != null) refactorActions.updateActionBars();
- }
+ if (openWithActions != null) openWithActions.updateActionBars();
+ if (refactorActions != null) refactorActions.updateActionBars();
+ }
@Override
public void fillContextMenu(IMenuManager manager) {
- final IContributionItem fileGroup = findGroup(manager, ISynchronizePageConfiguration.FILE_GROUP);
+ final IContributionItem fileGroup = findGroup(manager, ISynchronizePageConfiguration.FILE_GROUP);
if (openWithActions != null && fileGroup != null) {
openWithActions.fillContextMenu(manager, fileGroup.getId());
}
@@ -92,9 +92,9 @@ public class DefaultSynchronizePageActions extends SynchronizePageActionGroup {
if (openWithActions != null) openWithActions.dispose();
}
- @Override
+ @Override
public void setContext(ActionContext context) {
- if (openWithActions != null) openWithActions.setContext(context);
- if (refactorActions != null) refactorActions.setContext(context);
- }
+ if (openWithActions != null) openWithActions.setContext(context);
+ if (refactorActions != null) refactorActions.setContext(context);
+ }
}

Back to the top