- // TODO: get base for current import operation and resolve against it
- // transfer to local temp file ?
- PDBEntry modelpe = new PDBEntry(tempId,null,Type.FILE,urlToModel);
- PDBEntry templpe = new PDBEntry(tempId, null, Type.FILE, urlToModel);
+ modelPath = resolveAbsolute(urlToModel);
+ modelProt = AppletFormatAdapter.checkProtocol(modelPath);
+ // need to transfer to local temp file ?
+ PDBEntry modelpe = new PDBEntry(tempId, null, Type.FILE, modelPath);
+ PDBEntry templpe = new PDBEntry(tempId, null, Type.FILE, modelPath);