Revision 707b6237
Added by Niels Hoffmann over 12 years ago
.gitattributes | ||
---|---|---|
66 | 66 |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/IBulkEditorConstants.java -text |
67 | 67 |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/IBulkEditorSortProvider.java -text |
68 | 68 |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/PropertyTester.java -text |
69 |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/command/BulkEditorInputTypeValues.java -text |
|
70 | 69 |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/command/BulkEditorPropertyTester.java -text |
71 | 70 |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/command/DeleteObjectContributionItem.java -text |
72 | 71 |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/command/DynamicMarkerTypeEditingMenu.java -text |
... | ... | |
85 | 84 |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/handler/SetMergeTargetHandler.java -text |
86 | 85 |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/AbstractBulkEditorInput.java -text |
87 | 86 |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/AgentEditorInput.java -text |
87 |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/BulkEditorInputType.java -text |
|
88 | 88 |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/GroupEditorInput.java -text |
89 | 89 |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/NameEditorInput.java -text |
90 | 90 |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/NameRelationshipEditorInput.java -text |
... | ... | |
220 | 220 |
eu.etaxonomy.taxeditor.cdmlib/lib/odfdom-0.8.jar -text |
221 | 221 |
eu.etaxonomy.taxeditor.cdmlib/lib/opencsv-1.8.jar -text |
222 | 222 |
eu.etaxonomy.taxeditor.cdmlib/lib/org.apache.commons.codec-1.3.0.jar -text |
223 |
eu.etaxonomy.taxeditor.cdmlib/lib/org.eclipse.equinox.common-3.6.0.v20100503.jar -text |
|
224 |
eu.etaxonomy.taxeditor.cdmlib/lib/org.eclipse.osgi-3.6.2.R36x_v20110210.jar -text |
|
223 | 225 |
eu.etaxonomy.taxeditor.cdmlib/lib/org.springframework.aop-3.0.4.RELEASE-sources.jar -text |
224 | 226 |
eu.etaxonomy.taxeditor.cdmlib/lib/org.springframework.aop-3.0.4.RELEASE.jar -text |
225 | 227 |
eu.etaxonomy.taxeditor.cdmlib/lib/org.springframework.asm-3.0.4.RELEASE-sources.jar -text |
... | ... | |
255 | 257 |
eu.etaxonomy.taxeditor.cdmlib/lib/serializer-2.7.0.jar -text |
256 | 258 |
eu.etaxonomy.taxeditor.cdmlib/lib/serializer.LICENSE.txt -text |
257 | 259 |
eu.etaxonomy.taxeditor.cdmlib/lib/serializer.NOTICE.txt -text |
260 |
eu.etaxonomy.taxeditor.cdmlib/lib/servlet-2.5.0.jar -text |
|
258 | 261 |
eu.etaxonomy.taxeditor.cdmlib/lib/servlet-api-2.5.jar -text |
259 | 262 |
eu.etaxonomy.taxeditor.cdmlib/lib/servlet-api-2.5src.zip -text |
260 | 263 |
eu.etaxonomy.taxeditor.cdmlib/lib/slf4j-api-1.5.2.jar -text |
... | ... | |
265 | 268 |
eu.etaxonomy.taxeditor.cdmlib/lib/spring-modules-cache-0.7src.zip -text |
266 | 269 |
eu.etaxonomy.taxeditor.cdmlib/lib/spring-modules-lucene-0.8a.jar -text |
267 | 270 |
eu.etaxonomy.taxeditor.cdmlib/lib/spring-modules-lucene-0.8asrc.zip -text |
268 |
eu.etaxonomy.taxeditor.cdmlib/lib/spring-security-core-3.0.0.RELEASE.jar -text
|
|
269 |
eu.etaxonomy.taxeditor.cdmlib/lib/spring-security-core-3.0.0.RELEASEsrc.zip -text
|
|
271 |
eu.etaxonomy.taxeditor.cdmlib/lib/spring-security-config-3.0.5.RELEASE.jar -text
|
|
272 |
eu.etaxonomy.taxeditor.cdmlib/lib/spring-security-core-3.0.5.RELEASE.jar -text
|
|
270 | 273 |
eu.etaxonomy.taxeditor.cdmlib/lib/wsdl4j-1.6.1.jar -text |
271 | 274 |
eu.etaxonomy.taxeditor.cdmlib/lib/wsdl4j-1.6.1src.zip -text |
272 | 275 |
eu.etaxonomy.taxeditor.cdmlib/lib/xalan-2.7.0.jar -text |
... | ... | |
317 | 320 |
eu.etaxonomy.taxeditor.editor/plugin.xml -text |
318 | 321 |
eu.etaxonomy.taxeditor.editor/pom.xml -text |
319 | 322 |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/CdmDataTransfer.java -text |
323 |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/ChooseFromMultipleTaxonNodesDialog.java -text |
|
320 | 324 |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/EditorStateManager.java -text |
321 | 325 |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/EditorUtil.java -text |
322 | 326 |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/IDropTargetable.java -text |
... | ... | |
344 | 348 |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/AbstractGraphKeyEditor.java -text |
345 | 349 |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/AbstractIdentificationEditorInput.java -text |
346 | 350 |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/KeyEditor.java -text |
351 |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/KeyEditorDataChangeBehaviour.java -text |
|
347 | 352 |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/handler/ApplyLayoutHandler.java -text |
348 | 353 |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/polytomous/IPolytomousKeyEditorPage.java -text |
349 | 354 |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/polytomous/PolytomousKeyContentProvider.java -text |
... | ... | |
485 | 490 |
eu.etaxonomy.taxeditor.editor/src/test/java/eu/etaxonomy/taxeditor/editor/name/operation/DeleteSynonymOperationTest.java -text |
486 | 491 |
eu.etaxonomy.taxeditor.editor/src/test/java/eu/etaxonomy/taxeditor/editor/name/operation/MoveTaxonOperationTest.java -text |
487 | 492 |
eu.etaxonomy.taxeditor.editor/src/test/java/eu/etaxonomy/taxeditor/editor/name/operation/SwapSynonymAndAcceptedOperationTest.java -text |
488 |
eu.etaxonomy.taxeditor.feature.platform/.project -text |
|
489 | 493 |
eu.etaxonomy.taxeditor.feature.platform/build.properties -text |
490 | 494 |
eu.etaxonomy.taxeditor.feature.platform/feature.xml -text |
491 |
eu.etaxonomy.taxeditor.feature/.project -text |
|
492 |
eu.etaxonomy.taxeditor.feature/buckminster.cspex -text |
|
493 |
eu.etaxonomy.taxeditor.feature/buckminster.properties -text |
|
494 |
eu.etaxonomy.taxeditor.feature/buckminster_product.properties -text |
|
495 |
eu.etaxonomy.taxeditor.feature.platform/pom.xml -text |
|
495 | 496 |
eu.etaxonomy.taxeditor.feature/build.properties -text |
496 |
eu.etaxonomy.taxeditor.feature/build/product.ant -text |
|
497 | 497 |
eu.etaxonomy.taxeditor.feature/feature.xml -text |
498 |
eu.etaxonomy.taxeditor.feature/rcp.target -text |
|
499 |
eu.etaxonomy.taxeditor.feature/site.cquery -text |
|
500 |
eu.etaxonomy.taxeditor.feature/site.rmap -text |
|
501 |
eu.etaxonomy.taxeditor.feature/taxeditor.product -text |
|
498 |
eu.etaxonomy.taxeditor.feature/pom.xml -text |
|
502 | 499 |
eu.etaxonomy.taxeditor.navigation/META-INF/MANIFEST.MF -text |
503 | 500 |
eu.etaxonomy.taxeditor.navigation/build.properties -text |
504 | 501 |
eu.etaxonomy.taxeditor.navigation/icons/edit_16x16.gif -text |
... | ... | |
516 | 513 |
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/key/polytomous/PolytomousKeyContentProvider.java -text |
517 | 514 |
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/key/polytomous/PolytomousKeyLabelProvider.java -text |
518 | 515 |
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/key/polytomous/PolytomousKeyViewPart.java -text |
516 |
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/key/polytomous/PolytomousKeyViewPartDataChangeBehavior.java -text |
|
519 | 517 |
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/key/polytomous/handler/DeleteHandler.java -text |
520 | 518 |
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/key/polytomous/handler/EditHandler.java -text |
521 | 519 |
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/key/polytomous/operation/DeleteOperation.java -text |
... | ... | |
530 | 528 |
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/TaxonNavigator.java -text |
531 | 529 |
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/TaxonNavigatorDataChangeBehavior.java -text |
532 | 530 |
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/TaxonNodeContentProvider.java -text |
533 |
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/TaxonNodeDropAdapterAssistant.java -text |
|
534 | 531 |
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/TaxonNodeLabelProvider.java -text |
535 | 532 |
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/TaxonNodePropertyTester.java -text |
533 |
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/TreeNodeDropAdapterAssistant.java -text |
|
536 | 534 |
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/handler/DeleteHandler.java -text |
537 | 535 |
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/handler/EditHandler.java -text |
538 | 536 |
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/handler/MoveTaxonHandler.java -text |
... | ... | |
562 | 560 |
eu.etaxonomy.taxeditor.printpublisher/build.properties -text |
563 | 561 |
eu.etaxonomy.taxeditor.printpublisher/plugin.xml -text |
564 | 562 |
eu.etaxonomy.taxeditor.printpublisher/pom.xml -text |
563 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/PrintUtil.java -text |
|
565 | 564 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/handler/GeneratePdfHandler.java -text |
566 | 565 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/internal/PrintpublisherPlugin.java -text |
567 | 566 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/AbstractPublishWizard.java -text |
568 | 567 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/AbstractPublishWizardPage.java -text |
569 | 568 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/DirectPublishingWizard.java -text |
570 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/OptionsWizardPage.java -text |
|
571 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/OverviewWizardPage.java -text |
|
572 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/PrintUtil.java -text |
|
569 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/IHasPersistableSettings.java -text |
|
573 | 570 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/PublishWizardODF.java -text |
574 | 571 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/PublishWizardPDF.java -text |
575 | 572 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/PublishWizardTaxPub.java -text |
576 | 573 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/PublishWizardXML.java -text |
574 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/SelectDirectoryWizardPage.java -text |
|
577 | 575 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/SelectFeatureTreeWizardPage.java -text |
578 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/SelectFolderWizardPage.java -text
|
|
576 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/SelectOptionsWizardPage.java -text
|
|
579 | 577 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/SelectServiceWizardPage.java -text |
578 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/SelectStylesheetWizardPage.java -text |
|
580 | 579 |
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/SelectTaxaWizardPage.java -text |
581 | 580 |
eu.etaxonomy.taxeditor.store/META-INF/MANIFEST.MF -text |
582 | 581 |
eu.etaxonomy.taxeditor.store/build.properties -text |
... | ... | |
753 | 752 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/AbstractImportWizard.java -text |
754 | 753 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/BerlinModelExportWizard.java -text |
755 | 754 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/BerlinModelImportWizard.java -text |
755 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/DarwinCoreArchiveExportWizard.java -text |
|
756 | 756 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/EndnoteImportWizard.java -text |
757 | 757 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ExcelNormalExplicitTaxaImportWizard.java -text |
758 | 758 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ExportToFileDestinationWizardPage.java -text |
... | ... | |
764 | 764 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/NomenclaturalCodeWizardPage.java -text |
765 | 765 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/SddExportWizard.java -text |
766 | 766 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/SddImportWizard.java -text |
767 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/SpecimenCdmExcelImportWizard.java -text |
|
767 | 768 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/TcsExportWizard.java -text |
768 | 769 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/TcsImportWizard.java -text |
769 | 770 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/labels/DefaultLabelStrategy.java -text |
... | ... | |
802 | 803 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/TextHelper.java -text |
803 | 804 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/TimeHelper.java -text |
804 | 805 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/AbstractNewEntityWizard.java -text |
805 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/ClassificationWizardPage.java -text |
|
806 | 806 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/ExternalReferenceServiceWizardPage.java -text |
807 | 807 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewClassificationWizard.java -text |
808 | 808 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewCollectionWizard.java -text |
... | ... | |
944 | 944 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/AbstractCdmDetailSection.java -text |
945 | 945 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/AbstractEntityCollectionElement.java -text |
946 | 946 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/AbstractEntityCollectionSection.java -text |
947 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/AbstractIdentifiableEntityDetailElement.java -text |
|
947 | 948 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/EmptyElement.java -text |
948 | 949 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/ITaxonBaseDetailSection.java -text |
949 | 950 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/agent/InstitutionDetailElement.java -text |
... | ... | |
1013 | 1014 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/key/PolytomousKeyNodeDetailSection.java -text |
1014 | 1015 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/key/ScopeRestrictionSection.java -text |
1015 | 1016 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/key/TaxonomicScopeSection.java -text |
1017 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/media/ImageFileElement.java -text |
|
1018 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/media/MediaElement.java -text |
|
1019 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/media/MediaRepresentationElement.java -text |
|
1020 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/media/MediaRepresentationPartElement.java -text |
|
1021 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/media/MediaRepresentationPartSection.java -text |
|
1022 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/media/MediaRepresentationSection.java -text |
|
1023 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/media/MediaSection.java -text |
|
1016 | 1024 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/AbstractTypeDesignationElement.java -text |
1017 | 1025 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/AuthorshipDetailElement.java -text |
1018 | 1026 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/AuthorshipDetailSection.java -text |
... | ... | |
1034 | 1042 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/ProtologueSection.java -text |
1035 | 1043 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/SpecimenTypeDesignationElement.java -text |
1036 | 1044 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/TypeDesignationSection.java -text |
1045 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/AbstractDeterminationEventDetailSection.java -text |
|
1037 | 1046 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/AbstractEventDetailElement.java -text |
1038 | 1047 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/CollectingAreasDetailSection.java -text |
1039 | 1048 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/CollectionDetailElement.java -text |
1040 | 1049 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/CollectionWizardPage.java -text |
1050 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/CurrentDeterminationDetailSection.java -text |
|
1041 | 1051 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/DerivedUnitBaseDetailElement.java -text |
1042 | 1052 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/DerivedUnitBaseDetailSection.java -text |
1043 | 1053 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/DerivedUnitBaseWizardPage.java -text |
1044 | 1054 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/DerivedUnitFacadeDetailElement.java -text |
1045 | 1055 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/DerivedUnitFacadeDetailSection.java -text |
1046 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/DerivedUnitFacadeWizardPage.java -text |
|
1056 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/DeterminationDetailElement.java -text |
|
1057 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/DeterminationDetailSection.java -text |
|
1047 | 1058 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/DeterminationEventDetailElement.java -text |
1048 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/DeterminationEventDetailSection.java -text
|
|
1059 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/DeterminationHistoryDetailSection.java -text
|
|
1049 | 1060 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/FieldObservationDetailElement.java -text |
1050 | 1061 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/FieldObservationDetailSection.java -text |
1051 | 1062 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/FieldObservationWizardPage.java -text |
... | ... | |
1065 | 1076 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/reference/ReferenceDetailElement.java -text |
1066 | 1077 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/reference/ReferenceDetailSection.java -text |
1067 | 1078 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/reference/ReferenceWizardPage.java -text |
1068 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/AbstractMediaRepresentationPartElement.java -text |
|
1069 | 1079 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/AbstractOriginalSourceElement.java -text |
1070 | 1080 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/AbstractReferencedEntityElement.java -text |
1071 | 1081 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/AnnotationElement.java -text |
... | ... | |
1076 | 1086 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/ExtensionSection.java -text |
1077 | 1087 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/HeadlineSection.java -text |
1078 | 1088 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/IdentifiableSourceElement.java -text |
1079 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/ImageFileElement.java -text |
|
1080 | 1089 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/MarkerElement.java -text |
1081 | 1090 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/MarkerSection.java -text |
1082 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/MediaElement.java -text |
|
1083 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/MediaRepresentationElement.java -text |
|
1084 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/MediaRepresentationPartSection.java -text |
|
1085 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/MediaRepresentationSection.java -text |
|
1086 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/MediaSection.java -text |
|
1087 | 1091 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/RightsElement.java -text |
1088 | 1092 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/RightsSection.java -text |
1089 | 1093 |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/SourceSection.java -text |
... | ... | |
1183 | 1187 |
eu.etaxonomy.taxeditor.store/src/main/resources/config.properties -text |
1184 | 1188 |
eu.etaxonomy.taxeditor.store/src/main/resources/eu/etaxonomy/cdm/editorApplicationContext.xml -text |
1185 | 1189 |
eu.etaxonomy.taxeditor.store/src/main/resources/log4j.properties -text |
1186 |
eu.etaxonomy.taxeditor.store/src/test/java/eu/etaxonomy/taxeditor/store/CdmStoreTest.java -text |
|
1187 | 1190 |
eu.etaxonomy.taxeditor.store/src/test/java/eu/etaxonomy/taxeditor/store/NameProtectTitleCacheTest.java -text |
1188 |
eu.etaxonomy.taxeditor.store/src/test/java/eu/etaxonomy/taxeditor/store/operations/AbstractTaxeditorOperationTest.java -text |
|
1191 |
eu.etaxonomy.taxeditor.store/src/test/java/eu/etaxonomy/taxeditor/store/operations/AbstractTaxeditorOperationTestBase.java -text
|
|
1189 | 1192 |
eu.etaxonomy.taxeditor.store/src/test/resources/eu/etaxonomy/cdm/applicationContext-test.xml -text |
1190 | 1193 |
eu.etaxonomy.taxeditor.store/src/test/resources/eu/etaxonomy/cdm/cdm.datasources.xml -text |
1191 | 1194 |
eu.etaxonomy.taxeditor.store/src/test/resources/eu/etaxonomy/cdm/cdmfs.xml -text |
.gitignore | ||
---|---|---|
35 | 35 |
eu.etaxonomy.taxeditor.cdmlib/cdmlib-services-2.0.jar |
36 | 36 |
eu.etaxonomy.taxeditor.cdmlib/cdmlib-services-2.0src.zip |
37 | 37 |
eu.etaxonomy.taxeditor.cdmlib/dist |
38 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-commons-2.5-sources.jar |
|
39 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-commons-2.5.jar |
|
40 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-commons-2.5src.zip |
|
41 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-commons-3.0-sources.jar |
|
42 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-commons-3.0.4-SNAPSHOT-sources.jar |
|
43 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-commons-3.0.4-SNAPSHOT.jar |
|
44 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-commons-3.0.jar |
|
45 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-ext-2.5-sources.jar |
|
46 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-ext-2.5.jar |
|
47 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-ext-2.5src.zip |
|
48 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-ext-3.0-sources.jar |
|
49 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-ext-3.0.4-SNAPSHOT-sources.jar |
|
50 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-ext-3.0.4-SNAPSHOT.jar |
|
51 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-ext-3.0.jar |
|
52 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-io-2.5-sources.jar |
|
53 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-io-2.5.jar |
|
54 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-io-2.5src.zip |
|
55 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-io-3.0-sources.jar |
|
56 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-io-3.0.4-SNAPSHOT-sources.jar |
|
57 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-io-3.0.4-SNAPSHOT.jar |
|
58 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-io-3.0.jar |
|
59 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-model-2.5-sources.jar |
|
60 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-model-2.5.jar |
|
61 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-model-2.5src.zip |
|
62 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-model-3.0-sources.jar |
|
63 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-model-3.0.4-SNAPSHOT-sources.jar |
|
64 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-model-3.0.4-SNAPSHOT.jar |
|
65 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-model-3.0.jar |
|
66 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-persistence-2.5-sources.jar |
|
67 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-persistence-2.5.jar |
|
68 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-persistence-2.5src.zip |
|
69 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-persistence-3.0-sources.jar |
|
70 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-persistence-3.0.4-SNAPSHOT-sources.jar |
|
71 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-persistence-3.0.4-SNAPSHOT.jar |
|
72 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-persistence-3.0.jar |
|
73 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-print-2.5-sources.jar |
|
74 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-print-2.5.jar |
|
75 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-print-2.5src.zip |
|
76 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-print-3.0-sources.jar |
|
77 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-print-3.0.4-SNAPSHOT-sources.jar |
|
78 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-print-3.0.4-SNAPSHOT.jar |
|
79 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-print-3.0.jar |
|
80 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-remote-2.5-sources.jar |
|
81 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-remote-2.5.jar |
|
82 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-remote-2.5src.zip |
|
83 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-remote-3.0-sources.jar |
|
84 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-remote-3.0.4-SNAPSHOT-sources.jar |
|
85 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-remote-3.0.4-SNAPSHOT.jar |
|
86 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-remote-3.0.jar |
|
87 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-services-2.5-sources.jar |
|
88 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-services-2.5.jar |
|
89 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-services-2.5src.zip |
|
90 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-services-3.0-sources.jar |
|
91 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-services-3.0.4-SNAPSHOT-sources.jar |
|
92 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-services-3.0.4-SNAPSHOT.jar |
|
93 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib-services-3.0.jar |
|
38 |
eu.etaxonomy.taxeditor.cdmlib/lib/cdmlib* |
|
94 | 39 |
eu.etaxonomy.taxeditor.cdmlib/log4j-1.2.14src.zip |
95 | 40 |
eu.etaxonomy.taxeditor.cdmlib/target |
96 | 41 |
eu.etaxonomy.taxeditor.editor/.classpath |
97 | 42 |
eu.etaxonomy.taxeditor.editor/.project |
98 | 43 |
eu.etaxonomy.taxeditor.editor/.settings |
99 | 44 |
eu.etaxonomy.taxeditor.editor/target |
45 |
eu.etaxonomy.taxeditor.feature.platform/.classpath |
|
46 |
eu.etaxonomy.taxeditor.feature.platform/.project |
|
47 |
eu.etaxonomy.taxeditor.feature.platform/.settings |
|
48 |
eu.etaxonomy.taxeditor.feature.platform/target |
|
49 |
eu.etaxonomy.taxeditor.feature/.classpath |
|
50 |
eu.etaxonomy.taxeditor.feature/.project |
|
51 |
eu.etaxonomy.taxeditor.feature/.settings |
|
100 | 52 |
eu.etaxonomy.taxeditor.feature/compile.eu.etaxonomy.taxeditor.product.feature.xml |
101 | 53 |
eu.etaxonomy.taxeditor.feature/plugin_customization.ini |
54 |
eu.etaxonomy.taxeditor.feature/target |
|
102 | 55 |
eu.etaxonomy.taxeditor.feature/workspace |
103 | 56 |
eu.etaxonomy.taxeditor.navigation/.classpath |
104 | 57 |
eu.etaxonomy.taxeditor.navigation/.project |
eu.etaxonomy.taxeditor.application/META-INF/MANIFEST.MF | ||
---|---|---|
1 | 1 |
Manifest-Version: 1.0 |
2 | 2 |
Bundle-ManifestVersion: 2 |
3 |
Bundle-Name: EDIT Taxonomic Editor
|
|
3 |
Bundle-Name: Application
|
|
4 | 4 |
Bundle-SymbolicName: eu.etaxonomy.taxeditor.application;singleton:=true |
5 |
Bundle-Version: 3.0.0.qualifier
|
|
5 |
Bundle-Version: 3.0.6.SNAPSHOT
|
|
6 | 6 |
Bundle-Activator: eu.etaxonomy.taxeditor.TaxonomicEditorPlugin |
7 | 7 |
Bundle-Vendor: EDIT |
8 | 8 |
Bundle-Localization: plugin |
... | ... | |
26 | 26 |
org.eclipse.equinox.p2.ui, |
27 | 27 |
org.eclipse.equinox.p2.ui.sdk, |
28 | 28 |
org.eclipse.equinox.p2.updatechecker, |
29 |
org.eclipse.equinox.p2.operations, |
|
30 |
org.eclipse.pde.junit.runtime;bundle-version="3.4.100" |
|
29 |
org.eclipse.equinox.p2.operations |
|
30 |
Bundle-ClassPath: . |
eu.etaxonomy.taxeditor.application/plugin.xml | ||
---|---|---|
188 | 188 |
<menuContribution |
189 | 189 |
locationURI="menu:org.eclipse.ui.main.menu.window"> |
190 | 190 |
<separator |
191 |
name="taxeditor-application.windowMenu.last"
|
|
191 |
name="eu.etaxonomy.taxeditor.application.windowMenu.last"
|
|
192 | 192 |
visible="true"> |
193 | 193 |
</separator> |
194 | 194 |
<command |
... | ... | |
205 | 205 |
style="push"> |
206 | 206 |
</command> |
207 | 207 |
<command |
208 |
commandId="taxeditor-application.help.parser"
|
|
208 |
commandId="eu.etaxonomy.taxeditor.application.help.parser"
|
|
209 | 209 |
label="Parser Help Website" |
210 | 210 |
style="push"> |
211 | 211 |
</command> |
... | ... | |
232 | 232 |
label="About Taxonomic Editor"> |
233 | 233 |
</command> |
234 | 234 |
<command |
235 |
commandId="taxeditor-application.help.aboutPlatform"
|
|
235 |
commandId="eu.etaxonomy.taxeditor.application.help.aboutPlatform"
|
|
236 | 236 |
label="About the EDIT Platform" |
237 | 237 |
style="push"> |
238 | 238 |
</command> |
... | ... | |
306 | 306 |
</command> |
307 | 307 |
<command |
308 | 308 |
defaultHandler="eu.etaxonomy.taxeditor.OpenExternalParserHelpHandler" |
309 |
id="taxeditor-application.help.parser"
|
|
309 |
id="eu.etaxonomy.taxeditor.application.help.parser"
|
|
310 | 310 |
name="Parser Help"> |
311 | 311 |
</command> |
312 | 312 |
<command |
313 | 313 |
defaultHandler="eu.etaxonomy.taxeditor.OpenExternalAboutPlatformHandler" |
314 |
id="taxeditor-application.help.aboutPlatform"
|
|
314 |
id="eu.etaxonomy.taxeditor.application.help.aboutPlatform"
|
|
315 | 315 |
name="About the EDIT Platform"> |
316 | 316 |
</command> |
317 | 317 |
</extension> |
... | ... | |
368 | 368 |
pattern="org\.eclipse\.search.*"> |
369 | 369 |
</activityPatternBinding> |
370 | 370 |
</extension> |
371 |
<extension |
|
372 |
id="eu_etaxonomy_taxeditor_product" |
|
373 |
point="org.eclipse.core.runtime.products"> |
|
374 |
<product |
|
375 |
application="eu.etaxonomy.taxeditor.application.application" |
|
376 |
name="EDIT Taxonomic Editor"> |
|
377 |
<property |
|
378 |
name="appName" |
|
379 |
value="EDIT Taxonomic Editor"> |
|
380 |
</property> |
|
381 |
<property |
|
382 |
name="aboutImage" |
|
383 |
value="icons/256color_48x48.gif"> |
|
384 |
</property> |
|
385 |
<property |
|
386 |
name="aboutText" |
|
387 |
value="%productBlurb"> |
|
388 |
</property> |
|
389 |
<property |
|
390 |
name="windowImages" |
|
391 |
value="icons/256color_16x16.gif,icons/256color_32x32.gif,icons/256color_48x48.gif"> |
|
392 |
</property> |
|
393 |
<property |
|
394 |
name="startupForegroundColor" |
|
395 |
value="000000"> |
|
396 |
</property> |
|
397 |
<property |
|
398 |
name="startupMessageRect" |
|
399 |
value="7,432,360,20"> |
|
400 |
</property> |
|
401 |
<property |
|
402 |
name="startupProgressRect" |
|
403 |
value="5,447,366,15"> |
|
404 |
</property> |
|
405 |
<property |
|
406 |
name="preferenceCustomization" |
|
407 |
value="plugin_customization.ini"> |
|
408 |
</property> |
|
409 |
</product> |
|
410 |
</extension> |
|
371 | 411 |
|
372 | 412 |
</plugin> |
eu.etaxonomy.taxeditor.application/pom.xml | ||
---|---|---|
1 | 1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
|
3 |
|
|
4 |
<parent> |
|
5 |
<groupId>eu.etaxonomy</groupId> |
|
6 |
<artifactId>taxeditor-parent</artifactId> |
|
7 |
<version>3.0</version> |
|
8 |
</parent> |
|
9 |
|
|
10 |
<modelVersion>4.0.0</modelVersion> |
|
11 |
<groupId>eu.etaxonomy</groupId> |
|
12 |
<artifactId>eu.etaxonomy.taxeditor.application</artifactId> |
|
13 |
<packaging>jar</packaging> |
|
14 |
<version>3.0</version> |
|
15 |
<name>Application</name> |
|
16 |
<description>All plugins are combined into this application.</description> |
|
17 |
<url>http://dev.e-taxonomy.eu/trac/wiki/TaxonomicEditor</url> |
|
18 |
<dependencies> |
|
19 |
<dependency> |
|
20 |
<groupId>eu.etaxonomy</groupId> |
|
21 |
<artifactId>eu.etaxonomy.taxeditor.store</artifactId> |
|
22 |
</dependency> |
|
23 |
<dependency> |
|
24 |
<groupId>eu.etaxonomy</groupId> |
|
25 |
<artifactId>eu.etaxonomy.taxeditor.navigation</artifactId> |
|
26 |
</dependency> |
|
27 |
<dependency> |
|
28 |
<groupId>eu.etaxonomy</groupId> |
|
29 |
<artifactId>eu.etaxonomy.taxeditor.editor</artifactId> |
|
30 |
</dependency> |
|
31 |
<dependency> |
|
32 |
<groupId>eu.etaxonomy</groupId> |
|
33 |
<artifactId>eu.etaxonomy.taxeditor.printpublisher</artifactId> |
|
34 |
</dependency> |
|
35 |
<dependency> |
|
36 |
<groupId>org.eclipse.equinox.p2</groupId> |
|
37 |
<artifactId>operations</artifactId> |
|
38 |
</dependency> |
|
39 |
</dependencies> |
|
2 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
|
3 |
|
|
4 |
<parent> |
|
5 |
<groupId>eu.etaxonomy</groupId> |
|
6 |
<artifactId>taxeditor-parent</artifactId> |
|
7 |
<version>3.0.6-SNAPSHOT</version> |
|
8 |
</parent> |
|
9 |
|
|
10 |
<modelVersion>4.0.0</modelVersion> |
|
11 |
<artifactId>eu.etaxonomy.taxeditor.application</artifactId> |
|
12 |
<packaging>eclipse-plugin</packaging> |
|
13 |
|
|
14 |
<name>Application</name> |
|
15 |
<description>All plugins are combined into this application.</description> |
|
16 |
<url>http://dev.e-taxonomy.eu/trac/wiki/TaxonomicEditor</url> |
|
17 |
|
|
40 | 18 |
</project> |
eu.etaxonomy.taxeditor.bulkeditor/META-INF/MANIFEST.MF | ||
---|---|---|
1 | 1 |
Manifest-Version: 1.0 |
2 | 2 |
Bundle-ManifestVersion: 2 |
3 |
Bundle-Name: EDIT Taxonomic Editor - Bulk Editor Bundle
|
|
3 |
Bundle-Name: Bulkeditor Bundle
|
|
4 | 4 |
Bundle-SymbolicName: eu.etaxonomy.taxeditor.bulkeditor;singleton:=true |
5 |
Bundle-Version: 3.0.0.qualifier |
|
6 |
Bundle-ClassPath: . |
|
5 |
Bundle-Version: 3.0.6.SNAPSHOT |
|
7 | 6 |
Bundle-Activator: eu.etaxonomy.taxeditor.bulkeditor.internal.TaxeditorBulkeditorPlugin |
8 | 7 |
Bundle-Vendor: EDIT |
9 | 8 |
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 |
... | ... | |
11 | 10 |
org.eclipse.core.runtime, |
12 | 11 |
org.eclipse.ui.editors, |
13 | 12 |
org.eclipse.core.expressions, |
14 |
eu.etaxonomy.taxeditor.cdmlib;bundle-version="3.0.0",
|
|
15 |
eu.etaxonomy.taxeditor.store
|
|
13 |
eu.etaxonomy.taxeditor.store,
|
|
14 |
eu.etaxonomy.taxeditor.cdmlib
|
|
16 | 15 |
Bundle-RequiredExecutionEnvironment: JavaSE-1.6 |
17 | 16 |
Bundle-ActivationPolicy: lazy |
18 | 17 |
Import-Package: org.eclipse.core.runtime, |
... | ... | |
24 | 23 |
org.eclipse.jface.text.source, |
25 | 24 |
org.eclipse.ui.views.properties, |
26 | 25 |
org.osgi.framework |
26 |
Bundle-ClassPath: . |
eu.etaxonomy.taxeditor.bulkeditor/plugin.xml | ||
---|---|---|
29 | 29 |
<extension |
30 | 30 |
point="org.eclipse.ui.menus"> |
31 | 31 |
<menuContribution |
32 |
locationURI="menu:org.eclipse.ui.main.menu.window?before=taxeditor-application.windowMenu.last">
|
|
32 |
locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
|
|
33 | 33 |
<menu |
34 | 34 |
id="bulkeditor.menus.openmenu" |
35 | 35 |
label="Bulk Editor"> |
... | ... | |
149 | 149 |
<commandParameter |
150 | 150 |
id="taxeditor-bulkeditor.commandParameter.inputType" |
151 | 151 |
name="Bulk Editor Class" |
152 |
values="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorInputTypeValues">
|
|
152 |
values="eu.etaxonomy.taxeditor.bulkeditor.input.BulkEditorInputTypeValues">
|
|
153 | 153 |
</commandParameter> |
154 | 154 |
</command> |
155 | 155 |
<command |
eu.etaxonomy.taxeditor.bulkeditor/pom.xml | ||
---|---|---|
1 | 1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
|
3 |
|
|
4 |
<parent> |
|
5 |
<groupId>eu.etaxonomy</groupId> |
|
6 |
<artifactId>taxeditor-parent</artifactId> |
|
7 |
<version>3.0</version> |
|
8 |
</parent> |
|
9 |
|
|
10 |
<modelVersion>4.0.0</modelVersion> |
|
11 |
<groupId>eu.etaxonomy</groupId> |
|
12 |
<artifactId>eu.etaxonomy.taxeditor.bulkeditor</artifactId> |
|
13 |
<packaging>jar</packaging> |
|
14 |
<version>3.0</version> |
|
15 |
<name>Bulkeditor Bundle</name> |
|
16 |
<url>http://dev.e-taxonomy.eu/trac/wiki/TaxonomicEditorBulkeditorBundle</url> |
|
17 |
<dependencies> |
|
18 |
<dependency> |
|
19 |
<groupId>eu.etaxonomy</groupId> |
|
20 |
<artifactId>eu.etaxonomy.taxeditor.store</artifactId> |
|
21 |
</dependency> |
|
22 |
<dependency> |
|
23 |
<groupId>org.eclipse.ui</groupId> |
|
24 |
<artifactId>editors</artifactId> |
|
25 |
</dependency> |
|
26 |
<dependency> |
|
27 |
<groupId>org.eclipse.core</groupId> |
|
28 |
<artifactId>filebuffers</artifactId> |
|
29 |
</dependency> |
|
30 |
<dependency> |
|
31 |
<groupId>org.eclipse.ui.workbench</groupId> |
|
32 |
<artifactId>texteditor</artifactId> |
|
33 |
</dependency> |
|
34 |
<dependency> |
|
35 |
<groupId>org.eclipse.core</groupId> |
|
36 |
<artifactId>resources</artifactId> |
|
37 |
</dependency> |
|
38 |
</dependencies> |
|
2 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
|
3 |
|
|
4 |
<parent> |
|
5 |
<groupId>eu.etaxonomy</groupId> |
|
6 |
<artifactId>taxeditor-parent</artifactId> |
|
7 |
<version>3.0.6-SNAPSHOT</version> |
|
8 |
</parent> |
|
9 |
|
|
10 |
<modelVersion>4.0.0</modelVersion> |
|
11 |
<artifactId>eu.etaxonomy.taxeditor.bulkeditor</artifactId> |
|
12 |
<packaging>eclipse-plugin</packaging> |
|
13 |
|
|
14 |
<name>Bulkeditor Bundle</name> |
|
15 |
<description></description> |
|
16 |
<url>http://dev.e-taxonomy.eu/trac/wiki/TaxonomicEditorBulkeditorBundle</url> |
|
17 |
|
|
39 | 18 |
</project> |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/BulkEditor.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
package eu.etaxonomy.taxeditor.bulkeditor; |
12 | 12 |
|
13 |
import java.util.Iterator; |
|
14 |
|
|
13 | 15 |
import org.eclipse.jface.action.IMenuManager; |
14 | 16 |
import org.eclipse.jface.dialogs.MessageDialog; |
15 | 17 |
import org.eclipse.jface.dialogs.MessageDialogWithToggle; |
16 | 18 |
import org.eclipse.jface.preference.IPreferenceStore; |
17 | 19 |
import org.eclipse.jface.text.IDocument; |
20 |
import org.eclipse.jface.text.ITextSelection; |
|
21 |
import org.eclipse.jface.text.TextSelection; |
|
18 | 22 |
import org.eclipse.jface.text.source.Annotation; |
19 | 23 |
import org.eclipse.jface.text.source.AnnotationModel; |
24 |
import org.eclipse.jface.text.source.IAnnotationModel; |
|
20 | 25 |
import org.eclipse.jface.text.source.ISourceViewer; |
21 | 26 |
import org.eclipse.jface.text.source.IVerticalRuler; |
22 | 27 |
import org.eclipse.jface.util.IPropertyChangeListener; |
... | ... | |
273 | 278 |
getEditorInput().performSearch(query); |
274 | 279 |
|
275 | 280 |
refresh(); |
281 |
|
|
282 |
selectFirstItem(); |
|
283 |
|
|
284 |
getSourceViewer().getTextWidget().setFocus(); |
|
276 | 285 |
} |
277 | 286 |
} |
278 | 287 |
|
288 |
private void selectFirstItem() { |
|
289 |
ITextSelection selection = new TextSelection(0, 0); |
|
290 |
getSelectionProvider().setSelection(selection); |
|
291 |
} |
|
292 |
|
|
279 | 293 |
/** |
280 | 294 |
* |
281 | 295 |
*/ |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/BulkEditorQuery.java | ||
---|---|---|
13 | 13 |
import java.util.Comparator; |
14 | 14 |
|
15 | 15 |
import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator; |
16 |
import eu.etaxonomy.cdm.api.service.config.impl.IdentifiableServiceConfiguratorImpl; |
|
16 |
import eu.etaxonomy.cdm.api.service.config.IdentifiableServiceConfiguratorFactory; |
|
17 |
import eu.etaxonomy.cdm.model.common.IdentifiableEntity; |
|
17 | 18 |
|
18 | 19 |
/** |
19 | 20 |
* @author n.hoffmann |
... | ... | |
30 | 31 |
this.searchString = searchString; |
31 | 32 |
this.comparator = comparator; |
32 | 33 |
|
33 |
searchConfigurator = IdentifiableServiceConfiguratorImpl.NewInstance();
|
|
34 |
searchConfigurator = IdentifiableServiceConfiguratorFactory.getConfigurator(IdentifiableEntity.class);
|
|
34 | 35 |
searchConfigurator.setTitleSearchString(searchString); |
36 |
searchConfigurator.setMatchMode(null); |
|
35 | 37 |
|
36 | 38 |
if(searchString != null && searchString.trim().equals("*")){ |
37 | 39 |
searchConfigurator.setPageSize(1000); |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/BulkEditorSearch.java | ||
---|---|---|
24 | 24 |
import org.eclipse.swt.widgets.Button; |
25 | 25 |
import org.eclipse.swt.widgets.Composite; |
26 | 26 |
import org.eclipse.swt.widgets.Label; |
27 |
import org.eclipse.swt.widgets.Menu; |
|
28 | 27 |
import org.eclipse.swt.widgets.Text; |
29 |
import org.eclipse.swt.widgets.ToolItem; |
|
30 | 28 |
import org.eclipse.ui.PlatformUI; |
31 | 29 |
import org.eclipse.ui.swt.IFocusService; |
32 | 30 |
|
33 | 31 |
import eu.etaxonomy.cdm.common.CdmUtils; |
34 |
import eu.etaxonomy.taxeditor.bulkeditor.input.AbstractBulkEditorInput; |
|
35 | 32 |
import eu.etaxonomy.taxeditor.preference.Resources; |
33 |
import eu.etaxonomy.taxeditor.store.SearchManager; |
|
36 | 34 |
|
37 | 35 |
/** |
38 | 36 |
* <p>BulkEditorSearchComposite class.</p> |
... | ... | |
49 | 47 |
* |
50 | 48 |
*/ |
51 | 49 |
private static final String SEARCH = "Search"; |
52 |
|
|
53 |
private static final String DEFAULT_TEXT = "Use \"*\" for wildcard searching"; |
|
54 | 50 |
|
55 |
private BulkEditor editor; |
|
56 |
private Menu sortMenu; |
|
51 |
private static final String DEFAULT_TEXT = String.format("Use \'%s\' for wildcard searching", SearchManager.WILDCARD); |
|
52 |
|
|
53 |
private final BulkEditor editor; |
|
57 | 54 |
|
58 | 55 |
private Text text; |
59 | 56 |
private BulkEditorSortCombo sortCombo; |
... | ... | |
62 | 59 |
|
63 | 60 |
|
64 | 61 |
public Object ORDER_BY = new Object(); |
65 |
private ToolItem toolItem; |
|
66 | 62 |
|
67 | 63 |
/** |
68 | 64 |
* <p>Constructor for BulkEditorSearchComposite.</p> |
... | ... | |
181 | 177 |
private void updateEditorInput() { |
182 | 178 |
|
183 | 179 |
String searchString = getSearchString().trim(); |
184 |
|
|
180 |
|
|
185 | 181 |
if(DEFAULT_TEXT.equals(searchString) || CdmUtils.isEmpty(searchString)){ |
186 | 182 |
return; |
187 |
} |
|
183 |
}
|
|
188 | 184 |
|
189 |
// update query in IEditorInput |
|
190 |
AbstractBulkEditorInput input = editor.getEditorInput(); |
|
191 |
if (input instanceof AbstractBulkEditorInput) { |
|
192 |
BulkEditorQuery query = new BulkEditorQuery(getSearchString(), getComparator()); |
|
193 |
editor.performSearch(query); |
|
194 |
} |
|
185 |
BulkEditorQuery query = new BulkEditorQuery(getSearchString(), getComparator()); |
|
186 |
editor.performSearch(query); |
|
195 | 187 |
} |
196 | 188 |
|
197 | 189 |
/* |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/BulkEditorUtil.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
package eu.etaxonomy.taxeditor.bulkeditor; |
12 | 12 |
|
13 |
import org.apache.log4j.Logger; |
|
14 | 13 |
import org.eclipse.core.commands.operations.IOperationHistory; |
15 | 14 |
import org.eclipse.core.commands.operations.IUndoContext; |
16 | 15 |
import org.eclipse.core.runtime.Assert; |
... | ... | |
19 | 18 |
import org.eclipse.ui.PartInitException; |
20 | 19 |
|
21 | 20 |
import eu.etaxonomy.cdm.model.common.IdentifiableEntity; |
22 |
import eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorInputTypeValues.BulkEditorInputType; |
|
23 | 21 |
import eu.etaxonomy.taxeditor.bulkeditor.input.AbstractBulkEditorInput; |
22 |
import eu.etaxonomy.taxeditor.bulkeditor.input.BulkEditorInputType; |
|
24 | 23 |
import eu.etaxonomy.taxeditor.bulkeditor.internal.TaxeditorBulkeditorPlugin; |
25 | 24 |
import eu.etaxonomy.taxeditor.model.AbstractUtility; |
26 | 25 |
|
... | ... | |
49 | 48 |
/** |
50 | 49 |
* <p>openEmptyEditor</p> |
51 | 50 |
* |
52 |
* @param inputType a {@link eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorInputTypeValues.BulkEditorInputType} object.
|
|
51 |
* @param inputType a {@link eu.etaxonomy.taxeditor.bulkeditor.input.BulkEditorInputTypeValues.BulkEditorInputType} object.
|
|
53 | 52 |
* @throws org.eclipse.ui.PartInitException if any. |
54 | 53 |
*/ |
55 | 54 |
public static void openEmptyEditor(BulkEditorInputType inputType) throws PartInitException{ |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/command/BulkEditorInputTypeValues.java | ||
---|---|---|
1 |
// $Id$ |
|
2 |
/** |
|
3 |
* Copyright (C) 2007 EDIT |
|
4 |
* European Distributed Institute of Taxonomy |
|
5 |
* http://www.e-taxonomy.eu |
|
6 |
* |
|
7 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
|
8 |
* See LICENSE.TXT at the top of this package for the full license terms. |
|
9 |
*/ |
|
10 |
|
|
11 |
package eu.etaxonomy.taxeditor.bulkeditor.command; |
|
12 |
|
|
13 |
import java.util.HashMap; |
|
14 |
import java.util.Map; |
|
15 |
|
|
16 |
import org.eclipse.core.commands.IParameterValues; |
|
17 |
import org.eclipse.ui.IEditorInput; |
|
18 |
|
|
19 |
import eu.etaxonomy.cdm.model.agent.AgentBase; |
|
20 |
import eu.etaxonomy.cdm.model.common.Group; |
|
21 |
import eu.etaxonomy.cdm.model.common.User; |
|
22 |
import eu.etaxonomy.cdm.model.name.NameRelationship; |
|
23 |
import eu.etaxonomy.cdm.model.name.TaxonNameBase; |
|
24 |
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase; |
|
25 |
import eu.etaxonomy.cdm.model.reference.Reference; |
|
26 |
import eu.etaxonomy.taxeditor.bulkeditor.input.AbstractBulkEditorInput; |
|
27 |
import eu.etaxonomy.taxeditor.bulkeditor.input.AgentEditorInput; |
|
28 |
import eu.etaxonomy.taxeditor.bulkeditor.input.GroupEditorInput; |
|
29 |
import eu.etaxonomy.taxeditor.bulkeditor.input.NameEditorInput; |
|
30 |
import eu.etaxonomy.taxeditor.bulkeditor.input.NameRelationshipEditorInput; |
|
31 |
import eu.etaxonomy.taxeditor.bulkeditor.input.OccurrenceEditorInput; |
|
32 |
import eu.etaxonomy.taxeditor.bulkeditor.input.ReferenceEditorInput; |
|
33 |
import eu.etaxonomy.taxeditor.bulkeditor.input.UserEditorInput; |
|
34 |
|
|
35 |
/** |
|
36 |
* <p> |
|
37 |
* BulkEditorInputTypeValues class. |
|
38 |
* </p> |
|
39 |
* |
|
40 |
* @author p.ciardelli |
|
41 |
* @created 20.08.2009 |
|
42 |
* @version 1.0 |
|
43 |
*/ |
|
44 |
public class BulkEditorInputTypeValues implements IParameterValues { |
|
45 |
|
|
46 |
public enum BulkEditorInputType { |
|
47 |
REFERENCE("Reference", ReferenceEditorInput.ID), NAME("Name", |
|
48 |
NameEditorInput.ID), AGENT("Authors and Author Teams", |
|
49 |
AgentEditorInput.ID), OCCURRENCE("Specimens and Observations", |
|
50 |
OccurrenceEditorInput.ID), NAME_RELATIONSHIP( |
|
51 |
"Name Relationship", NameRelationshipEditorInput.ID), USER( |
|
52 |
"User", UserEditorInput.ID), GROUP("Group", GroupEditorInput.ID); |
|
53 |
|
|
54 |
public String id; |
|
55 |
public String label; |
|
56 |
|
|
57 |
BulkEditorInputType(String label, String id) { |
|
58 |
this.id = id; |
|
59 |
this.label = label; |
|
60 |
} |
|
61 |
|
|
62 |
public static BulkEditorInputType getById(String id) { |
|
63 |
|
|
64 |
for (BulkEditorInputType type : values()) { |
|
65 |
if (id.equals(type.id)) { |
|
66 |
return type; |
|
67 |
} |
|
68 |
} |
|
69 |
|
|
70 |
return null; |
|
71 |
} |
|
72 |
|
|
73 |
public static BulkEditorInputType getByType(Class clazz) { |
|
74 |
if (Reference.class.isAssignableFrom(clazz)) { |
|
75 |
return REFERENCE; |
|
76 |
} else if (TaxonNameBase.class.isAssignableFrom(clazz)) { |
|
77 |
return NAME; |
|
78 |
} else if (AgentBase.class.isAssignableFrom(clazz)) { |
|
79 |
return AGENT; |
|
80 |
} else if (SpecimenOrObservationBase.class.isAssignableFrom(clazz)) { |
|
81 |
return OCCURRENCE; |
|
82 |
} else if (NameRelationship.class.isAssignableFrom(clazz)) { |
|
83 |
return NAME_RELATIONSHIP; |
|
84 |
} else if (Group.class.isAssignableFrom(clazz)) { |
|
85 |
return GROUP; |
|
86 |
} else if (User.class.isAssignableFrom(clazz)) { |
|
87 |
return USER; |
|
88 |
} |
|
89 |
return null; |
|
90 |
} |
|
91 |
|
|
92 |
public static BulkEditorInputType getByInput(IEditorInput input) { |
|
93 |
if (input instanceof ReferenceEditorInput) { |
|
94 |
return REFERENCE; |
|
95 |
} else if (input instanceof NameEditorInput) { |
|
96 |
return NAME; |
|
97 |
} else if (input instanceof AgentEditorInput) { |
|
98 |
return AGENT; |
|
99 |
} else if (input instanceof OccurrenceEditorInput) { |
|
100 |
return OCCURRENCE; |
|
101 |
} else if (input instanceof NameRelationshipEditorInput) { |
|
102 |
return NAME_RELATIONSHIP; |
|
103 |
} else if (input instanceof UserEditorInput) { |
|
104 |
return USER; |
|
105 |
} else if (input instanceof GroupEditorInput) { |
|
106 |
return GROUP; |
|
107 |
} |
|
108 |
return null; |
|
109 |
} |
|
110 |
|
|
111 |
public static AbstractBulkEditorInput getInput( |
|
112 |
BulkEditorInputType inputType) { |
|
113 |
switch (inputType) { |
|
114 |
case REFERENCE: |
|
115 |
return new ReferenceEditorInput(); |
|
116 |
case NAME: |
|
117 |
return new NameEditorInput(); |
|
118 |
case AGENT: |
|
119 |
return new AgentEditorInput(); |
|
120 |
case OCCURRENCE: |
|
121 |
return new OccurrenceEditorInput(); |
|
122 |
case NAME_RELATIONSHIP: |
|
123 |
return new NameRelationshipEditorInput(); |
|
124 |
case USER: |
|
125 |
return new UserEditorInput(); |
|
126 |
case GROUP: |
|
127 |
return new GroupEditorInput(); |
|
128 |
default: |
|
129 |
throw new IllegalStateException( |
|
130 |
"No input class for the given input type defined."); |
|
131 |
} |
|
132 |
} |
|
133 |
} |
|
134 |
|
|
135 |
/* |
|
136 |
* (non-Javadoc) |
|
137 |
* |
|
138 |
* @see org.eclipse.core.commands.IParameterValues#getParameterValues() |
|
139 |
*/ |
|
140 |
/** |
|
141 |
* <p> |
|
142 |
* getParameterValues |
|
143 |
* </p> |
|
144 |
* |
|
145 |
* @return a {@link java.util.Map} object. |
|
146 |
*/ |
|
147 |
@Override |
|
148 |
public Map getParameterValues() { |
|
149 |
final Map values = new HashMap(); |
|
150 |
|
|
151 |
// TODO user role determines which editor inputs are returned |
|
152 |
for (BulkEditorInputType inputType : BulkEditorInputType.values()) { |
|
153 |
values.put(inputType.label, inputType.id); |
|
154 |
} |
|
155 |
|
|
156 |
return values; |
|
157 |
} |
|
158 |
} |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/command/DeleteObjectContributionItem.java | ||
---|---|---|
21 | 21 |
import org.eclipse.ui.menus.CommandContributionItemParameter; |
22 | 22 |
|
23 | 23 |
import eu.etaxonomy.taxeditor.bulkeditor.IBulkEditorConstants; |
24 |
import eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorInputTypeValues.BulkEditorInputType;
|
|
24 |
import eu.etaxonomy.taxeditor.bulkeditor.input.BulkEditorInputType;
|
|
25 | 25 |
|
26 | 26 |
/** |
27 | 27 |
* <p>DeleteObjectContributionItem class.</p> |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/command/OpenBulkEditorContributionItem.java | ||
---|---|---|
16 | 16 |
import java.util.Map; |
17 | 17 |
|
18 | 18 |
import org.eclipse.jface.action.IContributionItem; |
19 |
import org.eclipse.jface.action.Separator; |
|
19 | 20 |
import org.eclipse.swt.SWT; |
20 | 21 |
import org.eclipse.ui.PlatformUI; |
21 | 22 |
import org.eclipse.ui.actions.CompoundContributionItem; |
... | ... | |
23 | 24 |
import org.eclipse.ui.menus.CommandContributionItemParameter; |
24 | 25 |
|
25 | 26 |
import eu.etaxonomy.taxeditor.bulkeditor.IBulkEditorConstants; |
27 |
import eu.etaxonomy.taxeditor.bulkeditor.input.BulkEditorInputType; |
|
26 | 28 |
|
27 | 29 |
/** |
28 | 30 |
* <p> |
... | ... | |
67 | 69 |
|
68 | 70 |
List<IContributionItem> contributionItems = new ArrayList<IContributionItem>(); |
69 | 71 |
|
70 |
Map inputTypeValues = (new BulkEditorInputTypeValues()) |
|
71 |
.getParameterValues(); |
|
72 |
for (Object key : inputTypeValues.keySet()) { |
|
73 |
contributionItems.add(createContributionItem((String) key, |
|
74 |
(String) inputTypeValues.get(key))); |
|
75 |
} |
|
72 |
contributionItems.add(BulkEditorInputType.AGENT.createContributionItem()); |
|
73 |
contributionItems.add(BulkEditorInputType.REFERENCE.createContributionItem()); |
|
74 |
contributionItems.add(new Separator("test")); |
|
75 |
contributionItems.add(BulkEditorInputType.NAME.createContributionItem()); |
|
76 |
contributionItems.add(BulkEditorInputType.NAME_RELATIONSHIP.createContributionItem()); |
|
77 |
contributionItems.add(new Separator("test")); |
|
78 |
contributionItems.add(BulkEditorInputType.OCCURRENCE.createContributionItem()); |
|
79 |
contributionItems.add(new Separator("test")); |
|
80 |
contributionItems.add(BulkEditorInputType.USER.createContributionItem()); |
|
81 |
contributionItems.add(BulkEditorInputType.GROUP.createContributionItem()); |
|
76 | 82 |
|
77 | 83 |
return contributionItems |
78 | 84 |
.toArray(new IContributionItem[contributionItems.size()]); |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/handler/OpenBulkEditorHandler.java | ||
---|---|---|
17 | 17 |
|
18 | 18 |
import eu.etaxonomy.taxeditor.bulkeditor.BulkEditor; |
19 | 19 |
import eu.etaxonomy.taxeditor.bulkeditor.IBulkEditorConstants; |
20 |
import eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorInputTypeValues.BulkEditorInputType; |
|
21 | 20 |
import eu.etaxonomy.taxeditor.bulkeditor.input.AbstractBulkEditorInput; |
21 |
import eu.etaxonomy.taxeditor.bulkeditor.input.BulkEditorInputType; |
|
22 | 22 |
|
23 | 23 |
/** |
24 | 24 |
* <p>OpenBulkEditorHandler class.</p> |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/AbstractBulkEditorInput.java | ||
---|---|---|
32 | 32 |
import eu.etaxonomy.taxeditor.bulkeditor.BulkEditorQuery; |
33 | 33 |
import eu.etaxonomy.taxeditor.bulkeditor.BulkEditorUtil; |
34 | 34 |
import eu.etaxonomy.taxeditor.bulkeditor.IBulkEditorSortProvider; |
35 |
import eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorInputTypeValues.BulkEditorInputType; |
|
36 | 35 |
import eu.etaxonomy.taxeditor.bulkeditor.input.sortprovider.CdmBaseSortProvider; |
37 | 36 |
import eu.etaxonomy.taxeditor.bulkeditor.input.sortprovider.TitleCacheComparator; |
38 | 37 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
... | ... | |
61 | 60 |
/** |
62 | 61 |
* <p>NewInstance</p> |
63 | 62 |
* |
64 |
* @param inputType a {@link eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorInputTypeValues.BulkEditorInputType} object.
|
|
63 |
* @param inputType a {@link eu.etaxonomy.taxeditor.bulkeditor.input.BulkEditorInputTypeValues.BulkEditorInputType} object.
|
|
65 | 64 |
* @return a {@link eu.etaxonomy.taxeditor.bulkeditor.input.AbstractBulkEditorInput} object. |
66 | 65 |
*/ |
67 | 66 |
static public AbstractBulkEditorInput NewInstance(BulkEditorInputType inputType) { |
... | ... | |
93 | 92 |
* @return a {@link java.util.List} object. |
94 | 93 |
*/ |
95 | 94 |
protected abstract List<T> listEntities(IIdentifiableEntityServiceConfigurator configurator); |
96 |
|
|
95 |
|
|
97 | 96 |
/** |
98 | 97 |
* <p>loadEntity</p> |
99 | 98 |
* |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/AgentEditorInput.java | ||
---|---|---|
18 | 18 |
import eu.etaxonomy.cdm.model.agent.AgentBase; |
19 | 19 |
import eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator; |
20 | 20 |
import eu.etaxonomy.taxeditor.bulkeditor.IBulkEditorSortProvider; |
21 |
import eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorInputTypeValues.BulkEditorInputType; |
|
22 | 21 |
import eu.etaxonomy.taxeditor.bulkeditor.input.entitycreator.AgentCreator; |
23 | 22 |
import eu.etaxonomy.taxeditor.bulkeditor.input.sortprovider.IdentifiableEntitySortProvider; |
24 | 23 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
... | ... | |
102 | 101 |
public List<AgentBase> listEntities(IIdentifiableEntityServiceConfigurator configurator) { |
103 | 102 |
return CdmStore.getSearchManager().findTeamOrPersons(configurator); |
104 | 103 |
} |
105 |
|
|
104 |
|
|
106 | 105 |
/** {@inheritDoc} */ |
107 | 106 |
@Override |
108 | 107 |
public AgentBase loadEntity(UUID uuid) { |
... | ... | |
139 | 138 |
protected IEntityCreator<AgentBase> createEntityCreator() { |
140 | 139 |
return new AgentCreator(); |
141 | 140 |
} |
141 |
|
|
142 | 142 |
} |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/BulkEditorInputType.java | ||
---|---|---|
1 |
package eu.etaxonomy.taxeditor.bulkeditor.input; |
|
2 |
|
|
3 |
import java.util.HashMap; |
|
4 |
import java.util.Map; |
|
5 |
|
|
6 |
import org.eclipse.jface.action.IContributionItem; |
|
7 |
import org.eclipse.swt.SWT; |
|
8 |
import org.eclipse.ui.IEditorInput; |
|
9 |
import org.eclipse.ui.PlatformUI; |
|
10 |
import org.eclipse.ui.menus.CommandContributionItem; |
|
11 |
import org.eclipse.ui.menus.CommandContributionItemParameter; |
|
12 |
|
|
13 |
import eu.etaxonomy.cdm.model.agent.AgentBase; |
|
14 |
import eu.etaxonomy.cdm.model.common.Group; |
|
15 |
import eu.etaxonomy.cdm.model.common.User; |
|
16 |
import eu.etaxonomy.cdm.model.name.NameRelationship; |
|
17 |
import eu.etaxonomy.cdm.model.name.TaxonNameBase; |
|
18 |
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase; |
|
19 |
import eu.etaxonomy.cdm.model.reference.Reference; |
|
20 |
import eu.etaxonomy.taxeditor.bulkeditor.IBulkEditorConstants; |
|
21 |
|
|
22 |
public enum BulkEditorInputType { |
|
23 |
AGENT("Authors and Author Teams", AgentEditorInput.ID), |
|
24 |
REFERENCE("Reference", ReferenceEditorInput.ID), |
|
25 |
NAME("Name", NameEditorInput.ID), |
|
26 |
NAME_RELATIONSHIP("Name Relationship", NameRelationshipEditorInput.ID), |
|
27 |
OCCURRENCE("Specimens and Observations", OccurrenceEditorInput.ID), |
|
28 |
USER("User", UserEditorInput.ID), |
|
29 |
GROUP("Group", GroupEditorInput.ID); |
|
30 |
|
|
31 |
public String id; |
|
32 |
public String label; |
|
33 |
|
|
34 |
BulkEditorInputType(String label, String id) { |
|
35 |
this.id = id; |
|
36 |
this.label = label; |
|
37 |
} |
|
38 |
|
|
39 |
public IContributionItem createContributionItem(){ |
|
40 |
return createContributionItem(label, id); |
|
41 |
} |
|
42 |
|
|
43 |
/** |
|
44 |
* @param key |
|
45 |
* @param object |
|
46 |
* @return |
|
47 |
*/ |
|
48 |
private IContributionItem createContributionItem(String label, |
|
49 |
String inputType) { |
|
50 |
CommandContributionItemParameter parameter = new CommandContributionItemParameter( |
|
51 |
PlatformUI.getWorkbench().getActiveWorkbenchWindow(), null, |
|
52 |
IBulkEditorConstants.DYNAMIC_OPEN_MENU_ID, SWT.NONE); |
|
53 |
|
|
54 |
parameter.label = label; |
|
55 |
|
|
56 |
Map parameters = new HashMap(); |
|
57 |
parameters.put(IBulkEditorConstants.INPUT_TYPE_PARAMETER_ID, inputType); |
|
58 |
parameter.parameters = parameters; |
|
59 |
|
|
60 |
return new CommandContributionItem(parameter); |
|
61 |
} |
|
62 |
|
|
63 |
public static BulkEditorInputType getById(String id) { |
|
64 |
|
|
65 |
for (BulkEditorInputType type : values()) { |
|
66 |
if (id.equals(type.id)) { |
|
67 |
return type; |
|
68 |
} |
|
69 |
} |
|
70 |
|
|
71 |
return null; |
|
72 |
} |
|
73 |
|
|
74 |
public static BulkEditorInputType getByType(Class clazz) { |
|
75 |
if (Reference.class.isAssignableFrom(clazz)) { |
|
76 |
return REFERENCE; |
|
77 |
} else if (TaxonNameBase.class.isAssignableFrom(clazz)) { |
|
78 |
return NAME; |
|
79 |
} else if (AgentBase.class.isAssignableFrom(clazz)) { |
|
80 |
return AGENT; |
|
81 |
} else if (SpecimenOrObservationBase.class.isAssignableFrom(clazz)) { |
|
82 |
return OCCURRENCE; |
|
83 |
} else if (NameRelationship.class.isAssignableFrom(clazz)) { |
|
84 |
return NAME_RELATIONSHIP; |
|
85 |
} else if (Group.class.isAssignableFrom(clazz)) { |
|
86 |
return GROUP; |
|
87 |
} else if (User.class.isAssignableFrom(clazz)) { |
|
88 |
return USER; |
|
89 |
} |
|
90 |
return null; |
|
91 |
} |
|
92 |
|
|
93 |
public static BulkEditorInputType getByInput(IEditorInput input) { |
|
94 |
if (input instanceof ReferenceEditorInput) { |
|
95 |
return REFERENCE; |
|
96 |
} else if (input instanceof NameEditorInput) { |
|
97 |
return NAME; |
|
98 |
} else if (input instanceof AgentEditorInput) { |
|
99 |
return AGENT; |
|
100 |
} else if (input instanceof OccurrenceEditorInput) { |
|
101 |
return OCCURRENCE; |
|
102 |
} else if (input instanceof NameRelationshipEditorInput) { |
|
103 |
return NAME_RELATIONSHIP; |
|
104 |
} else if (input instanceof UserEditorInput) { |
|
105 |
return USER; |
|
106 |
} else if (input instanceof GroupEditorInput) { |
|
107 |
return GROUP; |
|
108 |
} |
|
109 |
return null; |
|
110 |
} |
|
111 |
|
|
112 |
public static AbstractBulkEditorInput getInput( |
|
113 |
BulkEditorInputType inputType) { |
|
114 |
switch (inputType) { |
|
115 |
case REFERENCE: |
|
116 |
return new ReferenceEditorInput(); |
|
117 |
case NAME: |
|
118 |
return new NameEditorInput(); |
|
119 |
case AGENT: |
|
120 |
return new AgentEditorInput(); |
|
121 |
case OCCURRENCE: |
|
122 |
return new OccurrenceEditorInput(); |
|
123 |
case NAME_RELATIONSHIP: |
|
124 |
return new NameRelationshipEditorInput(); |
|
125 |
case USER: |
|
126 |
return new UserEditorInput(); |
|
127 |
case GROUP: |
|
128 |
return new GroupEditorInput(); |
|
129 |
default: |
|
130 |
throw new IllegalStateException( |
|
131 |
"No input class for the given input type defined."); |
|
132 |
} |
|
133 |
} |
|
134 |
} |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/GroupEditorInput.java | ||
---|---|---|
18 | 18 |
import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator; |
19 | 19 |
import eu.etaxonomy.cdm.model.common.Group; |
20 | 20 |
import eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator; |
21 |
import eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorInputTypeValues.BulkEditorInputType; |
|
22 | 21 |
import eu.etaxonomy.taxeditor.bulkeditor.input.entitycreator.GroupCreator; |
23 | 22 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
24 | 23 |
|
... | ... | |
109 | 108 |
return entity.getName(); |
110 | 109 |
} |
111 | 110 |
|
111 |
|
|
112 |
|
|
112 | 113 |
} |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/NameEditorInput.java | ||
---|---|---|
19 | 19 |
import eu.etaxonomy.cdm.model.name.TaxonNameBase; |
20 | 20 |
import eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator; |
21 | 21 |
import eu.etaxonomy.taxeditor.bulkeditor.IBulkEditorSortProvider; |
22 |
import eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorInputTypeValues.BulkEditorInputType; |
|
23 | 22 |
import eu.etaxonomy.taxeditor.bulkeditor.input.entitycreator.NameCreator; |
24 | 23 |
import eu.etaxonomy.taxeditor.bulkeditor.input.sortprovider.IdentifiableEntitySortProvider; |
25 | 24 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
... | ... | |
155 | 154 |
*/ |
156 | 155 |
@Override |
157 | 156 |
public String getText(TaxonNameBase entity) { |
158 |
return ((TaxonNameBase) entity).getFullTitleCache();
|
|
157 |
return (entity).getFullTitleCache(); |
|
159 | 158 |
} |
160 | 159 |
|
160 |
|
|
161 | 161 |
} |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/NameRelationshipEditorInput.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
package eu.etaxonomy.taxeditor.bulkeditor.input; |
12 | 12 |
|
13 |
import java.util.ArrayList; |
|
14 | 13 |
import java.util.Arrays; |
15 | 14 |
import java.util.List; |
16 | 15 |
import java.util.UUID; |
17 | 16 |
|
18 |
import eu.etaxonomy.cdm.api.service.INameService; |
|
19 | 17 |
import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator; |
20 |
import eu.etaxonomy.cdm.model.common.RelationshipBase; |
|
21 | 18 |
import eu.etaxonomy.cdm.model.name.NameRelationship; |
22 | 19 |
import eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator; |
23 | 20 |
import eu.etaxonomy.taxeditor.bulkeditor.BulkEditorUtil; |
24 |
import eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorInputTypeValues.BulkEditorInputType; |
|
25 | 21 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
26 | 22 |
|
27 | 23 |
/** |
... | ... | |
100 | 96 |
@Override |
101 | 97 |
protected List<NameRelationship> listEntities( |
102 | 98 |
IIdentifiableEntityServiceConfigurator configurator) { |
103 |
List<NameRelationship> relationships = new ArrayList<NameRelationship>(); |
|
104 |
List<RelationshipBase> all = CdmStore.getService(INameService.class).getAllRelationships(0, 0); |
|
105 |
|
|
106 |
for (RelationshipBase relationship : all){ |
|
107 |
if(relationship instanceof NameRelationship){ |
|
108 |
relationships.add((NameRelationship) relationship); |
|
109 |
} |
|
110 |
} |
|
111 |
|
|
112 |
|
|
113 |
return relationships; |
|
99 |
return CdmStore.getSearchManager().findNameRelationships(configurator); |
|
114 | 100 |
} |
115 | 101 |
|
116 | 102 |
/* (non-Javadoc) |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/OccurrenceEditorInput.java | ||
---|---|---|
19 | 19 |
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase; |
20 | 20 |
import eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator; |
21 | 21 |
import eu.etaxonomy.taxeditor.bulkeditor.IBulkEditorSortProvider; |
22 |
import eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorInputTypeValues.BulkEditorInputType; |
|
23 | 22 |
import eu.etaxonomy.taxeditor.bulkeditor.input.entitycreator.OccurrenceCreator; |
24 | 23 |
import eu.etaxonomy.taxeditor.bulkeditor.input.sortprovider.IdentifiableEntitySortProvider; |
25 | 24 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/ReferenceEditorInput.java | ||
---|---|---|
19 | 19 |
import eu.etaxonomy.cdm.model.reference.Reference; |
20 | 20 |
import eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator; |
21 | 21 |
import eu.etaxonomy.taxeditor.bulkeditor.IBulkEditorSortProvider; |
22 |
import eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorInputTypeValues.BulkEditorInputType; |
|
23 | 22 |
import eu.etaxonomy.taxeditor.bulkeditor.input.entitycreator.ReferenceCreator; |
24 |
import eu.etaxonomy.taxeditor.bulkeditor.input.sortprovider.CdmBaseSortProvider; |
|
25 | 23 |
import eu.etaxonomy.taxeditor.bulkeditor.input.sortprovider.IdentifiableEntitySortProvider; |
26 | 24 |
import eu.etaxonomy.taxeditor.bulkeditor.input.sortprovider.ReferenceSortProvider; |
27 | 25 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/UserEditorInput.java | ||
---|---|---|
18 | 18 |
import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator; |
19 | 19 |
import eu.etaxonomy.cdm.model.common.User; |
20 | 20 |
import eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator; |
21 |
import eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorInputTypeValues.BulkEditorInputType; |
|
22 | 21 |
import eu.etaxonomy.taxeditor.bulkeditor.input.entitycreator.UserCreator; |
23 | 22 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
24 | 23 |
|
... | ... | |
84 | 83 |
return CdmStore.getSearchManager().findUsers(configurator); |
85 | 84 |
} |
86 | 85 |
|
86 |
|
|
87 | 87 |
/* (non-Javadoc) |
88 | 88 |
* @see eu.etaxonomy.taxeditor.bulkeditor.input.AbstractBulkEditorInput#loadEntity(java.util.UUID) |
89 | 89 |
*/ |
... | ... | |
109 | 109 |
return String.format("%s, %s", entity.getUsername(), entity.getPerson()); |
110 | 110 |
} |
111 | 111 |
|
112 |
|
|
112 | 113 |
} |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/entitycreator/AgentCreator.java | ||
---|---|---|
50 | 50 |
/** {@inheritDoc} */ |
51 | 51 |
public AgentBase createEntity(Object key, String text) { |
52 | 52 |
TeamOrPersonBase teamOrPerson = null; |
53 |
if (Team.class.equals(((Class) key))) {
|
|
53 |
if (Team.class.equals((key))) { |
|
54 | 54 |
teamOrPerson = Team.NewInstance(); |
55 | 55 |
} |
56 |
if (Person.class.equals(((Class) key))) {
|
|
56 |
if (Person.class.equals((key))) { |
|
57 | 57 |
teamOrPerson = Person.NewInstance(); |
58 | 58 |
} |
59 | 59 |
if (teamOrPerson != null) { |
60 |
teamOrPerson.setTitleCache(text); |
|
60 |
teamOrPerson.setTitleCache(text, true);
|
|
61 | 61 |
} |
62 | 62 |
return teamOrPerson; |
63 | 63 |
} |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/entitycreator/OccurrenceCreator.java | ||
---|---|---|
67 | 67 |
} |
68 | 68 |
|
69 | 69 |
if (specimenOrObservation != null) { |
70 |
specimenOrObservation.setTitleCache(text); |
|
70 |
specimenOrObservation.setTitleCache(text, true);
|
|
71 | 71 |
} |
72 | 72 |
return specimenOrObservation; |
73 | 73 |
} |
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/entitycreator/ReferenceCreator.java | ||
---|---|---|
13 | 13 |
import java.util.HashMap; |
14 | 14 |
import java.util.Map; |
15 | 15 |
|
16 |
import org.apache.log4j.Logger; |
|
17 |
|
|
18 | 16 |
import eu.etaxonomy.cdm.model.reference.Reference; |
19 | 17 |
import eu.etaxonomy.cdm.model.reference.ReferenceFactory; |
20 | 18 |
import eu.etaxonomy.cdm.model.reference.ReferenceType; |
... | ... | |
98 | 96 |
BulkEditorUtil.warn(getClass(), "Reference type " + key + " not found. Creating reference with default type."); |
99 | 97 |
reference = ReferenceFactory.newGeneric(); |
100 | 98 |
} |
101 |
reference.setTitleCache(text); |
|
99 |
reference.setTitleCache(text, true);
|
|
102 | 100 |
return reference; |
103 | 101 |
} |
104 | 102 |
|
eu.etaxonomy.taxeditor.cdmlib/META-INF/MANIFEST.MF | ||
---|---|---|
1 | 1 |
Manifest-Version: 1.0 |
2 | 2 |
Bundle-ManifestVersion: 2 |
3 |
Bundle-Name: CDM Library Plug-in
|
|
3 |
Bundle-Name: CDM Library Dependencies Plugin
|
|
4 | 4 |
Bundle-SymbolicName: eu.etaxonomy.taxeditor.cdmlib;singleton:=true |
5 |
Bundle-Version: 3.0.0.qualifier |
|
6 |
Bundle-ClassPath: lib/activation-1.1.jar, |
|
7 |
lib/antlr-2.7.6.jar, |
|
8 |
lib/aopalliance-1.0.jar, |
|
9 |
lib/asm-attrs.jar, |
|
10 |
lib/asm.jar, |
|
11 |
lib/aspectjrt-1.6.3.jar, |
|
12 |
lib/aspectjweaver-1.6.3.jar, |
|
13 |
lib/avalon-framework-4.2.0.jar, |
|
14 |
lib/batik-all-1.7.jar, |
|
15 |
lib/c3p0-0.9.1.jar, |
|
16 |
lib/cglib-2.1.3.jar, |
|
17 |
lib/commons-beanutils-1.7.0.jar, |
|
18 |
lib/commons-collections-3.2.jar, |
|
19 |
lib/commons-dbcp-1.2.2.jar, |
|
20 |
lib/commons-io-1.3.1.jar, |
|
21 |
lib/commons-io-1.4.jar, |
|
22 |
lib/commons-lang-2.4.jar, |
|
23 |
lib/commons-logging-1.0.4.jar, |
|
24 |
lib/commons-pool-1.3.jar, |
|
25 |
lib/dom4j-1.6.1.jar, |
|
26 |
lib/ehcache-1.2.3.jar, |
|
27 |
lib/ejb3-persistence.jar, |
|
28 |
lib/ezmorph-1.0.4.jar, |
|
29 |
lib/fop.jar, |
|
30 |
lib/h2-1.1.115.jar, |
|
31 |
lib/hibernate-annotations-3.4.0-SNAPSHOT.jar, |
|
32 |
lib/hibernate-commons-annotations-3.4.0-SNAPSHOT.jar, |
|
33 |
lib/hibernate-core-3.4.0-SNAPSHOT.jar, |
|
34 |
lib/hibernate-envers-3.4.0-SNAPSHOT.jar, |
|
35 |
lib/hibernate-search-3.1.0.GA.jar, |
|
36 |
lib/hibernate-tools-3.2.0.ga.jar, |
|
37 |
lib/hibernate-validator-4.0.0.CR1.jar, |
|
38 |
lib/hsqldb.jar, |
|
39 |
lib/httpclient-4.0.1.jar, |
|
40 |
lib/httpcore-4.0.1.jar, |
|
41 |
lib/javassist.jar, |
|
42 |
lib/jaxb-api-2.1.6.jar, |
|
43 |
lib/jaxb-impl-2.1.6.jar, |
|
44 |
lib/jaxen-1.1.2.jar, |
|
45 |
lib/jdbc-1.2.jar, |
|
46 |
lib/jdbc2_0-stdext.jar, |
|
47 |
lib/jdom.jar, |
|
48 |
lib/joda-time-1.5.jar, |
|
49 |
lib/joda-time-hibernate-1.0.jar, |
|
50 |
lib/json-lib-2.2.3-jdk15.jar, |
|
51 |
lib/jsr250-api-1.0.jar, |
|
52 |
lib/jta.jar, |
|
53 |
lib/jtds-1.2.2.jar, |
|
54 |
lib/junit-4.8.1.jar, |
|
55 |
lib/log4j-1.2.14.jar, |
|
56 |
lib/lsid-client-1.1.2.jar, |
|
57 |
lib/lsid-server-1.1.2.jar, |
|
58 |
lib/lucene-core-2.4.0.jar, |
|
59 |
lib/lucene-spellchecker-2.4.0.jar, |
|
60 |
lib/mail-1.4.jar, |
|
61 |
lib/msbase-2000.3.jar, |
|
62 |
lib/mssqlserver-2000.3.jar, |
|
63 |
lib/msutil-2000.3.jar, |
|
64 |
lib/mysql-connector-java-5.0.5.jar, |
|
65 |
lib/odfdom-0.8.jar, |
|
66 |
lib/opencsv-1.8.jar, |
|
67 |
lib/org.apache.commons.codec-1.3.0.jar, |
|
68 |
lib/poi-3.1-FINAL.jar, |
|
69 |
lib/postgresql-8.2-504.jdbc4.jar, |
|
70 |
lib/sanselan-0.97-incubator.jar, |
|
71 |
lib/saxon9he.jar, |
|
72 |
lib/serializer-2.7.0.jar, |
|
73 |
lib/servlet-api-2.5.jar, |
|
74 |
lib/slf4j-api-1.5.2.jar, |
|
75 |
lib/slf4j-log4j12-1.5.2.jar, |
|
76 |
lib/spring-modules-cache-0.7.jar, |
|
77 |
lib/spring-modules-lucene-0.8a.jar, |
|
78 |
lib/spring-security-core-3.0.0.RELEASE.jar, |
|
79 |
lib/wsdl4j-1.6.1.jar, |
|
80 |
lib/xalan-2.7.0.jar, |
|
81 |
lib/xercesImpl-2.7.1.jar, |
|
82 |
lib/xercesImpl.jar, |
|
83 |
lib/xml-apis-1.3.04.jar, |
|
84 |
lib/xml-apis-ext-1.3.04.jar, |
|
85 |
lib/xml-apis.jar, |
|
86 |
lib/xml-resolver-1.2.jar, |
|
87 |
lib/xmlgraphics-commons-1.3.1.jar, |
|
88 |
lib/xom-1.0.jar, |
|
89 |
lib/xsltc.jar, |
|
90 |
lib/xstream-1.3.1.jar, |
Also available in: Unified diff
Merged with trunk