mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 14:15:23 +02:00
Enable plug-in activation in the launch descriptor context.
Property testers for the launch descriptor type enablement aren't getting called even if they are set to plug-in activation true. The evaluation context needs to enable it as well. Change-Id: I309af38e37870220fa6bf3eb2781c85d4f73e7ec
This commit is contained in:
parent
313b437b36
commit
98b34f15de
1 changed files with 3 additions and 1 deletions
|
@ -88,7 +88,9 @@ public class LaunchDescriptorTypeInfo {
|
|||
public boolean enabled(Object launchObject) throws CoreException {
|
||||
if (expression == null)
|
||||
return true;
|
||||
EvaluationResult result = expression.evaluate(new EvaluationContext(null, launchObject));
|
||||
EvaluationContext context = new EvaluationContext(null, launchObject);
|
||||
context.setAllowPluginActivation(true);
|
||||
EvaluationResult result = expression.evaluate(context);
|
||||
return (result == EvaluationResult.TRUE);
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue