Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/SelectableIUsPage.java')
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/SelectableIUsPage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/SelectableIUsPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/SelectableIUsPage.java
index 897df3669..16dfec241 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/SelectableIUsPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/SelectableIUsPage.java
@@ -112,7 +112,7 @@ public class SelectableIUsPage extends ResolutionStatusPage implements IResoluti
// If the checkEvent is on a locked update element, uncheck it and select it.
if (event.getElement() instanceof AvailableUpdateElement) {
AvailableUpdateElement checkedElement = (AvailableUpdateElement) event.getElement();
- if (checkedElement.isLocked()) {
+ if (checkedElement.isLockedForUpdate()) {
event.getCheckable().setChecked(checkedElement, false);
// Select the element so that the locked description is displayed
CheckboxTableViewer viewer = ((CheckboxTableViewer) event.getSource());
@@ -237,7 +237,7 @@ public class SelectableIUsPage extends ResolutionStatusPage implements IResoluti
for (int i = 0; i < initialSelections.length; i++) {
if (initialSelections[i] instanceof AvailableUpdateElement) {
AvailableUpdateElement element = (AvailableUpdateElement) initialSelections[i];
- if (element.isLocked()) {
+ if (element.isLockedForUpdate()) {
continue;
}
}

Back to the top