Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Bricon2013-11-29 13:04:12 -0500
committerFred Bricon2013-11-29 13:04:12 -0500
commitf9bd4d0c07839faa139d18545cff39b256cc11af (patch)
treef727ad0ffb63c56a44d172101066cf71de24fceb
parentf2359b72d4e27f0dd785e93d72f76055f92efe4b (diff)
downloadm2e-core-f9bd4d0c07839faa139d18545cff39b256cc11af.tar.gz
m2e-core-f9bd4d0c07839faa139d18545cff39b256cc11af.tar.xz
m2e-core-f9bd4d0c07839faa139d18545cff39b256cc11af.zip
422667 : fix issue with OOD nested projects not being selected
Signed-off-by: Fred Bricon <fbricon@gmail.com>
-rw-r--r--org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/components/NestedProjectsComposite.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/components/NestedProjectsComposite.java b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/components/NestedProjectsComposite.java
index b0d67c04..a207c9a4 100644
--- a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/components/NestedProjectsComposite.java
+++ b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/components/NestedProjectsComposite.java
@@ -280,7 +280,7 @@ public class NestedProjectsComposite extends Composite implements IMenuListener
private int computeOutOfDateProjectsCount() {
int outOfDateProjectsCount = 0;
- for(IProject p : projects) {
+ for(IProject p : projectPaths.values()) {
if(requiresUpdate(p) && !codebaseViewer.getChecked(p)) {
outOfDateProjectsCount++ ;
}
@@ -289,9 +289,9 @@ public class NestedProjectsComposite extends Composite implements IMenuListener
}
private void includeOutOfDateProjects() {
- for(IProject project : projects) {
+ for(IProject project : projectPaths.values()) {
if(requiresUpdate(project)) {
- codebaseViewer.setSubtreeChecked(project, true);
+ codebaseViewer.setChecked(project, true);
}
}
updateSelectedProjects();

Back to the top