.
[taxeditor.git] / src / eu / etaxonomy / taxeditor / SimpleModel.java
index 7ae06792e5a724bd3c8d966f6d5adfb8dd98870b..c388ad7ba6dfbfc1295cc54ca5c49bcbd58cfde7 100644 (file)
@@ -3,9 +3,9 @@ package eu.etaxonomy.taxeditor;
 import java.util.ArrayList;\r
 import java.util.List;\r
 \r
-import eu.etaxonomy.cdm.model.name.TaxonName;\r
-import eu.etaxonomy.cdm.api.service.*;\r
-import eu.etaxonomy.cdm.api.application.CdmApplicationController;\r
+//import eu.etaxonomy.cdm.model.name.TaxonName;\r
+//import eu.etaxonomy.cdm.api.service.*;\r
+//import eu.etaxonomy.cdm.api.application.CdmApplicationController;\r
 \r
 \r
 public class SimpleModel {\r
@@ -34,19 +34,19 @@ public class SimpleModel {
        private void initialize() {\r
                try {\r
                        //TODO Andreas\r
-                       List<TaxonName> tnList = new ArrayList<TaxonName>();\r
-                       TaxonName tn = new TaxonName();\r
-                       CdmApplicationController app = new CdmApplicationController();\r
-                       NameService ns = app.getNameService();\r
-                       tnList.add(ns.getTaxonNameById(1));\r
-                       tnList.add(ns.getTaxonNameById(4));\r
-                       tnList.add(ns.getTaxonNameById(28));\r
+//                     List<TaxonName> tnList = new ArrayList<TaxonName>();\r
+//                     TaxonName tn = new TaxonName();\r
+//                     CdmApplicationController app = new CdmApplicationController();\r
+//                     NameService ns = app.getNameService();\r
+//                     tnList.add(ns.getTaxonNameById(1));\r
+//                     tnList.add(ns.getTaxonNameById(4));\r
+//                     tnList.add(ns.getTaxonNameById(28));\r
 \r
                        objects = new ArrayList();\r
                        NamedObject[] objects = {\r
-                                       new Name(tnList.get(0).getName(), tnList.get(0).getGenus(),tnList.get(0).getInfraSpecificEpithet()),\r
-                                       new Name(tnList.get(1).getName(), tnList.get(1).getGenus(),tnList.get(1).getInfraSpecificEpithet()),\r
-                                       new Name(tnList.get(2).getName(), tnList.get(2).getGenus(),tnList.get(2).getInfraSpecificEpithet()),\r
+//                                     new Name(tnList.get(0).getName(), tnList.get(0).getGenus(),tnList.get(0).getInfraSpecificEpithet()),\r
+//                                     new Name(tnList.get(1).getName(), tnList.get(1).getGenus(),tnList.get(1).getInfraSpecificEpithet()),\r
+//                                     new Name(tnList.get(2).getName(), tnList.get(2).getGenus(),tnList.get(2).getInfraSpecificEpithet()),\r
                                        \r
                                        new Name("Pilosella piloselloides (Vill.) Soják", "Pilosella", "piloselloides"),\r
                                        new Name("Pilosella pavichii (Heuff.) Arv.-Touv.", "Pilosella", "pavichii"), \r