Community
Participate
Working Groups
Build Identifier: I20110613-1736 In Xtext 2.0.1, although AbstractFilterActionContributor reloads its state correctly upon restart, the filter isn't applied. (Note that this issue remains in spite of https://bugs.eclipse.org/bugs/show_bug.cgi?id=342682 being fixed.) Reproducible: Always Steps to Reproduce: 1. Open an Xtext file, and in the Outline, enable Show / Hide terminal rules. 2. Restart Eclipse. 3. Although Show / Hide terminal rules is enabled, terminal rules are still visible.
An obvious workaround is to call stateChanged(isPropertySet()); in AbstractFilterOutlineContribution#register, but I don't know whether this is the optimal way to do it.
Scheduled for 2.1
Refreshing the tree after registering all actions did the job. Pushed to MASTER.
Closing all bugs that were set to RESOLVED before Neon.0