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

index 604f387..2fd835a 100644 (file)
@@ -6,7 +6,6 @@ Bundle-Version: 1.0.0
 Bundle-Activator: eu.etaxonomy.taxeditor.Activator
 Require-Bundle: org.eclipse.ui,
  org.eclipse.core.runtime,
- org.eclipse.ui.forms,
- eu.etaxonomy.cdmLibrary
+ org.eclipse.ui.forms
 Eclipse-LazyStart: true
 Export-Package: eu.etaxonomy.taxeditor
index 3a9a4fd..9ecdcd2 100644 (file)
          </property>\r
          <property\r
                name="startupProgressRect"\r
-               value="5,5,45,10">\r
+               value="5,5,366,10">\r
          </property>\r
       </product>\r
    </extension>\r
index e4169c0..2cd4843 100644 (file)
@@ -113,17 +113,15 @@ public class NavigationView extends ViewPart {
      * code, you will connect to a real model and expose its hierarchy.
      */
     private TreeObject createDummyModel() {
-        TreeObject to1 = new TreeObject("Inbox");
-        TreeObject to2 = new TreeObject("Drafts");
-        TreeObject to3 = new TreeObject("Sent");
-        TreeParent p1 = new TreeParent("me@this.com");
+        TreeObject to1 = new TreeObject("Pilosella piloselloides (Vill.) Soják");
+        TreeObject to2 = new TreeObject("Pilosella pavichii (Heuff.) Arv.-Touv.");
+        TreeObject to3 = new TreeObject("Pilosella vahlii (Froel.) F. W. Schultz & Sch. Bip.");
+        TreeParent p1 = new TreeParent("Pilosella treatment");
         p1.addChild(to1);
         p1.addChild(to2);
         p1.addChild(to3);
 
-        TreeObject to4 = new TreeObject("Inbox");
-        TreeParent p2 = new TreeParent("other@aol.com");
-        p2.addChild(to4);
+        TreeParent p2 = new TreeParent("Some other treatment");
 
         TreeParent root = new TreeParent("");
         root.addChild(p1);
index faf9e62..da8d4bd 100644 (file)
@@ -11,8 +11,8 @@ public class Perspective implements IPerspectiveFactory {
                //layout.setEditorAreaVisible(false);
                layout.setEditorAreaVisible(true);
                
-               /*layout.addStandaloneView(NavigationView.ID,  false, IPageLayout.LEFT, 0.25f, editorArea);
-               IFolderLayout folder = layout.createFolder("messages", IPageLayout.TOP, 0.5f, editorArea);
+               layout.addStandaloneView(NavigationView.ID,  false, IPageLayout.LEFT, 0.25f, editorArea);
+               /*IFolderLayout folder = layout.createFolder("messages", IPageLayout.TOP, 0.5f, editorArea);
                folder.addPlaceholder(View.ID + ":*");
                folder.addView(View.ID);
                folder.addPlaceholder(FormView.ID + ":*");
@@ -20,7 +20,7 @@ public class Perspective implements IPerspectiveFactory {
                
                //layout.addStandaloneView(View.ID, false, IPageLayout.RIGHT, 0.75f, editorArea);
 
-               //layout.getViewLayout(NavigationView.ID).setCloseable(false);
+               layout.getViewLayout(NavigationView.ID).setCloseable(false);
                                
                layout.addActionSet("eu.etaxonomy.taxeditor.actionSet");
        }
index 7ae0679..c388ad7 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 6e8a254..b0ea134 100644 (file)
@@ -23,10 +23,10 @@ Thanks to our worldwide fan community.
 \r
    <splash\r
       location="eu.etaxonomy.taxeditor"\r
-      startupProgressRect="5,5,45,10"\r
+      startupProgressRect="5,5,366,10"\r
       startupMessageRect="7,252,445,20"\r
       startupForegroundColor="FFFFFF" />\r
-   <launcher name="taxeditor">\r
+   <launcher name="EDIT Taxonomic Editor">\r
       <solaris/>\r
       <win useIco="true">\r
          <ico path="/eu.etaxonomy.taxeditor/icons/edit_16x16.ico"/>\r
@@ -35,12 +35,12 @@ Thanks to our worldwide fan community.
       </win>\r
    </launcher>\r
 \r
+\r
    <vm>\r
    </vm>\r
 \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