Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/subscriber/CVSParticipantAction.java11
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/SynchronizeModelAction.java9
2 files changed, 9 insertions, 11 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/subscriber/CVSParticipantAction.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/subscriber/CVSParticipantAction.java
index 4b00b5a32..bfa265324 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/subscriber/CVSParticipantAction.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/subscriber/CVSParticipantAction.java
@@ -10,8 +10,6 @@
*******************************************************************************/
package org.eclipse.team.internal.ccvs.ui.subscriber;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.team.internal.ccvs.ui.Policy;
import org.eclipse.team.internal.ui.Utils;
import org.eclipse.team.ui.synchronize.ISynchronizePageConfiguration;
@@ -41,13 +39,4 @@ public abstract class CVSParticipantAction extends SynchronizeModelAction {
}
return name.substring(lastDot + 1) + "."; //$NON-NLS-1$
}
-
- /**
- * Set the selection of the action to the given object
- * @param input the selected object
- */
- public void setSelection(Object input) {
- IStructuredSelection selection = new StructuredSelection(input);
- selectionChanged(selection);
- }
}
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/SynchronizeModelAction.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/SynchronizeModelAction.java
index 61a420308..7d7f82036 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/SynchronizeModelAction.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/SynchronizeModelAction.java
@@ -174,4 +174,13 @@ public abstract class SynchronizeModelAction extends BaseSelectionListenerAction
public ISynchronizePageConfiguration getConfiguration() {
return configuration;
}
+
+ /**
+ * Set the selection of the action to the given object
+ * @param input the selected object
+ */
+ public void setSelection(Object input) {
+ IStructuredSelection selection = new StructuredSelection(input);
+ selectionChanged(selection);
+ }
} \ No newline at end of file

Back to the top