Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2004-05-05 23:59:52 -0400
committerMichael Valenta2004-05-05 23:59:52 -0400
commit9b4f2e6cd3263be03c15d47f775f12af586549fb (patch)
tree6fff8bc90bdc1d98d89182994304a2099d5b4943
parent0e63e706a5f3f46dd4859d6b09c1a5a46ff1871c (diff)
downloadeclipse.platform.team-9b4f2e6cd3263be03c15d47f775f12af586549fb.tar.gz
eclipse.platform.team-9b4f2e6cd3263be03c15d47f775f12af586549fb.tar.xz
eclipse.platform.team-9b4f2e6cd3263be03c15d47f775f12af586549fb.zip
*** empty log message ***
-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