1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-14 19:55:45 +02:00

Bug 461194 - Update selection in AbstractResourceActionHandler when

evaluationContext set

Change-Id: I81e7568e844e16a5d13673dc2ce8ec149e01c497
Signed-off-by: William Riley <william.riley@renesas.com>
This commit is contained in:
William Riley 2015-03-02 13:10:37 +00:00 committed by Gerrit Code Review @ Eclipse.org
parent fe8b5e806d
commit 47b1b5c634

View file

@ -55,6 +55,7 @@ public abstract class AbstractResourceActionHandler extends AbstractHandler {
@Override
public void setEnabled(Object evaluationContext) {
this.evaluationContext = (IEvaluationContext) evaluationContext;
selection = convertSelection(this.evaluationContext, null);
}
protected IStructuredSelection getSelection() {