X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fio%2Fgff%2FSequenceOntologyFactory.java;h=90cae7abb2b9d0f1cff8bf7dc81e8616a35a0df8;hb=d25ed8f9fb513fe5c33823afbeeb557c73a8c27b;hp=3eaa5d10a9ea18f0a4c4c085263bd50a4d494a2f;hpb=3cccac4697c371b1964236e17b532fd3d180e1c4;p=jalview.git diff --git a/src/jalview/io/gff/SequenceOntologyFactory.java b/src/jalview/io/gff/SequenceOntologyFactory.java index 3eaa5d1..90cae7a 100644 --- a/src/jalview/io/gff/SequenceOntologyFactory.java +++ b/src/jalview/io/gff/SequenceOntologyFactory.java @@ -1,5 +1,33 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors + * + * 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 + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.io.gff; +/** + * A factory class that returns a model of the Sequence Ontology. By default a + * hard-coded subset is used (for the applet, or testing), or setInstance() can + * be used to set full Ontology data. + * + * @author gmcarstairs + * + */ public class SequenceOntologyFactory { private static SequenceOntologyI instance; @@ -8,7 +36,6 @@ public class SequenceOntologyFactory { if (instance == null) { - // instance = new SequenceOntology(); instance = new SequenceOntologyLite(); } return instance;