.
authorp.ciardelli <p.ciardelli@localhost>
Wed, 5 Sep 2007 14:13:03 +0000 (14:13 +0000)
committerp.ciardelli <p.ciardelli@localhost>
Wed, 5 Sep 2007 14:13:03 +0000 (14:13 +0000)
META-INF/MANIFEST.MF
src/eu/etaxonomy/taxeditor/SimpleModel.java
taxeditor.product

index 2fd835a..604f387 100644 (file)
@@ -6,6 +6,7 @@ Bundle-Version: 1.0.0
 Bundle-Activator: eu.etaxonomy.taxeditor.Activator
 Require-Bundle: org.eclipse.ui,
  org.eclipse.core.runtime,
- org.eclipse.ui.forms
+ org.eclipse.ui.forms,
+ eu.etaxonomy.cdmLibrary
 Eclipse-LazyStart: true
 Export-Package: eu.etaxonomy.taxeditor
index c388ad7..7ae0679 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
index b0ea134..a8e113f 100644 (file)
@@ -41,6 +41,7 @@ Thanks to our worldwide fan community.
 \r
    <plugins>\r
       <plugin id="com.ibm.icu"/>\r
+      <plugin id="eu.etaxonomy.cdmLibrary"/>\r
       <plugin id="eu.etaxonomy.taxeditor"/>\r
       <plugin id="javax.servlet"/>\r
       <plugin id="org.eclipse.core.commands"/>\r