org.eclipse.xtend.lib.macro.file.MutableFileSystemSupport Java Examples
The following examples show how to use
org.eclipse.xtend.lib.macro.file.MutableFileSystemSupport.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CompilationUnitImpl.java From xtext-xtend with Eclipse Public License 2.0 | 6 votes |
public MutableFileSystemSupport getFileSystemSupport() { MutableFileSystemSupport _xblockexpression = null; { if ((this.decoratedFileSystemSupport == null)) { final FileSystemAccessQueue fileSystemAccessQueue = IterableExtensions.<FileSystemAccessQueue>head(Iterables.<FileSystemAccessQueue>filter(this.xtendFile.eResource().getResourceSet().eAdapters(), FileSystemAccessQueue.class)); if ((fileSystemAccessQueue == null)) { return this.createListeningFileSystemSupport(); } URI _uRI = this.xtendFile.eResource().getURI(); ChangeListenerAddingFileSystemSupport _createListeningFileSystemSupport = this.createListeningFileSystemSupport(); ParallelFileSystemSupport _parallelFileSystemSupport = new ParallelFileSystemSupport(_uRI, _createListeningFileSystemSupport, fileSystemAccessQueue); this.decoratedFileSystemSupport = _parallelFileSystemSupport; } _xblockexpression = this.decoratedFileSystemSupport; } return _xblockexpression; }
Example #2
Source File: XtendRuntimeModule.java From xtext-xtend with Eclipse Public License 2.0 | 4 votes |
public Class<? extends MutableFileSystemSupport> bindMutableFileSystemSupport() { return JavaIOFileSystemSupport.class; }
Example #3
Source File: CodeGenerationContextImpl.java From xtext-xtend with Eclipse Public License 2.0 | 4 votes |
@Delegate public MutableFileSystemSupport getFileSystemSupport() { return this.unit.getFileSystemSupport(); }
Example #4
Source File: ParallelFileSystemSupport.java From xtext-xtend with Eclipse Public License 2.0 | 4 votes |
public ParallelFileSystemSupport(final URI uri, final MutableFileSystemSupport delegate, final FileSystemAccessQueue queue) { this.uri = uri; this.delegate = delegate; this.queue = queue; }
Example #5
Source File: ChangeListenerAddingFileSystemSupport.java From xtext-xtend with Eclipse Public License 2.0 | 4 votes |
public ChangeListenerAddingFileSystemSupport(final URI resourceURI, final MutableFileSystemSupport delegate, final IResourceChangeRegistry resourceChangeRegistry) { super(); this.resourceURI = resourceURI; this.delegate = delegate; this.resourceChangeRegistry = resourceChangeRegistry; }
Example #6
Source File: ChangeListenerAddingFileSystemSupport.java From xtext-xtend with Eclipse Public License 2.0 | 4 votes |
@Pure public MutableFileSystemSupport getDelegate() { return this.delegate; }
Example #7
Source File: AbstractSARLUiModule.java From sarl with Apache License 2.0 | 4 votes |
public Class<? extends MutableFileSystemSupport> bindMutableFileSystemSupport() { return EclipseFileSystemSupportImpl.class; }
Example #8
Source File: AbstractSARLRuntimeModule.java From sarl with Apache License 2.0 | 4 votes |
public Class<? extends MutableFileSystemSupport> bindMutableFileSystemSupport() { return JavaIOFileSystemSupport.class; }