}
@SuppressWarnings("unchecked")
private List getProposalsForTransformation(ITypedRegion r) {
List objects = new ArrayList();
OperationalTransformation transfo = null;
for (Iterator iter = strategy.getModel().getRoots().iterator(); iter
.hasNext();) {
Object obj = iter.next();
if ((obj != null) && (obj instanceof OperationalTransformation)) {
transfo = (OperationalTransformation) obj;
if ((r.getType() == QVTPartitionScanner.MM_DECLARATION)
|| (prefix.length() > 0)) {
objects.addAll(transfo.getModelParameter());
objects.addAll(transfo.getUsedModelType());
objects.addAll(getObjectsOf(transfo));
for (Iterator iter2 = transfo.getModuleImport().iterator(); iter2
.hasNext();) {
ModuleImport mod = (ModuleImport) iter2.next();
objects.addAll(getObjectsOf(mod.getImportedModule()));
}
for (Iterator iter2 = transfo.getUsedModelType().iterator(); iter2
.hasNext();) {
Object obj2 = iter2.next();
if (obj2 instanceof ModelType) {
objects.addAll(getObjectsOf(((ModelType) obj2)));