-Manifest-Version: 1.0\r
-Bundle-ManifestVersion: 2\r
-Bundle-Name: EDIT Taxonomic Editor\r
-Bundle-SymbolicName: eu.etaxonomy.taxeditor.application;singleton:=true\r
-Bundle-Version: 2.0.1.qualifier\r
-Bundle-Activator: eu.etaxonomy.taxeditor.TaxonomicEditorPlugin\r
-Bundle-Vendor: EDIT\r
-Export-Package: eu.etaxonomy.taxeditor\r
-Require-Bundle: org.eclipse.ui;bundle-version="3.4.1",\r
- org.eclipse.ui.ide;bundle-version="3.4.1",\r
- org.eclipse.core.runtime;bundle-version="3.4.0",\r
- eu.etaxonomy.cdmlib;bundle-version="2.1.0",\r
- eu.etaxonomy.taxeditor.store;bundle-version="1.0.0",\r
- eu.etaxonomy.taxeditor.editor;bundle-version="1.0.0",\r
- eu.etaxonomy.taxeditor.navigation;bundle-version="1.0.0",\r
- eu.etaxonomy.taxeditor.bulkeditor;bundle-version="2.0.1"\r
-Bundle-ActivationPolicy: lazy\r
-Bundle-Localization: plugin\r
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: EDIT Taxonomic Editor
+Bundle-SymbolicName: eu.etaxonomy.taxeditor.application;singleton:=true
+Bundle-Version: 2.0.1.qualifier
+Bundle-Activator: eu.etaxonomy.taxeditor.TaxonomicEditorPlugin
+Bundle-Vendor: EDIT
+Bundle-Localization: plugin
+Export-Package: eu.etaxonomy.taxeditor
+Require-Bundle: org.eclipse.ui;bundle-version="3.4.1",org.eclipse.ui.ide;bundle-version="3.4.1",org.eclipse.core.runtime;bundle-version="3.4.0",org.eclipse.core.resources;bundle-version="3.4.1",eu.etaxonomy.cdmlib;bundle-version="2.1.0",eu.etaxonomy.taxeditor.store;bundle-version="1.0.0",eu.etaxonomy.taxeditor.editor;bundle-version="1.0.0",eu.etaxonomy.taxeditor.navigation;bundle-version="1.0.0",eu.etaxonomy.taxeditor.bulkeditor;bundle-version="2.0.1"
+Bundle-ActivationPolicy: lazy
-<?xml version="1.0" encoding="UTF-8"?>\r
-<?pde version="3.4"?>\r
-\r
-<product name="%productName" id="eu.etaxonomy.taxeditor.application.TaxonomicEditor" application="eu.etaxonomy.taxeditor.application.application" version="2.0.1.qualifier" useFeatures="true">\r
-\r
- <aboutInfo>\r
- <text>\r
- %productBlurb\r
- </text>\r
- </aboutInfo>\r
-\r
- <configIni use="default">\r
- </configIni>\r
-\r
- <launcherArgs>\r
- <vmArgs>-Xmx256M</vmArgs>\r
- <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>\r
- </launcherArgs>\r
-\r
- <windowImages i16="/taxeditor-application/icons/256color_16x16.gif" i32="/taxeditor-application/icons/256color_32x32.gif" i48="/taxeditor-application/icons/256color_48x48.gif"/>\r
-\r
- <splash\r
- startupProgressRect="5,447,366,15"\r
- startupMessageRect="7,432,360,20"\r
- startupForegroundColor="000000" />\r
- <launcher name="Taxonomic Editor">\r
- <solaris/>\r
- <win useIco="true">\r
- <ico path="/taxeditor-application/icons/256color_48x48.ico"/>\r
- <bmp/>\r
- </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.application"/>\r
- <plugin id="eu.etaxonomy.taxeditor.editor"/>\r
- <plugin id="eu.etaxonomy.taxeditor.navigation"/>\r
- <plugin id="eu.etaxonomy.taxeditor.store"/>\r
- <plugin id="org.eclipse.core.commands"/>\r
- <plugin id="org.eclipse.core.contenttype"/>\r
- <plugin id="org.eclipse.core.databinding"/>\r
- <plugin id="org.eclipse.core.databinding.beans"/>\r
- <plugin id="org.eclipse.core.expressions"/>\r
- <plugin id="org.eclipse.core.filebuffers"/>\r
- <plugin id="org.eclipse.core.filesystem"/>\r
- <plugin id="org.eclipse.core.filesystem.win32.x86" fragment="true"/>\r
- <plugin id="org.eclipse.core.jobs"/>\r
- <plugin id="org.eclipse.core.resources"/>\r
- <plugin id="org.eclipse.core.resources.compatibility" fragment="true"/>\r
- <plugin id="org.eclipse.core.resources.win32.x86" fragment="true"/>\r
- <plugin id="org.eclipse.core.runtime"/>\r
- <plugin id="org.eclipse.core.runtime.compatibility.registry" fragment="true"/>\r
- <plugin id="org.eclipse.equinox.app"/>\r
- <plugin id="org.eclipse.equinox.common"/>\r
- <plugin id="org.eclipse.equinox.preferences"/>\r
- <plugin id="org.eclipse.equinox.registry"/>\r
- <plugin id="org.eclipse.help"/>\r
- <plugin id="org.eclipse.jface"/>\r
- <plugin id="org.eclipse.jface.databinding"/>\r
- <plugin id="org.eclipse.jface.text"/>\r
- <plugin id="org.eclipse.osgi"/>\r
- <plugin id="org.eclipse.pde.source"/>\r
- <plugin id="org.eclipse.swt"/>\r
- <plugin id="org.eclipse.swt.win32.win32.x86" fragment="true"/>\r
- <plugin id="org.eclipse.text"/>\r
- <plugin id="org.eclipse.ui"/>\r
- <plugin id="org.eclipse.ui.editors"/>\r
- <plugin id="org.eclipse.ui.forms"/>\r
- <plugin id="org.eclipse.ui.ide"/>\r
- <plugin id="org.eclipse.ui.navigator"/>\r
- <plugin id="org.eclipse.ui.navigator.resources"/>\r
- <plugin id="org.eclipse.ui.views"/>\r
- <plugin id="org.eclipse.ui.views.properties.tabbed"/>\r
- <plugin id="org.eclipse.ui.win32" fragment="true"/>\r
- <plugin id="org.eclipse.ui.workbench"/>\r
- <plugin id="org.eclipse.ui.workbench.texteditor"/>\r
- <plugin id="org.junit4"/>\r
- </plugins>\r
-\r
- <features>\r
- <feature id="eu.etaxonomy.taxeditor" version="2.0.1.qualifier"/>\r
- </features>\r
-\r
-</product>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<?pde version="3.5"?>
+
+<product name="%productName" id="eu.etaxonomy.taxeditor.application.TaxonomicEditor" application="eu.etaxonomy.taxeditor.application.application" version="2.0.1.qualifier" useFeatures="true" includeLaunchers="false">
+
+ <aboutInfo>
+ <text>
+ %productBlurb
+ </text>
+ </aboutInfo>
+
+ <configIni use="default">
+ </configIni>
+
+ <launcherArgs>
+ <vmArgs>-Xmx256M</vmArgs>
+ <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
+ </launcherArgs>
+
+ <windowImages i16="/taxeditor-application/icons/256color_16x16.gif" i32="/taxeditor-application/icons/256color_32x32.gif" i48="/taxeditor-application/icons/256color_48x48.gif"/>
+
+ <splash
+ startupProgressRect="5,447,366,15"
+ startupMessageRect="7,432,360,20"
+ startupForegroundColor="000000" />
+ <launcher name="Taxonomic Editor">
+ <solaris/>
+ <win useIco="true">
+ <ico path="/taxeditor-application/icons/256color_48x48.ico"/>
+ <bmp/>
+ </win>
+ </launcher>
+
+
+ <vm>
+ </vm>
+
+
+ <plugins>
+ <plugin id="com.ibm.icu"/>
+ <plugin id="eu.etaxonomy.cdmLibrary" fragment=""/>
+ <plugin id="eu.etaxonomy.taxeditor.application"/>
+ <plugin id="eu.etaxonomy.taxeditor.editor"/>
+ <plugin id="eu.etaxonomy.taxeditor.navigation"/>
+ <plugin id="eu.etaxonomy.taxeditor.store"/>
+ <plugin id="org.eclipse.core.commands"/>
+ <plugin id="org.eclipse.core.contenttype"/>
+ <plugin id="org.eclipse.core.databinding"/>
+ <plugin id="org.eclipse.core.databinding.beans"/>
+ <plugin id="org.eclipse.core.expressions"/>
+ <plugin id="org.eclipse.core.filebuffers"/>
+ <plugin id="org.eclipse.core.filesystem"/>
+ <plugin id="org.eclipse.core.filesystem.win32.x86" fragment="true"/>
+ <plugin id="org.eclipse.core.jobs"/>
+ <plugin id="org.eclipse.core.resources"/>
+ <plugin id="org.eclipse.core.resources.compatibility" fragment="true"/>
+ <plugin id="org.eclipse.core.resources.win32.x86" fragment="true"/>
+ <plugin id="org.eclipse.core.runtime"/>
+ <plugin id="org.eclipse.core.runtime.compatibility.registry" fragment="true"/>
+ <plugin id="org.eclipse.equinox.app"/>
+ <plugin id="org.eclipse.equinox.common"/>
+ <plugin id="org.eclipse.equinox.preferences"/>
+ <plugin id="org.eclipse.equinox.registry"/>
+ <plugin id="org.eclipse.help"/>
+ <plugin id="org.eclipse.jface"/>
+ <plugin id="org.eclipse.jface.databinding"/>
+ <plugin id="org.eclipse.jface.text"/>
+ <plugin id="org.eclipse.osgi"/>
+ <plugin id="org.eclipse.pde.source"/>
+ <plugin id="org.eclipse.swt"/>
+ <plugin id="org.eclipse.swt.win32.win32.x86" fragment="true"/>
+ <plugin id="org.eclipse.text"/>
+ <plugin id="org.eclipse.ui"/>
+ <plugin id="org.eclipse.ui.editors"/>
+ <plugin id="org.eclipse.ui.forms"/>
+ <plugin id="org.eclipse.ui.ide"/>
+ <plugin id="org.eclipse.ui.navigator"/>
+ <plugin id="org.eclipse.ui.navigator.resources"/>
+ <plugin id="org.eclipse.ui.views"/>
+ <plugin id="org.eclipse.ui.views.properties.tabbed"/>
+ <plugin id="org.eclipse.ui.win32" fragment="true"/>
+ <plugin id="org.eclipse.ui.workbench"/>
+ <plugin id="org.eclipse.ui.workbench.texteditor"/>
+ <plugin id="org.junit4"/>
+ </plugins>
+
+ <features>
+ <feature id="eu.etaxonomy.taxeditor" version="2.1.0.qualifier"/>
+ </features>
+
+
+</product>
-#Thu Jun 25 20:09:50 CEST 2009
+#Fri Oct 16 18:08:11 CEST 2009
eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
Bundle-Version: 2.0.1.qualifier
Bundle-ClassPath: .
Bundle-Activator: eu.etaxonomy.taxeditor.bulkeditor.internal.TaxeditorBulkeditorPlugin
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.jface.text;bundle-version="3.4.2",
- org.eclipse.ui.editors,
- org.eclipse.ui.ide,
- org.eclipse.core.resources;bundle-version="3.4.2",
- eu.etaxonomy.cdmlib;bundle-version="2.1.0",
- eu.etaxonomy.taxeditor.editor;bundle-version="2.0.0",
- eu.etaxonomy.taxeditor.store;bundle-version="2.0.0",
- org.eclipse.core.expressions
+Bundle-Vendor: EDIT
+Export-Package: eu.etaxonomy.taxeditor.annotatedlineeditor,
+ eu.etaxonomy.taxeditor.annotatedlineeditor.handler,
+ eu.etaxonomy.taxeditor.bulkeditor,
+ eu.etaxonomy.taxeditor.bulkeditor.command,
+ eu.etaxonomy.taxeditor.bulkeditor.handler,
+ eu.etaxonomy.taxeditor.bulkeditor.input,
+ eu.etaxonomy.taxeditor.bulkeditor.internal,
+ eu.etaxonomy.taxeditor.bulkeditor.referencingobjects
+Require-Bundle: org.eclipse.ui,org.eclipse.core.runtime,org.eclipse.jface.text;bundle-version="3.4.2",org.eclipse.ui.editors,org.eclipse.ui.ide,org.eclipse.core.resources;bundle-version="3.4.2",eu.etaxonomy.cdmlib;bundle-version="2.1.0",eu.etaxonomy.taxeditor.editor;bundle-version="2.0.0",eu.etaxonomy.taxeditor.store;bundle-version="2.0.0",org.eclipse.core.expressions
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ActivationPolicy: lazy
-Export-Package: eu.etaxonomy.taxeditor.bulkeditor,
- eu.etaxonomy.taxeditor.bulkeditor.handler,
- eu.etaxonomy.taxeditor.bulkeditor.internal
-Bundle-Vendor: EDIT
<feature
id="eu.etaxonomy.taxeditor.feature.dependencies"
label="Taxeditor Dependencies"
- version="2.0.1.qualifier"
- os="macosx,win32">
-
- <description url="http://www.example.com/description">
- [Enter Feature Description here.]
- </description>
-
- <copyright url="http://www.example.com/copyright">
- [Enter Copyright Description here.]
- </copyright>
+ version="2.1.0.qualifier"
+ os="linux,macosx,win32">
<license url="http://www.example.com/license">
[Enter License Description here.]
id="com.ibm.icu"
download-size="0"
install-size="0"
- version="3.8.1.v20080530"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.ant.core"
download-size="0"
install-size="0"
- version="3.2.0.v20080529"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.core.commands"
download-size="0"
install-size="0"
- version="3.4.0.I20080509-2000"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.core.contenttype"
download-size="0"
install-size="0"
- version="3.3.0.v20080604-1400"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.core.databinding"
download-size="0"
install-size="0"
- version="1.1.1.M20080827-0800b"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.core.databinding.beans"
download-size="0"
install-size="0"
- version="1.1.1.M20080827-0800a"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.core.expressions"
download-size="0"
install-size="0"
- version="3.4.1.r342_v20081203-0800"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.core.filebuffers"
download-size="0"
install-size="0"
- version="3.4.0.v20080603-2000"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.core.filesystem"
download-size="0"
install-size="0"
- version="1.2.0.v20080604-1400"
+ version="0.0.0"
unpack="false"/>
<plugin
os="macosx"
download-size="0"
install-size="0"
- version="1.0.0.v20080604-1400"
+ version="0.0.0"
fragment="true"
unpack="false"/>
id="org.eclipse.core.jobs"
download-size="0"
install-size="0"
- version="3.4.1.R34x_v20081128"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.core.net"
download-size="0"
install-size="0"
- version="1.1.0.I20080604"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.core.resources"
download-size="0"
install-size="0"
- version="3.4.2.R34x_v20090126"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.core.resources.compatibility"
download-size="0"
install-size="0"
- version="3.4.0.v20080604-1400"
+ version="0.0.0"
fragment="true"
unpack="false"/>
id="org.eclipse.core.runtime"
download-size="0"
install-size="0"
- version="3.4.0.v20080512"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.core.runtime.compatibility.auth"
download-size="0"
install-size="0"
- version="3.2.100.v20070502"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.core.runtime.compatibility.registry"
download-size="0"
install-size="0"
- version="3.2.200.v20080610"
+ version="0.0.0"
fragment="true"/>
<plugin
id="org.eclipse.core.variables"
download-size="0"
install-size="0"
- version="3.2.100.v20080529-1300"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.app"
download-size="0"
install-size="0"
- version="1.1.0.v20080421-2006"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.common"
download-size="0"
install-size="0"
- version="3.4.0.v20080421-2006"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.preferences"
download-size="0"
install-size="0"
- version="3.2.201.R34x_v20080709"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.registry"
download-size="0"
install-size="0"
- version="3.4.0.v20080516-0950"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.security"
download-size="0"
install-size="0"
- version="1.0.1.R34x_v20080721"
+ version="0.0.0"
unpack="false"/>
<plugin
os="macosx"
download-size="0"
install-size="0"
- version="1.0.0.v20080602-2000"
+ version="0.0.0"
fragment="true"
unpack="false"/>
id="org.eclipse.help"
download-size="0"
install-size="0"
- version="3.3.102.v20081014_34x"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.jface"
download-size="0"
install-size="0"
- version="3.4.2.M20090107-0800"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.jface.databinding"
download-size="0"
install-size="0"
- version="1.2.1.M20080827-0800a"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.jface.text"
download-size="0"
install-size="0"
- version="3.4.2.r342_v20081119-0800"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.osgi"
download-size="0"
install-size="0"
- version="3.4.3.R34x_v20081215-1030"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.osgi.services"
download-size="0"
install-size="0"
- version="3.1.200.v20071203"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.pde.source"
download-size="0"
install-size="0"
- version="3.4.0.v20080603"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.swt"
download-size="0"
install-size="0"
- version="3.4.2.v3452b"
- unpack="false"/>
-
- <plugin
- id="org.eclipse.swt.carbon.macosx"
- os="macosx"
- ws="carbon"
- download-size="0"
- install-size="0"
- version="3.4.1.v3452b"
- fragment="true"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.text"
download-size="0"
install-size="0"
- version="3.4.0.v20080605-1800"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.ui"
download-size="0"
install-size="0"
- version="3.4.2.M20090204-0800"
- unpack="false"/>
-
- <plugin
- id="org.eclipse.ui.carbon"
- os="macosx"
- ws="carbon"
- download-size="0"
- install-size="0"
- version="4.0.0.I20080610-1200"
- fragment="true"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.ui.editors"
download-size="0"
install-size="0"
- version="3.4.0.v20080603-2000"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.ui.forms"
download-size="0"
install-size="0"
- version="3.3.103.v20081027_34x"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.ui.ide"
download-size="0"
install-size="0"
- version="3.4.2.M20090127-1700"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.ui.navigator"
download-size="0"
install-size="0"
- version="3.3.102.M20090127-1700"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.ui.navigator.resources"
download-size="0"
install-size="0"
- version="3.3.101.M20080910-0800"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.ui.views"
download-size="0"
install-size="0"
- version="3.3.1.M20081112-0800"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.ui.views.properties.tabbed"
download-size="0"
install-size="0"
- version="3.4.2.M20090127-1700"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.ui.workbench"
download-size="0"
install-size="0"
- version="3.4.2.M20090127-1700"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.ui.workbench.texteditor"
download-size="0"
install-size="0"
- version="3.4.1.r341_v20080827-1100"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.update.configurator"
download-size="0"
install-size="0"
- version="3.2.201.R34x_v20080819"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.update.core"
download-size="0"
install-size="0"
- version="3.2.202.R34x_v20081128"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.update.ui"
download-size="0"
install-size="0"
- version="3.2.101.R34x_v20081128"
+ version="0.0.0"
unpack="false"/>
<plugin
id="org.junit4"
download-size="0"
install-size="0"
- version="4.3.1"/>
+ version="0.0.0"/>
<plugin
id="org.eclipse.update.core.win32"
os="win32"
download-size="0"
install-size="0"
- version="3.2.100.v20080107"
+ version="0.0.0"
fragment="true"
unpack="false"/>
arch="x86"
download-size="0"
install-size="0"
- version="1.1.0.v20080604-1400"
+ version="0.0.0"
fragment="true"
unpack="false"/>
arch="x86"
download-size="0"
install-size="0"
- version="1.0.0.I20080521"
+ version="0.0.0"
fragment="true"
unpack="false"/>
arch="x86"
download-size="0"
install-size="0"
- version="3.4.0.v20071204"
+ version="0.0.0"
fragment="true"
unpack="false"/>
arch="x86"
download-size="0"
install-size="0"
- version="1.0.0.v20080529-1600"
+ version="0.0.0"
fragment="true"
unpack="false"/>
arch="x86"
download-size="0"
install-size="0"
- version="3.4.1.v3452b"
+ version="0.0.0"
fragment="true"
unpack="false"/>
os="win32"
download-size="0"
install-size="0"
- version="3.2.100.v20080408-0800"
+ version="0.0.0"
fragment="true"
unpack="false"/>
<plugin
id="org.eclipse.equinox.launcher.gtk.linux.x86"
os="linux"
+ ws="gtk"
arch="x86"
download-size="0"
install-size="0"
fragment="true"
unpack="false"/>
+ <plugin
+ id="org.eclipse.equinox.launcher.cocoa.macosx"
+ os="macosx"
+ ws="cocoa"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"/>
+
+ <plugin
+ id="org.eclipse.equinox.launcher.win32.win32.x86"
+ os="win32"
+ ws="win32"
+ arch="x86"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"/>
+
+ <plugin
+ id="org.eclipse.swt.cocoa.macosx"
+ os="macosx"
+ ws="cocoa"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.ui.cocoa"
+ os="macosx"
+ ws="cocoa"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.core.databinding.property"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.equinox.p2.engine"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.equinox.p2.metadata"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.core.databinding.observable"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.equinox.p2.core"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.equinox.p2.metadata.repository"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.ecf"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.ecf.filetransfer"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.compare.core"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.hamcrest.core"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.ecf.identity"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.equinox.launcher"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.equinox.p2.repository"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.ecf.provider.filetransfer"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.equinox.p2.artifact.repository"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.equinox.p2.jarprocessor"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.swt.motif.linux.x86"
+ os="linux"
+ ws="motif"
+ arch="x86"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.equinox.launcher.motif.linux.x86"
+ os="linux"
+ ws="motif"
+ arch="x86"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"/>
+
</feature>
<feature
id="eu.etaxonomy.taxeditor"
label="Taxeditor Feature"
- version="2.0.1.qualifier"
+ version="2.1.0.qualifier"
provider-name="EDIT">
<description url="http://dev.e-taxonomy.eu/trac/wiki/TaxonomicEditor">
Bundle-Version: 2.0.1.qualifier
Bundle-Activator: eu.etaxonomy.taxeditor.navigation.internal.TaxeditorNavigationPlugin
Bundle-Vendor: EDIT
-Export-Package: eu.etaxonomy.taxeditor.navigation,
+Export-Package: eu.etaxonomy.cdm,
+ eu.etaxonomy.taxeditor.navigation,
eu.etaxonomy.taxeditor.navigation.handler,
eu.etaxonomy.taxeditor.navigation.internal,
eu.etaxonomy.taxeditor.navigation.navigator,
- eu.etaxonomy.taxeditor.navigation.search
+ eu.etaxonomy.taxeditor.navigation.search,
+ eu.etaxonomy.taxeditor.newWizards
Require-Bundle: org.eclipse.core.resources;bundle-version="3.4.1",
org.eclipse.core.runtime;bundle-version="3.4.0",
org.eclipse.ui;bundle-version="3.4.1",
private static final Logger logger = Logger.getLogger(Root.class);\r
\r
public List<TaxonomicTree> getParentBeans() {\r
- List<TaxonomicTree> trees = CdmStore.getTaxonTreeService().list(null, null).getRecords();\r
+ List<TaxonomicTree> trees = CdmStore.getTaxonTreeService().list(null, null, null, null, null);\r
return trees;\r
}\r
\r
DataChangeBridge.handleDataChange(changeEvents, dataChangeBehavior);\r
}\r
\r
- protected String getFrameToolTipText(Object element) {\r
+ public String getFrameToolTipText(Object element) {\r
if (element instanceof Root) {\r
return "Taxonomic Tree";\r
}\r
layout.spacing = 0;
composite.setLayout(layout);
- // FIXME we have this here for debugging purposes, remove color once the layout of the search bar is correct
- composite.setBackground(Resources.getColor(Resources.SEARCH_VIEW_FOREGROUND));
// TODO for some reason the text_search composite has a margin when either SWT.BORDER or SWT.SEARCH
// is applied. I am not sure how to get rid of this.
taxonomicTree = (TaxonomicTree) parentNode;
}
}
+ }else{
+ setPageComplete(false);
}
+
}
/* (non-Javadoc)
getWizard().getContainer().updateButtons();
}
- /* (non-Javadoc)
- * @see org.eclipse.jface.wizard.WizardPage#isPageComplete()
- */
- @Override
- public boolean isPageComplete() {
- if (text_taxonName == null || text_taxonomicTree == null) {
- return false;
- }
- return (text_taxonName.getText().length() > 0 && text_taxonomicTree.getText().length() > 0);
- }
-
/*
* SELECTION ADAPTERS
*/
text_parentTaxonNode.setText("");
parentTaxonNode = null;
}
+ setPageComplete(true);
}
}
text_parentTaxonNode.setText(parentTaxonNode.getTaxon().getTitleCache());
text_taxonomicTree.setText(parentTaxonNode.getTaxonomicTree().getTitleCache());
}
+ text_taxonomicTree.setText(parentTaxonNode.getTaxonomicTree().getTitleCache());
+ setPageComplete(true);
}
}
-#Wed Jun 10 13:53:16 CEST 2009\r
-eclipse.preferences.version=1\r
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5\r
-org.eclipse.jdt.core.compiler.compliance=1.5\r
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error\r
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error\r
-org.eclipse.jdt.core.compiler.source=1.5\r
+#Fri Oct 16 18:08:11 CEST 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Bundle-Version: 2.0.1.qualifier
Bundle-Activator: eu.etaxonomy.taxeditor.store.internal.TaxeditorStorePlugin
Bundle-Vendor: EDIT
-Export-Package: eu.etaxonomy.taxeditor.datasource,
+Export-Package: dbscripts,
+ eu.etaxonomy.cdm,
+ eu.etaxonomy.cdm.database,
+ eu.etaxonomy.taxeditor.datasource,
eu.etaxonomy.taxeditor.datasource.handler,
eu.etaxonomy.taxeditor.datasource.view,
eu.etaxonomy.taxeditor.datasource.wizard,
eu.etaxonomy.taxeditor.dialogs,
eu.etaxonomy.taxeditor.dialogs.filteredSelection,
eu.etaxonomy.taxeditor.handler,
+ eu.etaxonomy.taxeditor.io,
+ eu.etaxonomy.taxeditor.io.wizard,
eu.etaxonomy.taxeditor.labels,
eu.etaxonomy.taxeditor.model;uses:="eu.etaxonomy.cdm.model.common,eu.etaxonomy.cdm.model.name,eu.etaxonomy.cdm.model.taxon",
eu.etaxonomy.taxeditor.operations,
eu.etaxonomy.taxeditor.parser,
eu.etaxonomy.taxeditor.preference,
+ eu.etaxonomy.taxeditor.preference.wizards,
eu.etaxonomy.taxeditor.store,
- eu.etaxonomy.taxeditor.store.internal
-Require-Bundle: org.eclipse.ui;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.core.runtime;bundle-version="[3.2.0,4.0.0)",
- org.eclipse.core.filesystem;bundle-version="1.2.0",
- org.eclipse.core.resources;bundle-version="3.4.1",
- org.eclipse.ui.editors;bundle-version="3.4.0",
- org.eclipse.jface.text;bundle-version="3.4.1",
- org.eclipse.ui.ide;bundle-version="3.4.2",
- eu.etaxonomy.cdmlib;bundle-version="2.1.0"
+ eu.etaxonomy.taxeditor.store.internal,
+ eu.etaxonomy.taxeditor.store.operations,
+ eu.etaxonomy.taxeditor.user,
+ eu.etaxonomy.taxeditor.user.handler,
+ eu.etaxonomy.taxeditor.user.view,
+ eu.etaxonomy.taxeditor.user.wizard
+Require-Bundle: org.eclipse.ui;bundle-version="[3.2.0,4.0.0)",org.eclipse.core.runtime;bundle-version="[3.2.0,4.0.0)",org.eclipse.core.filesystem;bundle-version="1.2.0",org.eclipse.core.resources;bundle-version="3.4.1",org.eclipse.ui.editors;bundle-version="3.4.0",org.eclipse.jface.text;bundle-version="3.4.1",org.eclipse.ui.ide;bundle-version="3.4.2",eu.etaxonomy.cdmlib;bundle-version="2.1.0"
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Import-Package: junit.framework,org.junit
Bundle-ActivationPolicy: lazy
import org.eclipse.jface.window.Window;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text;
+import org.eclipse.ui.IMemento;
import org.eclipse.ui.dialogs.FilteredItemsSelectionDialog;
import eu.etaxonomy.cdm.model.common.CdmBase;
ILabelProvider labelProvider = new FilteredCdmResourceLabelProvider();
setListLabelProvider(labelProvider);
setDetailsLabelProvider(labelProvider);
+
+ setSelectionHistory(new ResourceSelectionHistory());
}
/**
@Override
public boolean matchItem(Object item) {
String text = ((UuidAndTitleCache) item).getTitleCache();
-// if (text != null) {
-// logger.info(text + " " + matches(text) + " " + model.size());
-// } else {
-// logger.info("null");
-// }
+ if (text != null) {
+ logger.info(text + " " + matches(text));// + " " + model.size());
+ } else {
+ logger.info("null");
+ }
return text != null ? matches(text) : false;
}
return Status.OK_STATUS;
}
- protected void restoreDialog(IDialogSettings settings) {
-
- }
-
/**
* @return
*/
return settings;
}
+ /**
+ *
+ * @author n.hoffmann
+ * @created Oct 19, 2009
+ * @version 1.0
+ */
+ private class ResourceSelectionHistory extends SelectionHistory {
+ /*
+ * @see org.eclipse.ui.dialogs.FilteredItemsSelectionDialog.SelectionHistory#restoreItemFromMemento(org.eclipse.ui.IMemento)
+ */
+ protected Object restoreItemFromMemento(IMemento element) {
+ return element.getString("resource"); //$NON-NLS-1$
+ }
+ /*
+ * @see org.eclipse.ui.dialogs.FilteredItemsSelectionDialog.SelectionHistory#storeItemToMemento(java.lang.Object,
+ * org.eclipse.ui.IMemento)
+ */
+ protected void storeItemToMemento(Object item, IMemento element) {
+ element.putString("resource", item.toString()); //$NON-NLS-1$
+ }
+ }
+
public class FilteredCdmResourceLabelProvider extends LabelProvider {
public String getText(Object element) {
if (element == null) {
*/
@Override
protected AgentBase getPersistentObject(UUID cdmUuid) {
- return CdmStore.getAgentService().getAgentByUuid(cdmUuid);
+ return CdmStore.getAgentService().load(cdmUuid);
}
/* (non-Javadoc)
.getLogger(FilteredNameSelectionDialog.class);
/**
- * @param taxon
- * @return
- */
+ * Creates a filtered selection dialog to select a name.
+ *
+ * @param shell
+ * The shell for displaying this widget
+ * @param name
+ * A name that should be selected when the dialog opens
+ * @return
+ * A name object upon selection
+ */
public static TaxonNameBase selectName(Shell shell, TaxonNameBase name) {
FilteredNameSelectionDialog dialog = new FilteredNameSelectionDialog(shell,
"Choose a name", false, name);
*/
@Override
protected TaxonNameBase getPersistentObject(UUID cdmUuid) {
- return CdmStore.getNameService().getTaxonNameByUuid(cdmUuid);
+ return CdmStore.getNameService().load(cdmUuid);
}
/* (non-Javadoc)
*/
@Override
protected Person getPersistentObject(UUID uuid) {
- return (Person) CdmStore.getAgentService().getAgentByUuid(uuid);
+ return (Person) CdmStore.getAgentService().load(uuid);
}
/* (non-Javadoc)
import java.util.UUID;
import org.apache.log4j.Logger;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.jface.action.Action;
+import org.eclipse.jface.action.IAction;
+import org.eclipse.jface.action.IMenuManager;
+import org.eclipse.jface.dialogs.IDialogSettings;
import org.eclipse.jface.window.Window;
import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.SelectionAdapter;
+import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Link;
import org.eclipse.swt.widgets.Listener;
import org.eclipse.swt.widgets.Shell;
+import org.eclipse.ui.IMemento;
import eu.etaxonomy.cdm.model.reference.ReferenceBase;
import eu.etaxonomy.taxeditor.dialogs.NewReferenceInputDialog;
private static final Logger logger = Logger
.getLogger(FilteredReferenceSelectionDialog.class);
+ private static final String SHOW_AUTHORS = "ShowAuthors"; //$NON-NLS-1$
+
+ private Button button_showAuthors;
+ private ShowReferencesWithAuthorAction showReferencesWithAuthorAction;
+ private String showAuthorsText = "Include authors in reference name";
+ private boolean showAuthors = false;
+
+ private AbstractContentProvider contentProviderTmp;
+
+ private ItemsFilter itemsFilterTmp;
+
/**
* @param reference
* @param taxon
return getSelectionFromDialog(dialog);
}
+ /* (non-Javadoc)
+ * @see eu.etaxonomy.taxeditor.dialogs.filteredSelection.AbstractFilteredCdmResourceSelectionDialog#fillContentProvider(org.eclipse.ui.dialogs.FilteredItemsSelectionDialog.AbstractContentProvider, org.eclipse.ui.dialogs.FilteredItemsSelectionDialog.ItemsFilter, org.eclipse.core.runtime.IProgressMonitor)
+ */
+ @Override
+ protected void fillContentProvider(AbstractContentProvider contentProvider,
+ ItemsFilter itemsFilter, IProgressMonitor progressMonitor)
+ throws CoreException {
+ super.fillContentProvider(contentProvider, itemsFilter, progressMonitor);
+ contentProviderTmp = contentProvider;
+ itemsFilterTmp = itemsFilter;
+ }
+
+ protected void reloadModel(){
+ try {
+ super.fillContentProvider(contentProviderTmp, itemsFilterTmp, null);
+ } catch (CoreException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ }
+
+
/**
* @param shell
* @param title
*/
protected FilteredReferenceSelectionDialog(Shell shell, String title, boolean multi, ReferenceBase reference) {
super(shell, title, multi, FilteredReferenceSelectionDialog.class.getCanonicalName(), reference);
+ showReferencesWithAuthorAction = new ShowReferencesWithAuthorAction();
}
/* (non-Javadoc)
*/
@Override
protected Control createExtendedContentArea(Composite parent) {
- Link link = new Link(parent, SWT.NONE);
+
+ Composite composite = new Composite(parent, SWT.NONE);
+
+ composite.setLayout(new GridLayout());
+
+
+ button_showAuthors = new Button(composite, SWT.CHECK);
+ button_showAuthors.setText(showAuthorsText);
+
+ button_showAuthors.addSelectionListener(new SelectionAdapter() {
+ @Override
+ public void widgetSelected(SelectionEvent e) {
+ showReferencesWithAuthorAction.run();
+ }
+ });
+
+ Link link = new Link(composite, SWT.NONE);
link.setText("Click <A>here</A> to create a new reference.");
link.addListener (SWT.Selection, new Listener () {
public void handleEvent(Event event) {
}
}
});
- return link;
+ return composite;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.dialogs.FilteredItemsSelectionDialog#restoreDialog(org.eclipse.jface.dialogs.IDialogSettings)
+ */
+ protected void restoreDialog(IDialogSettings settings) {
+ if (settings.get(SHOW_AUTHORS) != null) {
+ showAuthors = settings.getBoolean(SHOW_AUTHORS);
+ }
+ setShowAuthorButtons(showAuthors);
+ super.restoreDialog(settings);
+
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.ui.dialogs.FilteredItemsSelectionDialog#storeDialog(org.eclipse.jface.dialogs.IDialogSettings)
+ */
+ @Override
+ protected void storeDialog(IDialogSettings settings) {
+ settings.put(SHOW_AUTHORS, showAuthors);
+
+ super.storeDialog(settings);
}
/* (non-Javadoc)
*/
@Override
protected ReferenceBase getPersistentObject(UUID cdmUuid) {
- return CdmStore.getReferenceService().getReferenceByUuid(cdmUuid);
+ return CdmStore.getReferenceService().load(cdmUuid);
}
/* (non-Javadoc)
*/
@Override
protected void initModel() {
- model = CdmStore.getReferenceService().getUuidAndTitleCache();
+ if(showAuthors){
+ model = CdmStore.getReferenceService().getUuidAndTitleCache();
+ }else{
+ model = CdmStore.getReferenceService().getUuidAndTitle();
+ }
+ }
+
+ private void setShowAuthorButtons(boolean showAuthors){
+ button_showAuthors.setSelection(showAuthors);
+ showReferencesWithAuthorAction.setChecked(showAuthors);
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.ui.dialogs.FilteredItemsSelectionDialog#fillViewMenu(org.eclipse.jface.action.IMenuManager)
+ */
+ @Override
+ protected void fillViewMenu(IMenuManager menuManager) {
+ super.fillViewMenu(menuManager);
+ menuManager.add(showReferencesWithAuthorAction);
+ }
+
+ private class ShowReferencesWithAuthorAction extends Action{
+ public ShowReferencesWithAuthorAction(){
+ super(showAuthorsText, IAction.AS_CHECK_BOX);
+ }
+
+ public void run(){
+ showAuthors = showAuthors ? false : true;
+ setShowAuthorButtons(showAuthors);
+ initModel();
+ }
}
}
\ No newline at end of file
import org.eclipse.core.runtime.CoreException;\r
import org.eclipse.core.runtime.IProgressMonitor;\r
import org.eclipse.jface.viewers.ILabelProvider;\r
-import org.eclipse.jface.window.Window;\r
import org.eclipse.swt.SWT;\r
import org.eclipse.swt.events.SelectionAdapter;\r
import org.eclipse.swt.events.SelectionEvent;\r
import org.eclipse.swt.widgets.Label;\r
import org.eclipse.swt.widgets.Shell;\r
\r
-import eu.etaxonomy.cdm.model.common.CdmBase;\r
import eu.etaxonomy.cdm.model.common.UuidAndTitleCache;\r
import eu.etaxonomy.cdm.model.taxon.TaxonNode;\r
import eu.etaxonomy.cdm.model.taxon.TaxonomicTree;\r
super(shell, title, multi, FilteredTaxonNodeSelectionDialog.class.getCanonicalName(), node);\r
\r
this.excludeTaxa = excludeTaxa;\r
- taxonomicTrees = CdmStore.getTaxonTreeService().list(null, null).getRecords();\r
- // default to first tree \r
- // TODO this will be problematic and can only be seen as workaround \r
- selectedTaxonomicTree = taxonomicTrees.iterator().next();\r
\r
ILabelProvider labelProvider = new FilteredCdmResourceLabelProvider();\r
\r
setListLabelProvider(labelProvider);\r
setDetailsLabelProvider(labelProvider);\r
\r
- allTaxonBases = CdmStore.getTaxonTreeService().getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByTaxonomicTree(selectedTaxonomicTree);\r
}\r
\r
/* (non-Javadoc)\r
throws CoreException {\r
progressMonitor.beginTask("Looking for taxa", 1000); // Why no progres monitor?\r
if(excludeTaxa == null){\r
- for(UuidAndTitleCache taxon : allTaxonBases){\r
+ for(UuidAndTitleCache taxon : model){\r
contentProvider.add(taxon, itemsFilter);\r
}\r
}else{\r
- for(UuidAndTitleCache taxon : allTaxonBases){\r
+ for(UuidAndTitleCache taxon : model){\r
if( ! excludeTaxa.contains(taxon.getUuid())){\r
contentProvider.add(taxon, itemsFilter);\r
}\r
*/\r
@Override\r
protected void initModel() {\r
- // TODO Auto-generated method stub\r
- \r
+ // default to first tree \r
+ // TODO this will be problematic and can only be seen as workaround \r
+ taxonomicTrees = CdmStore.getTaxonTreeService().list(null, null, null, null, null);\r
+ selectedTaxonomicTree = taxonomicTrees.iterator().next();\r
+ model = CdmStore.getTaxonTreeService().getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByTaxonomicTree(selectedTaxonomicTree);\r
}\r
}
\ No newline at end of file
*/
@Override
protected TaxonBase getPersistentObject(UUID uuid) {
- return CdmStore.getTaxonService().getTaxonByUuid(uuid);
+ return CdmStore.getTaxonService().load(uuid);
}
/* (non-Javadoc)
*/
@Override
protected TeamOrPersonBase getPersistentObject(UUID uuid) {
- return (TeamOrPersonBase) CdmStore.getAgentService().getAgentByUuid(uuid);
+ return (TeamOrPersonBase) CdmStore.getAgentService().load(uuid);
}
/* (non-Javadoc)
reference = Generic.NewInstance();
reference.setTitleCache(treeLabel);
}else{
- reference = CdmStore.getReferenceService().getReferenceByUuid(referenceUuid);
+ reference = CdmStore.getReferenceService().load(referenceUuid);
}
tree.setReference(reference);
throws ExecutionException {
ConversationHolder conversation = CdmStore.NewTransactionalConversation();
- user = CdmStore.getUserService().findByUuid(userUuid);
+ user = CdmStore.getUserService().find(userUuid);
CdmStore.getUserService().delete(user);
conversation.commit();
duplicateBasionymAuthorTeams = findMatchingAuthors((TeamOrPersonBase) name.getBasionymAuthorTeam());
duplicateExBasionymAuthorTeams = findMatchingAuthors((TeamOrPersonBase) name.getExBasionymAuthorTeam());
- duplicateReferences = findMatchingNomenclaturalReference(name.getNomenclaturalReference());
+ ReferenceBase nomenclaturalReference = name.getNomenclaturalReference();
+ duplicateReferences = findMatchingNomenclaturalReference(nomenclaturalReference);
+
+ // check if the reference has an inreference and also check if the inReference already exists
+// // FIXME implement this once the transition to new reference model is complete (cdmlib 3.2)
+// if(nomenclaturalReference.getInReference()){
+// duplicateInReferences = findMatchingNomenclaturalReference(referenceBase.getInReference());
+// }
+
}
/**
import eu.etaxonomy.cdm.api.service.ITaxonTreeService;
import eu.etaxonomy.cdm.api.service.ITermService;
import eu.etaxonomy.cdm.api.service.IUserService;
+import eu.etaxonomy.cdm.api.service.IVocabularyService;
import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator;
import eu.etaxonomy.cdm.api.service.config.ITaxonServiceConfigurator;
+import eu.etaxonomy.cdm.database.DataSourceNotFoundException;
import eu.etaxonomy.cdm.database.DbSchemaValidation;
import eu.etaxonomy.cdm.database.ICdmDataSource;
import eu.etaxonomy.cdm.ext.IEditGeoService;
try {
cdmDatasource.testConnection();
instance = new CdmStore(cdmDatasource, dbSchemaValidation, applicationContextBean);
- } catch (Exception e) {
+ } catch (DataSourceNotFoundException e) {
StoreUtil.errorDialog("Chosen Datasource is not available", "Could not connect to the chosen " +
"datasource '" + cdmDatasource + "'. Please check setting in datasources.xml. If the datasource " +
- "is located on a remote machine, make sure your are connected to the network.");
+ "is located on a remote machine, make sure you are connected to the network.");
+ logger.error(e);
PlatformUI.getWorkbench().close();
}
public static ITermService getTermService() { return getDefault().getApplicationController().getTermService(); }
+ public static IVocabularyService getVocabularyService() { return getDefault().getApplicationController().getVocabularyService(); }
+
public static IEditGeoService getGeoService(){
return (IEditGeoService) getDefault().getApplicationController().getBean("editGeoService");
}
// FIXME use proper method once it is implemented in the library
String titleSearchString = configurator.getTitleSearchString().replace("*", "%");
- return getReferenceService().getReferencesByTitle(titleSearchString);
+ return getReferenceService().findByTitle(null, titleSearchString, null, null, null, null, null, null).getRecords();
}
/**
// FIXME use proper method once it is implemented in the library
String titleSearchString = configurator.getTitleSearchString().replace("*", "%");
- return getAgentService().findAgentsByTitle(titleSearchString);
+ return getAgentService().findByTitle(null, titleSearchString, null, null, null, null, null, null).getRecords();
}
public static List<TeamOrPersonBase> findTeamOrPersons(IIdentifiableEntityServiceConfigurator configurator){
TermVocabulary<DefinedTermBase> vocabulary = getTermVocabulary(vocabularyType);
vocabulary.addTerm(term);
- CdmStore.getTermService().saveTermVocabulary(vocabulary);
+ CdmStore.getVocabularyService().save(vocabulary);
}
/**
* @param feature
*/
public static void updateVocabulary(DefinedTermBase term) {
- CdmStore.getTermService().saveTerm(term);
+ CdmStore.getTermService().save(term);
}
}
public static TermVocabulary<DefinedTermBase> getTermVocabulary(VocabularyEnum vocabularyType){
- return CdmStore.getTermService().getVocabulary(vocabularyType);
+ return CdmStore.getVocabularyService().getVocabulary(vocabularyType);
}
}
* @return
*/
private List<User> getAllUser(){
- return CdmStore.getUserService().list(100000, 0);
+ return CdmStore.getUserService().list(null, 100000, 0, null, null);
}
/* (non-Javadoc)