[458223] org.eclipse.xtext.generator.IFileSystemAccessExtension2.getURI

should not refresh resources

Change-Id: I8f2fbeea7629306b30d5074c15833818234e46a3
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>
This commit is contained in:
akosyakov 2015-01-23 11:22:19 +01:00
parent 1e90ab8f49
commit d2b85517ac
2 changed files with 8 additions and 8 deletions

View file

@ -139,8 +139,8 @@ public abstract class AbstractFileSystemAccess implements IFileSystemAccess, IFi
* @since 2.3
*/
@Override
public URI getURI(String fileName) {
return getURI(fileName, DEFAULT_OUTPUT);
public URI getURI(String path) {
return getURI(path, DEFAULT_OUTPUT);
}
void setPostProcessor(IFilePostProcessor postProcessor) {

View file

@ -16,17 +16,17 @@ import org.eclipse.emf.common.util.URI;
public interface IFileSystemAccessExtension2 {
/**
* Returns an URI for the specified file.
* Returns an URI for the specified path.
*
* For workspace files a platform:/resource URI should be returned in order to pick up project specific preferences.
* For workspace resources a platform:/resource URI should be returned in order to pick up project specific preferences.
*/
URI getURI(String fileName, String outputConfiguration);
URI getURI(String path, String outputConfiguration);
/**
* Returns an URI for the specified file in the default output location.
* Returns an URI for the specified path in the default output location.
*
* For workspace files a platform:/resource URI should be returned in order to pick up project specific preferences.
* For workspace resources a platform:/resource URI should be returned in order to pick up project specific preferences.
*/
URI getURI(String fileName);
URI getURI(String path);
}