-/**
- * assocate the given PDB file with
- * @param choice
- * @param sequence
- * @throws SAXException
- * @throws ParserConfigurationException
- * @throws ExceptionFileFormatOrSyntax
- * @throws ExceptionLoadingFailed
- * @throws ExceptionPermissionDenied
- * @throws InterruptedException
- * @throws ExceptionUnmatchedClosingParentheses
- */
- public PDBEntry associatePdbWithSeq(String choice, String protocol, SequenceI sequence, boolean prompt) throws ExceptionFileFormatOrSyntax, ParserConfigurationException, SAXException, ExceptionPermissionDenied, ExceptionLoadingFailed, InterruptedException, ExceptionUnmatchedClosingParentheses
+ private AssociatePdbFileWithSeq()
+ {
+ // inaccessible
+ }
+
+ /**
+ * Associate the given PDB file name or URL with a sequence. Do not map
+ * mouse-over events.
+ *
+ * @param fileName
+ * or URL
+ * @param type
+ * will be DataType.FILE or DataType.URL
+ * @param sequence
+ * to associate
+ * @param prompt
+ * true if the user should be asked what to do if the specified file
+ * does not seem to contain PDB information (StructureChooser only)
+ * @return null if file is not found
+ */
+ public static PDBEntry associatePdbWithSeq(String fileName,
+ DataSourceType type, SequenceI sequence, boolean prompt)