// DefinedTermEditor's ViewerSorter (DefinedTermSorter) class\r
if(currentLocation == ViewerDropAdapter.LOCATION_BEFORE) {\r
otVoc.addTermBelow((OrderedTermBase)term, (OrderedTermBase)targetTermOrVocabulary);\r
+ ((DefinedTermBase) targetTermOrVocabulary).getPartOf().addIncludes(term);\r
}\r
\r
if(currentLocation == ViewerDropAdapter.LOCATION_AFTER) {\r
otVoc.addTermAbove((OrderedTermBase)term, (OrderedTermBase)targetTermOrVocabulary);\r
+ ((DefinedTermBase) targetTermOrVocabulary).getPartOf().addIncludes(term);\r
}\r
+ if(currentLocation == ViewerDropAdapter.LOCATION_ON) {\r
+ targetDefinedTerm.addIncludes(term);\r
+ targetDefinedTerm.getVocabulary().addTerm(term);\r
+ }\r
}\r
- }\r
- if(currentLocation == ViewerDropAdapter.LOCATION_ON) {\r
- targetDefinedTerm.addIncludes(term);\r
+ } else{\r
+ targetDefinedTerm.addIncludes(term);\r
targetDefinedTerm.getVocabulary().addTerm(term);\r
}\r
+ \r
}\r
\r
}\r
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
-<product name="EDIT Taxonomic Editor" uid="eu.etaxonomy.taxeditor.product.jre" id="eu.etaxonomy.taxeditor.application.eu_etaxonomy_taxeditor_product" application="eu.etaxonomy.taxeditor.application.application" version="3.9.0.qualifier" useFeatures="true" includeLaunchers="true">
+<product name="EDIT Taxonomic Editor" uid="eu.etaxonomy.taxeditor.product.jre" id="eu.etaxonomy.taxeditor.application.eu_etaxonomy_taxeditor_product" application="eu.etaxonomy.taxeditor.application.application" version="3.12.0.qualifier" useFeatures="true" includeLaunchers="true">
<aboutInfo>
<image path="/eu.etaxonomy.taxeditor.application/icons/256color_48x48.gif"/>