Search in sources :

Example 1 with ChangeListenerAddingFileSystemSupport

use of org.eclipse.xtend.core.macro.declaration.ChangeListenerAddingFileSystemSupport in project xtext-xtend by eclipse.

the class ChangeListenerAddingFileSystemSupportTest method setup.

@Before
public void setup() {
    UIResourceChangeRegistry _uIResourceChangeRegistry = new UIResourceChangeRegistry();
    this.registry = _uIResourceChangeRegistry;
    this.uri = org.eclipse.emf.common.util.URI.createPlatformResourceURI("myProject/src/com/acme/C.xtend", true);
    ChangeListenerAddingFileSystemSupportTest.NoopFileSystemSupport _noopFileSystemSupport = new ChangeListenerAddingFileSystemSupportTest.NoopFileSystemSupport();
    ChangeListenerAddingFileSystemSupport _changeListenerAddingFileSystemSupport = new ChangeListenerAddingFileSystemSupport(this.uri, _noopFileSystemSupport, this.registry);
    this.fsa = _changeListenerAddingFileSystemSupport;
    Path _path = new Path("a");
    this.path = _path;
}
Also used : Path(org.eclipse.xtend.lib.macro.file.Path) UIResourceChangeRegistry(org.eclipse.xtend.ide.builder.UIResourceChangeRegistry) ChangeListenerAddingFileSystemSupport(org.eclipse.xtend.core.macro.declaration.ChangeListenerAddingFileSystemSupport) Before(org.junit.Before)

Aggregations

ChangeListenerAddingFileSystemSupport (org.eclipse.xtend.core.macro.declaration.ChangeListenerAddingFileSystemSupport)1 UIResourceChangeRegistry (org.eclipse.xtend.ide.builder.UIResourceChangeRegistry)1 Path (org.eclipse.xtend.lib.macro.file.Path)1 Before (org.junit.Before)1