diff --git a/uk/ac/sanger/artemis/components/DatabaseEntrySource.java b/uk/ac/sanger/artemis/components/DatabaseEntrySource.java index adeac3d7d7222c6497e0969a6ef4c7e3d5b5bab1..baafc54ecb32b1ef7eef3b6872fe01806f7186d8 100644 --- a/uk/ac/sanger/artemis/components/DatabaseEntrySource.java +++ b/uk/ac/sanger/artemis/components/DatabaseEntrySource.java @@ -129,7 +129,7 @@ public class DatabaseEntrySource implements EntrySource * jdbc:postgresql://host:port/database?user=username * */ - protected boolean setLocation(final boolean prompt_user) + public boolean setLocation(final boolean prompt_user) { Container bacross = new Container(); bacross.setLayout(new GridLayout(6, 2, 5, 5)); @@ -450,4 +450,13 @@ public class DatabaseEntrySource implements EntrySource return db_entry; } + public String getLocation() + { + return location; + } + + public JPasswordField getPfield() + { + return pfield; + } }