use of org.whole.lang.models.model.IModelsEntity in project whole by wholeplatform.
the class ModelsJavaModelGeneratorVisitor method visit.
public void visit(ModelDeclarations modelBody) {
IOperationProgressMonitor progressMonitor = getOperation().getProgressMonitor();
progressMonitor.beginTask("Building entities", IOperationProgressMonitor.TOTAL_WORK, modelBody.wSize());
for (int i = 0, size = modelBody.wSize(); i < size; i++) {
((IModelsEntity) modelBody.wGet(i)).accept(this);
progressMonitor.worked(1);
handleCancelRequest();
}
progressMonitor.endTask();
}
Aggregations