mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 08:18:55 +00:00
add isIndexOnly as default method and read it to create build request
Signed-off-by: mmews <marcus.mews@numberfour.eu>
This commit is contained in:
parent
024139f469
commit
c59ce4d0db
2 changed files with 11 additions and 0 deletions
|
@ -128,6 +128,7 @@ public class ProjectManager {
|
|||
return true;
|
||||
});
|
||||
result.setCancelIndicator(cancelIndicator);
|
||||
result.setIndexOnly(projectConfig.isIndexOnly());
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
@ -37,4 +37,14 @@ public interface IProjectConfig {
|
|||
* @return the workspace config
|
||||
*/
|
||||
IWorkspaceConfig getWorkspaceConfig();
|
||||
|
||||
/**
|
||||
* During the build, projects are indexed, validated and compiled. The return of this method configures whether this
|
||||
* project is validated and compiled or not.
|
||||
*
|
||||
* @return true iff this project is indexed only
|
||||
*/
|
||||
default boolean isIndexOnly() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue