Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Coutable2019-01-30 13:17:19 +0000
committerGuillaume Coutable2019-01-30 13:17:19 +0000
commit40f2d17a89b96fb840b2fdce4dfc50f49a52499b (patch)
treea8e08a499018ded393e3102f912abe8cc1f0be9a
parentd34f2a9c556b28747ad0894ac65df14a4a5a6a34 (diff)
downloadorg.eclipse.eef-40f2d17a89b96fb840b2fdce4dfc50f49a52499b.tar.gz
org.eclipse.eef-40f2d17a89b96fb840b2fdce4dfc50f49a52499b.tar.xz
org.eclipse.eef-40f2d17a89b96fb840b2fdce4dfc50f49a52499b.zip
[539718] Improve up/down action of the EEF reference widget
Updates the selection using the up/down action of the EEF reference widget. Change-Id: I1c7bf3a0ec8e0580ac3cedd797bec7994252d0a9 Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
-rw-r--r--plugins/org.eclipse.eef.ide.ui.ext.widgets.reference/src/org/eclipse/eef/ide/ui/ext/widgets/reference/internal/EEFExtMultipleReferenceLifecycleManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.eef.ide.ui.ext.widgets.reference/src/org/eclipse/eef/ide/ui/ext/widgets/reference/internal/EEFExtMultipleReferenceLifecycleManager.java b/plugins/org.eclipse.eef.ide.ui.ext.widgets.reference/src/org/eclipse/eef/ide/ui/ext/widgets/reference/internal/EEFExtMultipleReferenceLifecycleManager.java
index f1334d4c1..e458ef7c9 100644
--- a/plugins/org.eclipse.eef.ide.ui.ext.widgets.reference/src/org/eclipse/eef/ide/ui/ext/widgets/reference/internal/EEFExtMultipleReferenceLifecycleManager.java
+++ b/plugins/org.eclipse.eef.ide.ui.ext.widgets.reference/src/org/eclipse/eef/ide/ui/ext/widgets/reference/internal/EEFExtMultipleReferenceLifecycleManager.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2016, 2018 Obeo.
+ * Copyright (c) 2016, 2019 Obeo.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
@@ -327,6 +327,7 @@ public class EEFExtMultipleReferenceLifecycleManager extends AbstractEEFExtRefer
values.move(Math.min(values.size() - 1, values.indexOf(object) + 1), values.indexOf(object));
}
}
+ this.tableViewer.refresh();
}
/**

Back to the top