public static class ModelTranslator.Result extends java.lang.Object implements IDeferredModelLoader<Project>
completeLoading() is not
called, the model instances stored in this instance are not ready for use.| Modifier and Type | Field and Description |
|---|---|
private java.util.List<ResultEntry> |
entries |
private ModelTranslator |
translator |
| Modifier | Constructor and Description |
|---|---|
private |
Result(ModelTranslator translator)
Creates a result instance representing the parse result for multiple projects and enables deferred loading.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
add(ResultEntry entry)
Adds a partially completed xText project and an IVML project in terms of an
entry. |
void |
completeLoading()
Completes loading in a deferred manner.
|
TranslationResult<Project> |
createTranslationResult()
Creates the translation result.
|
(package private) ModelTranslator |
getTranslator()
Returns the translator instance.
|
private java.util.List<ResultEntry> entries
private ModelTranslator translator
private Result(ModelTranslator translator)
translator - the model translator instanceprivate void add(ResultEntry entry)
entry.entry - the entry to be addedpublic void completeLoading()
IDeferredModelLoadercompleteLoading in interface IDeferredModelLoader<Project>public TranslationResult<Project> createTranslationResult()
ModelTranslator getTranslator()
Copyright © 2009 - 2018 SSE. All Rights Reserved.