mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 08:48:55 +00:00
[xtext] Make API tooling happy
This commit is contained in:
parent
b9aafcf252
commit
ed19dcf7bb
1 changed files with 10 additions and 0 deletions
|
@ -7,6 +7,7 @@ import java.util.ListIterator;
|
|||
|
||||
import org.eclipse.emf.common.notify.NotificationChain;
|
||||
import org.eclipse.emf.common.util.AbstractEList;
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
import org.eclipse.emf.common.util.URI;
|
||||
import org.eclipse.emf.ecore.resource.Resource;
|
||||
|
||||
|
@ -30,6 +31,15 @@ public class SynchronizedXtextResourceSet extends XtextResourceSet {
|
|||
}
|
||||
}
|
||||
|
||||
// Befriend the API tooling
|
||||
@Override
|
||||
public EList<Resource> getResources() {
|
||||
return super.getResources();
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 2.4
|
||||
*/
|
||||
@Override
|
||||
protected ResourcesList createResourceList() {
|
||||
return new ResourcesList() {
|
||||
|
|
Loading…
Reference in a new issue