From 090abd69204b561ae8bf777c7d85891fce8d2ff4 Mon Sep 17 00:00:00 2001 From: "n.hoffmann" Date: Tue, 24 Feb 2009 13:35:30 +0000 Subject: [PATCH] migrating to cdmlib-plugin 2.0.0.20 including new term loading --- .gitignore | 1 + .../eu.etaxonomy.taxeditor/.classpath | 14 +- .../META-INF/MANIFEST.MF | 7 +- .../eu.etaxonomy.taxeditor/build.properties | 12 +- .../eu.etaxonomy.taxeditor.product | 753 +++++++++--------- .../eu.etaxonomy.taxeditor/log4j.properties | 2 +- .../eu.etaxonomy.taxeditor/plugin.xml | 78 +- .../ApplicationActionBarAdvisor.java | 17 +- .../etaxonomy/taxeditor/TaxEditorPlugin.java | 5 + .../taxeditor/actions/io/ExportAction.java | 26 +- .../taxeditor/actions/io/ImportAction.java | 36 +- .../actions/ui/OpenTaxonEditorAction.java | 1 - .../datasource/CdmDataSourceRepository.java | 20 +- .../datasource/CdmTransactionController.java | 2 +- .../taxeditor/editor/AbstractTaxonEditor.java | 16 +- .../editor/CompositeBorderDecorator.java | 4 +- .../editor/EmptyTextViewerPrompt.java | 2 +- .../taxeditor/editor/ErrorAnnotation.java | 2 +- .../editor/FreeTextElementFactory.java | 14 +- .../taxeditor/editor/GroupComposite.java | 2 +- .../taxeditor/editor/GroupedComposite.java | 4 +- .../taxeditor/editor/LineBreakListener.java | 4 +- .../taxeditor/editor/MenuConstants.java | 12 +- .../DescriptionElementComposite.java | 2 +- .../DescriptionLabelComposite.java | 1 - .../description/TaxonDescriptionEditor.java | 8 +- .../editor/name/AcceptedNameComposite.java | 2 +- .../editor/name/ConceptComposite.java | 2 +- .../editor/name/SynonymComposite.java | 4 +- .../editor/name/TaxonNameEditor.java | 16 +- .../handlers/AddTaxonomicChildHandler.java | 1 - .../CreateHeterotypicSynonymHandler.java | 1 - .../CreateHomotypicSynonymHandler.java | 1 - .../handlers/DeleteTaxonHandler.java | 1 - .../taxeditor/handlers/NewTaxonHandler.java | 1 - .../taxeditor/handlers/OpenTaxonHandler.java | 1 - .../taxeditor/handlers/SaveAllHandler.java | 1 - .../model/CdmSessionDataRepository.java | 46 +- .../taxeditor/navigation/SearchResult.java | 26 +- .../navigation/TaxonomicTreeView.java | 4 +- .../navigation/TaxonomicTreeViewer.java | 6 +- .../taxeditor/preference/PreferencesUtil.java | 8 +- .../taxeditor/propertysheet/DayValidator.java | 2 +- .../name/TaxonBasePropertySource.java | 19 +- .../type/wizard/ListTypeWizardPage.java | 10 +- 45 files changed, 632 insertions(+), 565 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..612cf961a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +eclipseprojects/eu.etaxonomy.taxeditor/src/eu/etaxonomy/taxeditor/sandbox diff --git a/eclipseprojects/eu.etaxonomy.taxeditor/.classpath b/eclipseprojects/eu.etaxonomy.taxeditor/.classpath index 021596729..1fa3e6803 100644 --- a/eclipseprojects/eu.etaxonomy.taxeditor/.classpath +++ b/eclipseprojects/eu.etaxonomy.taxeditor/.classpath @@ -1,7 +1,7 @@ - - - - - - - + + + + + + + diff --git a/eclipseprojects/eu.etaxonomy.taxeditor/META-INF/MANIFEST.MF b/eclipseprojects/eu.etaxonomy.taxeditor/META-INF/MANIFEST.MF index 9236f3c27..ecff57d5a 100644 --- a/eclipseprojects/eu.etaxonomy.taxeditor/META-INF/MANIFEST.MF +++ b/eclipseprojects/eu.etaxonomy.taxeditor/META-INF/MANIFEST.MF @@ -13,12 +13,11 @@ Require-Bundle: org.eclipse.ui, org.eclipse.ui.forms, org.eclipse.core.resources, org.eclipse.ui.views, - org.eclipse.pde.source, org.eclipse.ui.ide, org.eclipse.ui.workbench.texteditor, org.eclipse.ui.editors, - eu.etaxonomy.cdmLibrary;bundle-version="2.0.0", - org.eclipse.core.expressions;bundle-version="3.4.0" + org.eclipse.core.expressions;bundle-version="3.4.0", + eu.etaxonomy.cdmLibrary;bundle-version="2.0.0" Eclipse-LazyStart: true Export-Package: com.swtdesigner, eu.etaxonomy.taxeditor, @@ -26,3 +25,5 @@ Export-Package: com.swtdesigner, eu.etaxonomy.taxeditor.editor, eu.etaxonomy.taxeditor.model Main-Class: eu.etaxonomy.taxeditor.Application +Import-Package: junit.framework, + org.junit diff --git a/eclipseprojects/eu.etaxonomy.taxeditor/build.properties b/eclipseprojects/eu.etaxonomy.taxeditor/build.properties index ec0dad2db..79facc532 100644 --- a/eclipseprojects/eu.etaxonomy.taxeditor/build.properties +++ b/eclipseprojects/eu.etaxonomy.taxeditor/build.properties @@ -6,11 +6,9 @@ bin.includes = plugin.xml,\ icons/,\ splash.bmp,\ bin/,\ - .project,\ - .classpath,\ - build.properties,\ + log4j.properties,\ eu.etaxonomy.taxeditor.product,\ - src/eu/etaxonomy/taxeditor/log4j.properties,\ - log4jjj.properties -src.includes = src/eu/etaxonomy/taxeditor/log4j.properties,\ - log4jjj.properties + build.properties,\ + plugin_customization.ini +src.includes = log4j.properties +jars.compile.order = . diff --git a/eclipseprojects/eu.etaxonomy.taxeditor/eu.etaxonomy.taxeditor.product b/eclipseprojects/eu.etaxonomy.taxeditor/eu.etaxonomy.taxeditor.product index 901cbb26f..b5311f583 100644 --- a/eclipseprojects/eu.etaxonomy.taxeditor/eu.etaxonomy.taxeditor.product +++ b/eclipseprojects/eu.etaxonomy.taxeditor/eu.etaxonomy.taxeditor.product @@ -1,376 +1,377 @@ - - - - - - - - %productBlurb - - - - - - - -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + %productBlurb + + + + + + + + + + + + + + + + + + + + + + org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.launching.macosx.MacOSXType/JVM 1.5.0 (MacOS X Default) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/eclipseprojects/eu.etaxonomy.taxeditor/log4j.properties b/eclipseprojects/eu.etaxonomy.taxeditor/log4j.properties index 4bb0b328d..2f29d728e 100644 --- a/eclipseprojects/eu.etaxonomy.taxeditor/log4j.properties +++ b/eclipseprojects/eu.etaxonomy.taxeditor/log4j.properties @@ -19,6 +19,6 @@ log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n log4j.rootLogger=FATAL, stdout ### set directory-specific levels below -log4j.logger.eu.etaxonomy.taxeditor = ERROR +log4j.logger.eu.etaxonomy.taxeditor = DEBUG diff --git a/eclipseprojects/eu.etaxonomy.taxeditor/plugin.xml b/eclipseprojects/eu.etaxonomy.taxeditor/plugin.xml index e6f85726d..3f8bbd291 100644 --- a/eclipseprojects/eu.etaxonomy.taxeditor/plugin.xml +++ b/eclipseprojects/eu.etaxonomy.taxeditor/plugin.xml @@ -5,7 +5,11 @@ - + @@ -83,10 +87,12 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +