X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fjws2%2Fdm%2FJabaOption.java;h=7316d2fbad71cb109abe1ee978b32faca285a847;hb=6fb502e4a8749d1d98f5442c3b8156ab47996b77;hp=6a139b0537eca91c71664c2d28bced7246768722;hpb=55022c858882bcabf92ad7bba05c41b5a221625c;p=jalview.git diff --git a/src/jalview/ws/jws2/dm/JabaOption.java b/src/jalview/ws/jws2/dm/JabaOption.java index 6a139b0..7316d2f 100644 --- a/src/jalview/ws/jws2/dm/JabaOption.java +++ b/src/jalview/ws/jws2/dm/JabaOption.java @@ -1,13 +1,13 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6) - * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8) + * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle * * This file is part of Jalview. * * Jalview is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - * + * * Jalview is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR @@ -20,6 +20,7 @@ package jalview.ws.jws2.dm; import jalview.ws.jws2.ParameterUtils; import jalview.ws.params.OptionI; +import java.net.MalformedURLException; import java.net.URL; import java.util.List; @@ -49,7 +50,15 @@ public class JabaOption implements jalview.ws.params.OptionI @Override public URL getFurtherDetails() { - return opt.getFurtherDetails(); + try { + return new URL(opt.getBasicURL().toExternalForm()+"/"+opt.getFurtherDetails()); + } + catch (NullPointerException q) {} + catch (MalformedURLException q) + { + + } + return null; } @Override