Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilos Kleint2010-12-23 04:14:21 -0500
committerMilos Kleint2010-12-23 04:14:43 -0500
commit909ecc20570b118d1300a8601796fd80132c7b52 (patch)
treee95c5890ed3a1edab883d7224e025b234fd74234
parent9d264509f45a73cb77c916348b708224efdb500d (diff)
downloadm2e-core-909ecc20570b118d1300a8601796fd80132c7b52.tar.gz
m2e-core-909ecc20570b118d1300a8601796fd80132c7b52.tar.xz
m2e-core-909ecc20570b118d1300a8601796fd80132c7b52.zip
add todo
-rw-r--r--org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/ListEditorComposite.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/ListEditorComposite.java b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/ListEditorComposite.java
index f9b12fe4..45e64d0f 100644
--- a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/ListEditorComposite.java
+++ b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/composites/ListEditorComposite.java
@@ -190,6 +190,7 @@ public class ListEditorComposite<T> extends Composite {
//Special case, as it makes no sense to enable if it there's nothing selected.
updateRemoveButton();
} else {
+ //TODO: mkleint this is fairly dangerous thing to do, each button shall be handled individually based on context.
entry.getValue().setEnabled(!readOnly);
}
}

Back to the top