| Summary: | [PathTraverser] There is a need to have a nameFilter to avoid the PathTraverser to include mwe2-files | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Holger Schill <Holger.Schill> | ||||
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | sebastian.zarnekow, sven.efftinge | ||||
| Version: | 1.0.0 | Flags: | sebastian.zarnekow:
helios+
|
||||
| Target Milestone: | RC1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Holger Schill
Created attachment 168733 [details]
New property uriFilter on the xtext.mwe.Reader
The patch adds a new interface UriFilter with boolean:matches(URI) in the package xtext.mwe. A default implementation matches based on the name either by regular expression or by the file-extension of the URI.
Fixed in HEAD after adding tests for the NameBasedFilter and changing the semantic of the regular expression from "matches()" to "find()". Closing bug which were set to RESOLVED before Eclipse Neon.0. |