import eu.etaxonomy.cdm.model.taxon.Classification;
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
/**
* <p>ChooseClassificationWizard class.</p>
import org.eclipse.ui.IPersistable;
import org.eclipse.ui.PartInitException;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.concept.ConceptViewPart;
import eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart;
import eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart;
import eu.etaxonomy.taxeditor.editor.internal.TaxeditorEditorPlugin;
import eu.etaxonomy.taxeditor.editor.key.KeyEditor;
import eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyEditorInput;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor;
import eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditorInput;
//import eu.etaxonomy.taxeditor.store.view.dataimport.BioCaseEditorInput;
import eu.etaxonomy.cdm.model.taxon.TaxonBase;
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap;
import eu.etaxonomy.taxeditor.editor.internal.TaxeditorEditorPlugin;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor;
import eu.etaxonomy.taxeditor.editor.name.container.AbstractGroupedContainer;
import eu.etaxonomy.taxeditor.model.AbstractUtility;
import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.swt.widgets.Display;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
+
/**
* <p>SimpleSelectionProvider class.</p>
*
import eu.etaxonomy.cdm.model.taxon.TaxonRelationship;
import eu.etaxonomy.cdm.model.taxon.TaxonRelationshipType;
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.DataChangeBridge;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
import org.eclipse.ui.IMemento;
import eu.etaxonomy.cdm.api.service.IClassificationService;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.store.CdmStore;
import org.eclipse.core.runtime.IProgressMonitor;\r
import org.eclipse.ui.IMemento;\r
\r
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;\r
import eu.etaxonomy.taxeditor.model.ContextListenerAdapter;\r
import eu.etaxonomy.taxeditor.model.MessagingUtils;\r
import eu.etaxonomy.taxeditor.store.CdmStore;\r
import eu.etaxonomy.cdm.api.conversation.IConversationEnabled;
import eu.etaxonomy.cdm.model.common.Group;
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.IDirtyMarkable;
import eu.etaxonomy.taxeditor.ui.group.grantedauthority.CdmAuthorityCompositeViewer;
import eu.etaxonomy.cdm.model.common.Group;
import eu.etaxonomy.taxeditor.bulkeditor.BulkEditor;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
import eu.etaxonomy.taxeditor.editor.group.authority.CdmAuthorityEditor;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.LineSelection;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.cdm.model.taxon.ITaxonTreeNode;
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditorInput;
import eu.etaxonomy.taxeditor.handler.defaultHandler.DefaultOpenHandlerBase;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import org.eclipse.ui.PartInitException;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.derivate.DerivateViewEditorInput;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.derivate.DerivateViewEditorInput;
import eu.etaxonomy.taxeditor.handler.defaultHandler.DefaultOpenHandlerBase;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.cdm.api.service.ITaxonService;
import eu.etaxonomy.cdm.model.taxon.TaxonBase;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.handler.defaultHandler.DefaultOpenHandlerBase;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.store.CdmStore;
import eu.etaxonomy.cdm.api.service.ITaxonNodeService;
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
import eu.etaxonomy.taxeditor.editor.TaxonEditorInput;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.handler.defaultHandler.DefaultOpenHandlerBase;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.store.CdmStore;
import eu.etaxonomy.cdm.model.common.CdmBase;
import eu.etaxonomy.cdm.model.description.PolytomousKey;
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap;
-import eu.etaxonomy.taxeditor.editor.Messages;
import eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyEditorInput;
import eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyGraphEditor;
import eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyListEditor;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.DataChangeBridge;
import eu.etaxonomy.taxeditor.model.IDirtyMarkable;
import eu.etaxonomy.taxeditor.model.IPartContentHasDetails;
*/
package eu.etaxonomy.taxeditor.editor.key.polytomous;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
/**
* @author cmathew
import eu.etaxonomy.cdm.model.description.PolytomousKey;
import eu.etaxonomy.cdm.model.description.PolytomousKeyNode;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.PolytomousKeyRelationship;
/**
import eu.etaxonomy.cdm.model.description.KeyStatement;
import eu.etaxonomy.cdm.model.description.PolytomousKey;
import eu.etaxonomy.cdm.model.description.PolytomousKeyNode;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.PolytomousKeyRelationship;
import eu.etaxonomy.taxeditor.store.CdmStore;
import eu.etaxonomy.cdm.model.taxon.Taxon;
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
import eu.etaxonomy.taxeditor.editor.key.KeyEditor;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.IDirtyMarkable;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.cdm.model.description.PolytomousKeyNode;
import eu.etaxonomy.cdm.model.taxon.Taxon;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.store.CdmStore;
import eu.etaxonomy.taxeditor.ui.element.AbstractCdmFormElement;
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
import eu.etaxonomy.cdm.model.description.PolytomousKeyNode;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
import eu.etaxonomy.taxeditor.editor.key.KeyEditor;
import eu.etaxonomy.taxeditor.editor.key.polytomous.IPolytomousKeyEditorPage;
import eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyEditorLabels;
import eu.etaxonomy.taxeditor.editor.key.polytomous.operation.DeleteNodeOperation;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.AbstractUtility;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.operation.AbstractPostOperation;
import eu.etaxonomy.cdm.hibernate.HibernateProxyHelper;
import eu.etaxonomy.cdm.model.description.PolytomousKeyNode;
import eu.etaxonomy.taxeditor.bulkeditor.internal.TaxeditorBulkeditorPlugin;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.operation.AbstractPostOperation;
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
import eu.etaxonomy.cdm.api.application.CdmChangeEvent.Action;
import eu.etaxonomy.cdm.model.common.CdmBase;
import eu.etaxonomy.cdm.model.description.PolytomousKeyNode;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
import eu.etaxonomy.taxeditor.operation.RemotingCdmDefaultOperation;
import eu.etaxonomy.cdm.api.application.CdmChangeEvent.Action;
import eu.etaxonomy.cdm.model.common.CdmBase;
import eu.etaxonomy.cdm.model.description.PolytomousKeyNode;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
import eu.etaxonomy.taxeditor.operation.RemotingCdmDefaultOperation;
* The contents of this file are subject to the Mozilla Public License Version 1.1
* See LICENSE.TXT at the top of this package for the full license terms.
*/
-package eu.etaxonomy.taxeditor.editor;
+package eu.etaxonomy.taxeditor.editor.l10n;
import org.eclipse.osgi.util.NLS;
*
*/
public class Messages extends NLS {
- private static final String BUNDLE_NAME = "OSGI-INF/l10n/messages"; //$NON-NLS-1$
+ private static final String BUNDLE_NAME = "eu.etaxonomy.taxeditor.editor.l10n.messages"; //$NON-NLS-1$
public static String AbstractGroupedContainer_EDIT_IN_DETAILS_VIEW;
public static String AbstractGroupedContainer_MULTIPLE_USE;
public static String AbstractGroupedContainer_NEW_HETERO_SYNONYM;
+ public static String AddDerivedUnitFacadeMediaOperation_CREATE_FAILED;
+ public static String AddDerivedUnitFacadeMediaOperation_CREATE_FAILED_MESSAGE;
public static String CdmAuthorityEditor_SAVING_AUTHORITY_EDITOR;
public static String ChangeConceptRelationshipTypeOperation_NOT_IMPLEMENTED;
public static String ChangeConceptToSynonymOperation_MULTI_REPS;
public static String DeleteDerivateOperation_CONFIRM;
public static String DeleteDerivateOperation_DELETE_FAILED;
public static String DeleteDerivateOperation_REALLY_DELETE;
+ public static String DeleteDescriptionElementOperation_DESC_NOT_FOUND;
+ public static String DeleteHandler_CONFIRM_DELETION;
+ public static String DeleteHandler_CONFIRM_DELETION_MESSAGE;
+ public static String DeleteHandler_DELETE;
+ public static String DeleteHandler_INVALID_SELECTION;
+ public static String DeleteHandler_SKIP;
+ public static String DeleteMediaHandler_CONFIRM;
+ public static String DeleteMediaHandler_CONFIRM_MESSAGE;
+ public static String DeleteMediaHandler_DELETE;
+ public static String DeleteMediaHandler_SKIP;
public static String DeleteNodeHandler_CANCEL;
public static String DeleteNodeHandler_CONFIRM_DELETE;
public static String DeleteNodeHandler_NO;
public static String DerivateSearchComposite_TAXON_ASSIGNMENT;
public static String DerivateSearchComposite_TITLE_CACHE;
public static String DerivateSearchComposite_YES;
+ public static String DerivateView_CNT_DERIVATIVES_FOUND;
public static String DerivateView_DERIVATIVE_EDITOR;
+ public static String DerivateView_NO_TAXON_SELECTED;
+ public static String DerivateView_PERF_WARNING;
+ public static String DerivateView_PERF_WARNING_MESSAGE;
public static String DerivateView_SAVING_HIERARCHY;
+ public static String DerivateView_SPECIMEN_EDITOR;
public static String DerivateView_UNSAVED_CHANGES;
public static String DerivateView_YOU_NEED_TO_SAVE;
public static String DerivateViewEditorInput_FAIL_INIT;
public static String DerivateViewEditorInput_NO_ROOT;
public static String DerivateViewEditorInput_SPECIMEN_EDITOR;
+ public static String DescriptionElementDropAdapter_MOVE_DESC;
+ public static String DescriptionElementDropAdapter_NOT_SUPPORTED;
+ public static String DescriptionElementDropAdapter_NOT_SUPPORTED_EMPTY_ELEMENT;
+ public static String DescriptionElementDropAdapter_NOT_SUPPORTED_NEW_ELEMENT;
public static String DescriptionElementTransfer_0;
public static String DescriptiveViewPart_COLLAPSE_ALL;
public static String DescriptiveViewPart_EXPAND_ALL;
public static String KeyEditor_SAVING;
public static String ListenToSelectionChangeContextMenu_LINK;
public static String ListenToSelectionChangeContextMenu_UNLINK;
+ public static String MediaViewPart_MEDIA;
public static String MisapplicationContainer_SEC_REF_REQUIRED;
public static String MoveDerivateOperation_MOVE_NOT_POSSIBLE;
public static String MoveDerivateOperation_MOVE_TO_NOT_POSSIBLE;
+ public static String MoveDescriptionElementsHandler_CHOOSE_ACC_TAXON;
+ public static String MoveDescriptionElementsHandler_CREATE_FAILURE;
+ public static String MoveDescriptionElementsHandler_ELEMENTS_MOVED;
+ public static String MoveDescriptionToOtherTaxonHandler_CHOOSE_ACC_TAXON;
+ public static String MoveDescriptionToOtherTaxonHandler_CREATE_FAILED;
+ public static String MoveDescriptionToOtherTaxonHandler_SAVE_CHANGES;
+ public static String MoveDescriptionToOtherTaxonHandler_SAVE_CHANGES_MESSAGE;
+ public static String MoveDescriptionToOtherTaxonOperation_MOVED_FROM;
+ public static String MoveMediaInListOperation_MORE_DESC;
public static String MoveSynonymToAnotherAcceptedTaxonHandler_CHANGE_ACC_TAXON;
public static String MoveSynonymToAnotherAcceptedTaxonHandler_NO_SELECTION;
public static String MoveSynonymToAnotherAcceptedTaxonHandler_NO_SELECTION_MESSAGE;
public static String SingleReadSequenceContextMenu_REUSE_FOR_SEQUENCE;
public static String SingleReadSequenceContextMenu_REUSE_SINGLE_READ_HERE;
public static String UseObjectManager_RESET_DATA;
+ public static String UsesLabelProvider_NO_DATA;
+ public static String UsesLabelProvider_NO_LABEL;
+ public static String UsesLabelProvider_USE;
public static String UsesViewPart_VIEWER_NAME;
public static String SetSecundumHandler_configureSettings;
public static String SetSecundumHandler_confirm;
CreateDerivateContextMenu_SINGLE_READ=Single Read
CreateDerivateContextMenu_SPECIMEN=Specimen
CreateDerivateContextMenu_TISSUE_SAMPLE=Tissue Sample
-
CreateFieldUnitContextMenu_CREATE_FIELD_UNIT=Create new field unit
CreateFieldUnitContextMenu_CREATE_FIELD_UNIT_FOR=Create new field unit for %s
-
SingleReadSequenceContextMenu_REMOVE_FROM_SEQUENCE=Remove from this Sequence
SingleReadSequenceContextMenu_REUSE_FOR_SEQUENCE=Reuse for other Sequence
SingleReadSequenceContextMenu_REUSE_SINGLE_READ_HERE=Reuse SingleRead here
-
+DerivateView_CNT_DERIVATIVES_FOUND=%d derivative hierarchies found
DerivateView_DERIVATIVE_EDITOR=Specimen Editor
+DerivateView_NO_TAXON_SELECTED=\ [no taxon selected]
+DerivateView_PERF_WARNING=Performance warning
+DerivateView_PERF_WARNING_MESSAGE=Specimens will not be loaded\!\n There are %d specimens associated with the current selection. If you really want to show all of them in the specimen editor please use the taxon filter in the search bar.
DerivateView_SAVING_HIERARCHY=Saving hierarchy
+DerivateView_SPECIMEN_EDITOR=Specimen Editor
DerivateView_UNSAVED_CHANGES=View has unsaved changes
DerivateView_YOU_NEED_TO_SAVE=You need to save before performing this action
-
DeleteDerivateOperation_AND_CHILDREN= and its children
DeleteDerivateOperation_CONFIRM=Confirm Deletion
DeleteDerivateOperation_DELETE_FAILED=Deletion failed
DeleteDerivateOperation_REALLY_DELETE=Do you really want to delete the selected element
-
DerivateDropListener_MOVE_TO=Moving "%s" to "%s"
-
DerivateViewEditorInput_FAIL_INIT=Failed initializing editor
DerivateViewEditorInput_NO_ROOT=No root element found\!
-
+MediaViewPart_MEDIA=Media
MoveDerivateOperation_MOVE_NOT_POSSIBLE=Moving derivatives not possible\!
MoveDerivateOperation_MOVE_TO_NOT_POSSIBLE=Moving "%s" to "%s" is not possible\!
-
+MoveDescriptionElementsHandler_CHOOSE_ACC_TAXON=Choose the accepted taxon
+MoveDescriptionElementsHandler_CREATE_FAILURE=Could not create taxon
+MoveDescriptionElementsHandler_ELEMENTS_MOVED=Elements moved from %s
+MoveDescriptionToOtherTaxonHandler_CHOOSE_ACC_TAXON=Choose the accepted taxon
+MoveDescriptionToOtherTaxonHandler_CREATE_FAILED=Could not create Taxon
+MoveDescriptionToOtherTaxonHandler_SAVE_CHANGES=Save changes
+MoveDescriptionToOtherTaxonHandler_SAVE_CHANGES_MESSAGE=You have made changes that must be saved before this query can be executed. Would you like to proceed?
+MoveDescriptionToOtherTaxonOperation_MOVED_FROM=Description moved from %s
+MoveMediaInListOperation_MORE_DESC=More than one description element in this image gallery
OpenDerivateEditorForTaxonHandler_COULD_NOT_OPEN_EDITOR=Could not open Specimen Editor
OpenDerivateEditorForTaxonHandler_FAILED_TO_OPEN=Failed to open Editor
OpenDerivateEditorForTaxonHandler_HIERARCHY_CORRUPTED=The derivative hierarchy is corrupted\!
OpenDerivateEditorForTaxonHandler_NO_DERIVATIVES_FOUND=No Derivatives found
-
DeleteTaxonBaseHandler_CONFIRM_DELETION=Confirm Deletion
DeleteTaxonBaseHandler_ELEMENT_MUST_BE_SYNONYM_MISAPP_CONCEPT=Element has to be Synonym, Misapplication or Concept
DeleteTaxonBaseHandler_REALLY_DELETE_TAXON=Are you sure you want to delete the selected taxon?
DeleteTaxonBaseHandler_DELETE_SYNONYM_SUCCESSFULL_BUT_REMAINING_RELATED_OBJECTS=The Synonym could be deleted, but related object(s) could not be deleted
DeleteTaxonBaseHandler_DELETE_MISAPPLIEDNAME_SUCCESSFULL_BUT_REMAINING_RELATED_OBJECTS=The misapplied name could be deleted, but related object(s) could not be deleted
DeleteTaxonBaseHandler_REALLY_DELETE_MISAPPLICATION=Are you sure you want to delete the selected misapplication, this is irreversible?
-
+DescriptionElementDropAdapter_MOVE_DESC=Move Descriptions
+DescriptionElementDropAdapter_NOT_SUPPORTED=Operation not supported yet
+DescriptionElementDropAdapter_NOT_SUPPORTED_EMPTY_ELEMENT=We are unable to drag and drop empty descriptions
+DescriptionElementDropAdapter_NOT_SUPPORTED_NEW_ELEMENT=We are currently unable to drag and drop a newly created element. Please save the editor to make this work.
DescriptiveViewPart_COLLAPSE_ALL=Collapse All
DescriptiveViewPart_EXPAND_ALL=Expand All
DescriptiveViewPart_FACTUAL_DATA=Factual Data
DescriptiveViewPart_SHOW_ALL_DATA=Show all factual data
-
ConceptGraphView_VIEWER_NAME=Concept Graph
ConceptViewPart_VIEWER_NAME=Concept Relations
+UsesLabelProvider_NO_DATA=No data provided
+UsesLabelProvider_NO_LABEL=No label provided
+UsesLabelProvider_USE=Use:
UsesViewPart_VIEWER_NAME=Uses
-
SetSecundumHandler_configureSettings=Configure the settings for secundum reference exchange of the subtree
SetSecundumHandler_confirm=Confirm the exchange of secundum reference
-
DefaultOpenSpecimenEditorForTypeSpecimenHandler_COULD_NOT_OPEN=Specimen editor could not be opened
DefaultOpenTaxonEditorForTaxonBaseHandler_COULD_NOT_OPEN=Could not open taxon editor for taxon/synonym
DefaultOpenTaxonEditorForTaxonNodeHandler_COULD_NOT_OPEN=Could not open taxon editor for taxon node
-
OpenChecklistEditorHandler_CHOOSE_AREA=Please choose the areas you want to display.
OpenChecklistEditorHandler_COULD_NOT_OPEN_MESSAGE=Could not open Distribution Editor.
OpenChecklistEditorHandler_COULD_NOT_OPEN_TITLE=Could not open Distribution Editor
OpenChecklistEditorHandler_GOTO_PREFERENCES=For this go to the preferences, choose the Checklist Editor and choose the areas in the Distribution Selection Wizard.
OpenChecklistEditorHandler_NO_AREAS=No Areas to display
OpenDerivateViewHandler_COULD_NOT_OPEN=Specimen editor could not be opened
-
DeleteNodeHandler_CANCEL=Cancel
DeleteNodeHandler_CONFIRM_DELETE=Confirm deletion of children
DeleteNodeHandler_NO=No
DeleteNodeHandler_SAVE_CHANGES_MESSAGE=You have made changes that must be saved before you can delete the node. Would you like to proceed?
DeleteNodeHandler_SAVE_CHANGES_TITLE=Save changes
DeleteNodeHandler_YES=Yes
-
DeleteNodeOperation_DELETE_FAILED=Exception occured. Delete not possible
InsertPolytomousKeyNodeOperation_INSERT_KEY=Insert new polytomous key node
RemotingCreatePolytomousKeyNodeOperation_CREATE_KEY=Create new polytomous key node
-
PolytomousKeyEditorLabels_CREATE_NODE=Create Child Polytomous Key Node
PolytomousKeyEditorLabels_CREATE_SIBLING=Create Sibling Polytomous Key Node
PolytomousKeyEditorLabels_DELETE_NODE=Delete Polytomous Key Node
PolytomousKeyListEditor_TAXON=Taxon
PolytomousKeyListItem_NO_STATEMENT=No statement
PolytomousKeyListItem_TAXON_EMPTY=Taxon empty
-
TaxonNameEditor_INVALID_INPUT=Invalid Input: Must be IEditorInput
TaxonNameEditor_INVALID_INPUT_TAXON_NULL=Invalid Input: Taxon cannot be null
TaxonNameEditor_SAVING_COMPOSITES=Saving composite:
TaxonNameEditor_SAVING_NAMES=Saving names
TaxonNameEditor_THERE_SHOULD_ALWAYS_BE=There should always be a selected object.
-
ValidationDaemon_RUNNING_DAEMON=Running validation daemon
ValidationDaemon_VALIDATION_EXCEPTION=Validation module terminated unexpectedly:
ValidationDaemon_VALIDATION_STOPPED=Validation module stopped
-
ChooseFromMultipleTaxonNodesDialog_CHOOSE_CLASSIFICATION=Choose Classification
ChooseFromMultipleTaxonNodesDialog_CHOOSE_CLASSIFICATION_MESSAGE=The taxon is part of multiple classification. Please choose the one you want to open.
EditorStateManager_ERROR_OPEN_WINDOW=Error opening an editor window
TaxonEditorInputFactory_COULD_NOT_CREATE=Could not create element
TaxonEditorInputFactory_NOT_FOUND_TAXON=Couldn't find taxon node with UUID
UseObjectManager_RESET_DATA=Reset usage data
-
CdmAuthorityEditor_SAVING_AUTHORITY_EDITOR=Saving CDM Authority Editor
-
EditCdmAuthoritiesHandler_COULD_NOT_OPEN_AUTHORITIES=Could not open CDM Authority Editor
EditCdmAuthoritiesHandler_OPEN_AUTHORITIES=Opening Cdm Authorities
-
KeyEditor_GRAPH=Graph
KeyEditor_LIST=List
KeyEditor_SAVING=Saving Editor
-
AbstractGroupedContainer_EDIT_IN_DETAILS_VIEW=This name may only be edited in the details view.
AbstractGroupedContainer_MULTIPLE_USE=The name of this taxons is used multiple times.
AbstractGroupedContainer_NEW_HETERO_SYNONYM=New Heterotypic Synonym
+AddDerivedUnitFacadeMediaOperation_CREATE_FAILED=Image gallery creation failed
+AddDerivedUnitFacadeMediaOperation_CREATE_FAILED_MESSAGE=Only one image gallery is possible.
ConceptContainer_SEC_REQUIRED=This taxon requires a sec. reference.
EditorAnnotation_ERROR=Error:
EditorAnnotation_WARNING=Warning:
IContainerConstants_CLICK_ADD_NAME=Click to add name
MisapplicationContainer_SEC_REF_REQUIRED=This misapplication requires a sec. reference.
SynonymContainer_SYNONYM_NULL_NAME=Synonym with a null name detected. This should never happen.
-
NameEditorDropTargetListener_CHANGE=Change
NameEditorDropTargetListener_CHANGE_ACC_TAXON=Change accepted Taxon
NameEditorDropTargetListener_CHANGE_HOMOTYPICAL_GROUP=Change Homotypical Group
NameEditorDropTargetListener_CHANGE_SYNONYM=Change to Synonym
NameEditorDropTargetListener_CHANGE_SYNONYM_TO_MISAPP=Change Synonym to Misapplication
NameEditorDropTargetListener_UNSUCCESSFULL_DROP=User unsuccessfully tried to drop: %s. Target: %s
-
ChangeSynonymToAcceptedTaxonHandler_CHANGE_SYN_TO_ACC_TAXON=Change synonym to accepted taxon
ChangeSynonymToAcceptedTaxonHandler_CREATE_FAILURE=Could not create Taxon
ChangeSynonymToAcceptedTaxonHandler_SELECT_PARENT=Select parent
MoveSynonymToAnotherAcceptedTaxonHandler_NO_SELECTION_MESSAGE=No synonym selected
MoveSynonymToAnotherAcceptedTaxonHandler_SELECT_ACC_TAXON=Select new accepted taxon
SwapSynonymAndAcceptedHandler_COULD_NOT_OPEN=Could not open editor for taxon
-
ChangeConceptRelationshipTypeOperation_NOT_IMPLEMENTED=Not implemented yet. See developer documentation for details
ChangeConceptToSynonymOperation_MULTI_REPS=Multiple relations between taxa
ChangeConceptToSynonymOperation_MULTI_REPS_MESSAGE=There are multiple relations between the accepted and the related taxon. This case is not handled by the software yet.
ChangeSynonymToAcceptedTaxonOperation_NOT_IMPLEMENTED=Not yet implemented
SwapSynonymAndAcceptedOperation_NOT_IMPLEMENTED=Not yet implemented
SwapSynonymAndAcceptedOperation_SWAP_SYN_ACC_TAXON=Swap Synonym And Accepted Taxon Operation
-
ChecklistDropdownSelectionListener_ADD_DISTRIBUTION=Add Distribution
-
ChecklistEditor_DIST_STATUS=Distribution Status
ChecklistEditor_DIST_STATUS_TOOLTIP=Show Distribution Status for selected Areas
ChecklistEditor_ELEMENT_COUNT=Element count:
ChecklistEditor_SEARCH=Search:
ChecklistEditor_TAXON=Taxon
ChecklistEditor_UNKNOWN=unknown
-
OpenRelatedConceptHandler_COULD_NOT_OPEN=Could not open taxon
OpenRelatedConceptHandler_COULD_NOT_OPEN_MESSAGE=Could not open the taxon: %s
-
ListenToSelectionChangeContextMenu_LINK=Link with taxon selection
ListenToSelectionChangeContextMenu_UNLINK=Unlink from taxon selection
-
DeleteDerivateHandler_INVALID_SELECTION=Selection is not valid for this delete handler
+DeleteDescriptionElementOperation_DESC_NOT_FOUND=Couldn't find element's description!
+DeleteHandler_CONFIRM_DELETION=Confirm Deletion
+DeleteHandler_CONFIRM_DELETION_MESSAGE=Do you really want to delete the media?
+DeleteHandler_DELETE=Delete
+DeleteHandler_INVALID_SELECTION=Selection is not valid for this delete handler
+DeleteHandler_SKIP=Skip
+DeleteMediaHandler_CONFIRM=Confirm Deletion
+DeleteMediaHandler_CONFIRM_MESSAGE=Do you really want to delete the media?
+DeleteMediaHandler_DELETE=Delete
+DeleteMediaHandler_SKIP=Skip
OpenDerivativeEditorForDescriptionElement_NO_SPECIMENS=No specimens found
OpenDerivativeEditorForDescriptionElement_NO_SPECIMENS_MESSAGE=No specimens found for the selected object. (Maybe there are unsaved changes)
OpenDerivativeEditorForTaxonNode_COULD_NOT_OPEN=Specimen editor could not be opened
-
DerivateSearchComposite_ALL=All
DerivateSearchComposite_DERIVATE_TYPE=Derivative Type
DerivateSearchComposite_NEW_TEXT=New Text
DerivateSearchComposite_TAXON_ASSIGNMENT=Taxon assignment
DerivateSearchComposite_TITLE_CACHE=Title Cache
DerivateSearchComposite_YES=Yes
+DerivateViewEditorInput_SPECIMEN_EDITOR=Specimen Editor
CreateDerivateContextMenu_SINGLE_READ=Single Read
CreateDerivateContextMenu_SPECIMEN=Beleg
CreateDerivateContextMenu_TISSUE_SAMPLE=Gewebeprobe
-
CreateFieldUnitContextMenu_CREATE_FIELD_UNIT=Erzeuge neue Field Unit
CreateFieldUnitContextMenu_CREATE_FIELD_UNIT_FOR=Erzeuge neue Field Unit für %s
-
SingleReadSequenceContextMenu_REMOVE_FROM_SEQUENCE=Von Sequenz entfernen
SingleReadSequenceContextMenu_REUSE_FOR_SEQUENCE=Für andere Sequenz verwenden
SingleReadSequenceContextMenu_REUSE_SINGLE_READ_HERE=SingleRead hier verwenden
-
+DerivateView_CNT_DERIVATIVES_FOUND=%d Derivat-Hierarchien gefunden
DerivateView_DERIVATIVE_EDITOR=Specimen-Editor
+DerivateView_NO_TAXON_SELECTED=\ [kein Taxon ausgewählt]
+DerivateView_PERF_WARNING=Performance-Warnung
+DerivateView_PERF_WARNING_MESSAGE=Specimens werden nicht geladen\!\n Es gibt %d Specimens für die aktuelle Auswahl. Wenn wirklich alle Specimens im Specimen-Editor angezeigt werden sollen, dann nutzen Sie bitte den Taxon-Filter in der Suchleiste.
DerivateView_SAVING_HIERARCHY=Speichere Hierarchie
+DerivateView_SPECIMEN_EDITOR=Specimen-Editor
DerivateView_UNSAVED_CHANGES=Ungepeicherte Änderungen
DerivateView_YOU_NEED_TO_SAVE=Sie müssen speichern, um diese Aktion auszuführen
-
+DeleteDerivateOperation_AND_CHILDREN= (mit Kind-Elementen)
DeleteDerivateOperation_CONFIRM=Löschen bestätigen
DeleteDerivateOperation_DELETE_FAILED=Löschen fehlgeschlagen
DeleteDerivateOperation_REALLY_DELETE=Wollen Sie wirklich das ausgewählte Element löschen
-DeleteDerivateOperation_AND_CHILDREN= (mit Kind-Elementen)
-
DerivateDropListener_MOVE_TO=Verschiebe "%s" nach "%s"
-
DerivateViewEditorInput_FAIL_INIT=Initialisierung des Editor fehlgeschlagen
DerivateViewEditorInput_NO_ROOT=Kein Root-Element gefunden\!
-
+MediaViewPart_MEDIA=Media
MoveDerivateOperation_MOVE_NOT_POSSIBLE=Verschieben von Derivaten nicht möglich\!
MoveDerivateOperation_MOVE_TO_NOT_POSSIBLE=Verschieben von "%s" nach "%s" nicht möglich\!
-
+MoveDescriptionElementsHandler_CHOOSE_ACC_TAXON=Wähle akzeptiertes Taxon
+MoveDescriptionElementsHandler_CREATE_FAILURE=Konnte Taxon nicht erstellen
+MoveDescriptionElementsHandler_ELEMENTS_MOVED=Elemente verschoben von %s
+MoveDescriptionToOtherTaxonHandler_CHOOSE_ACC_TAXON=Wähle akzeptiertes Taxon
+MoveDescriptionToOtherTaxonHandler_CREATE_FAILED=Konnte Taxon nicht erstellen
+MoveDescriptionToOtherTaxonHandler_SAVE_CHANGES=Änderungen speichern
+MoveDescriptionToOtherTaxonHandler_SAVE_CHANGES_MESSAGE=Änderungen müssen gespeichert werden, bevor die Anfrage ausgeführt werden kann. Fortfahren?
+MoveDescriptionToOtherTaxonOperation_MOVED_FROM=Beschreibung verschoben von %s
+MoveMediaInListOperation_MORE_DESC=Mehr als eine Beschreibung in dieser Bildergalerie
OpenDerivateEditorForTaxonHandler_COULD_NOT_OPEN_EDITOR=Konnte Specimen-Editor nicht öffnen
OpenDerivateEditorForTaxonHandler_FAILED_TO_OPEN=Öffnen des Editors fehlgeschlagen
OpenDerivateEditorForTaxonHandler_HIERARCHY_CORRUPTED=Die Derivathierarchie ist korrumpiert\!
OpenDerivateEditorForTaxonHandler_NO_DERIVATIVES_FOUND=Keine Derivate gefunden
-
DeleteTaxonBaseHandler_CONFIRM_DELETION=Löschen bestätigen
DeleteTaxonBaseHandler_ELEMENT_MUST_BE_SYNONYM_MISAPP_CONCEPT=Element muss Synonym, Misapplikation oder Konzept sein
DeleteTaxonBaseHandler_REALLY_DELETE_TAXON=Wollen Sie wirklich das ausgewählte Taxon löschen?
DeleteTaxonBaseHandler_DELETE_SYNONYM_SUCCESSFULL_BUT_REMAINING_RELATED_OBJECTS=Das Synonym konnte gelöscht werden, aber es gibt noch verknüpfte Objekte, die nicht gelöscht werden konnten.
DeleteTaxonBaseHandler_DELETE_MISAPPLIEDNAME_SUCCESSFULL_BUT_REMAINING_RELATED_OBJECTS=Die Misapplikation konnte gelöscht werden, aber es gibt noch verknüpfte Objekte, die nicht gelöscht werden konnten.
DeleteTaxonBaseHandler_REALLY_DELETE_MISAPPLICATION=Wollen Sie die ausgewählte Misapplikation wirklich löschen, dieser Vorgang ist nicht reversibel.
-
+DescriptionElementDropAdapter_MOVE_DESC=Verschiebe Beschreibungen
+DescriptionElementDropAdapter_NOT_SUPPORTED=Vorgang noch nicht unterstützt
+DescriptionElementDropAdapter_NOT_SUPPORTED_EMPTY_ELEMENT=Drag and Drop für leeren Beschreibungen noch nicht unterstützt
+DescriptionElementDropAdapter_NOT_SUPPORTED_NEW_ELEMENT=Drag and Drop für neu erstellte Elemente noch nicht unterstützt. Bitte Editor speichern, um den Vorgang auszuführen.
DescriptiveViewPart_COLLAPSE_ALL=Alles einklappen
DescriptiveViewPart_EXPAND_ALL=Alles ausklappen
DescriptiveViewPart_FACTUAL_DATA=Faktendaten
DescriptiveViewPart_SHOW_ALL_DATA=Zeige alle Faktendaten
-
ConceptGraphView_VIEWER_NAME=Konzeptgraph
ConceptViewPart_VIEWER_NAME=Konzeptrelationen
+UsesLabelProvider_NO_DATA=Keine Daten verfügbar
+UsesLabelProvider_NO_LABEL=Kein Label verfügbar
+UsesLabelProvider_USE=Nutzung:
UsesViewPart_VIEWER_NAME=Nutzung
-
SetSecundumHandler_configureSettings=Konfigurieren Sie das Ersetzen der Secundum Referenz für den ausgewählten Teilbaum.
SetSecundumHandler_confirm=Ersetzen der Secundum Referenz bestätigen
-
DefaultOpenSpecimenEditorForTypeSpecimenHandler_COULD_NOT_OPEN=Specimen-Editor konnte nicht geöffnet werden
DefaultOpenTaxonEditorForTaxonBaseHandler_COULD_NOT_OPEN=Taxon-Editor für Taxon/Synonym konnte nicht geöffnet werden
DefaultOpenTaxonEditorForTaxonNodeHandler_COULD_NOT_OPEN=Taxon-Editor für Taxonknoten konnte nicht geöffnet werden
-
OpenChecklistEditorHandler_CHOOSE_AREA=Bitte wählen Sie das Gebiet aus, das dargestellt werden soll
OpenChecklistEditorHandler_COULD_NOT_OPEN_MESSAGE=Der Verbreitungs-Editor konnte nicht geöffnet werden
OpenChecklistEditorHandler_COULD_NOT_OPEN_TITLE=Der Verbreitungs-Editor konnte nicht geöffnet werden
OpenChecklistEditorHandler_GOTO_PREFERENCES=Hierfür gehen Sie zu den Preferences, wählen Sie Checklist Editor und dann die Gebiete in dem Verbreitungs-Wizard.
OpenChecklistEditorHandler_NO_AREAS=Keine Gebiete, die angezeigt werden können
OpenDerivateViewHandler_COULD_NOT_OPEN=Specimen-Editor konnte nicht geöffnet werden.
-
DeleteNodeHandler_CANCEL=Abbrechen
DeleteNodeHandler_CONFIRM_DELETE=Löschen der Kindknoten bestätigen
DeleteNodeHandler_NO=Nein
DeleteNodeHandler_SAVE_CHANGES_MESSAGE=Sie haben ungespeicherte Änderungen, die vor dem Löschen des Knotens gespeichert werden müssen. Wollen Sie fortfahren?
DeleteNodeHandler_SAVE_CHANGES_TITLE=Änderungen speichern
DeleteNodeHandler_YES=Ja
-
DeleteNodeOperation_DELETE_FAILED=Ein Fehler ist aufgetreten. Löschen nicht möglich
InsertPolytomousKeyNodeOperation_INSERT_KEY=Neuen polytomen Bestimmungsschlüssel einfügen
RemotingCreatePolytomousKeyNodeOperation_CREATE_KEY=Neuen polytomen Bestimmungsschlüssel anlegen
-
PolytomousKeyEditorLabels_CREATE_NODE=Neuen polytomen Bestimmungsschlüssel anlegen
PolytomousKeyEditorLabels_CREATE_SIBLING=Neuen polytomen Bestimmungsschlüssel anlegen
PolytomousKeyEditorLabels_DELETE_NODE=Polytomen Bestimmungsschlüssel löschen
PolytomousKeyListEditor_TAXON=Taxon
PolytomousKeyListItem_NO_STATEMENT=No statement
PolytomousKeyListItem_TAXON_EMPTY=Taxon leer
-
TaxonNameEditor_INVALID_INPUT=Ungültige Eingabe: Muss IEditorInput sein
TaxonNameEditor_INVALID_INPUT_TAXON_NULL=Ungültige Eingabe: Taxon darf nicht null sein
TaxonNameEditor_SAVING_COMPOSITES=Speichere Composites:
TaxonNameEditor_SAVING_NAMES=Speichere Namen
TaxonNameEditor_THERE_SHOULD_ALWAYS_BE=Es muss immer ein Objekt ausgewählt sein.
-
ValidationDaemon_RUNNING_DAEMON=Validation daemon läuft
ValidationDaemon_VALIDATION_EXCEPTION=Validation-Modul wurde unerwartet beendet:
ValidationDaemon_VALIDATION_STOPPED=Validation-Modul angehalten
-
ChooseFromMultipleTaxonNodesDialog_CHOOSE_CLASSIFICATION=Klassifiaktion wählen
ChooseFromMultipleTaxonNodesDialog_CHOOSE_CLASSIFICATION_MESSAGE=Das Taxon ist in mehreren Klassifikationen vorhanden. Bitte wählen sie, welche sie öffnen möchten.
EditorStateManager_ERROR_OPEN_WINDOW=Fehler beim Öffnen des Editors
TaxonEditorInputFactory_COULD_NOT_CREATE=Element konnte nicht erstellt werden
TaxonEditorInputFactory_NOT_FOUND_TAXON=Konnte Taxonknoten nicht finden. UUID
UseObjectManager_RESET_DATA=Wiederherstellen der Nutzugsdaten
-
CdmAuthorityEditor_SAVING_AUTHORITY_EDITOR=Speichere CDM Authority Editor
-
EditCdmAuthoritiesHandler_COULD_NOT_OPEN_AUTHORITIES=Konnte CDM-Authority-Editor nicht öffnen
EditCdmAuthoritiesHandler_OPEN_AUTHORITIES=Öffne Cdm-Authorities
-
KeyEditor_GRAPH=Graph
KeyEditor_LIST=Liste
KeyEditor_SAVING=Speichere Editor
-
AbstractGroupedContainer_EDIT_IN_DETAILS_VIEW=Diser Name kann nur im Details-View bearbeitet werden.
AbstractGroupedContainer_MULTIPLE_USE=Dieser Taxonname wird mehrfach verwendet.
AbstractGroupedContainer_NEW_HETERO_SYNONYM=Neues heterotypisches Synonym
ConceptContainer_SEC_REQUIRED=Dieses Taxon benötigt eine sec. Referenz.
EditorAnnotation_ERROR=Error:
EditorAnnotation_WARNING=Warunung:
+AddDerivedUnitFacadeMediaOperation_CREATE_FAILED=Erstellen der Bildergallerie fehlgeschlagen
+AddDerivedUnitFacadeMediaOperation_CREATE_FAILED_MESSAGE=Nur eine Bildergalerie möglich.
IContainerConstants_CLICK_ADD_NAME=Klicken, um Namen hinzuzufügen
MisapplicationContainer_SEC_REF_REQUIRED=Diese Misapplikation benötigt eine sec. Referenz.
SynonymContainer_SYNONYM_NULL_NAME=Synonym mit einem null-Namen entdeckt. Das sollte nicht passieren.
-
NameEditorDropTargetListener_CHANGE=Ändern
NameEditorDropTargetListener_CHANGE_ACC_TAXON=Ändere akzeptiertes Taxon
NameEditorDropTargetListener_CHANGE_HOMOTYPICAL_GROUP=Ändere homotypische Gruppe
NameEditorDropTargetListener_CHANGE_SYNONYM=Ändere in Synonym
NameEditorDropTargetListener_CHANGE_SYNONYM_TO_MISAPP=Ändere Synonym in Misapplikation
NameEditorDropTargetListener_UNSUCCESSFULL_DROP=Das Ziehen von %s auf %s war nicht erfolgreich.
-
ChangeSynonymToAcceptedTaxonHandler_CHANGE_SYN_TO_ACC_TAXON=Ändere Synonym in akzeptiertes Taxon
ChangeSynonymToAcceptedTaxonHandler_CREATE_FAILURE=Konnte Taxon nicht erstellen
ChangeSynonymToAcceptedTaxonHandler_SELECT_PARENT=Wähle Elternelement
MoveSynonymToAnotherAcceptedTaxonHandler_NO_SELECTION_MESSAGE=Kein Synonym ausgewählt
MoveSynonymToAnotherAcceptedTaxonHandler_SELECT_ACC_TAXON=Wähle neues akzeptiertes Taxon
SwapSynonymAndAcceptedHandler_COULD_NOT_OPEN=Konnte Editor für Taxon nicht öffnen
-
ChangeConceptRelationshipTypeOperation_NOT_IMPLEMENTED=Noch nicht implementiert. Für Details bitte in die Entwickler-Dokumentation schauen
ChangeConceptToSynonymOperation_MULTI_REPS=Mehrere Verknüpfungen zwischen Taxa
ChangeConceptToSynonymOperation_MULTI_REPS_MESSAGE=Es gibt mehrere Verknüpfungen zwischen dem akzeptierten und dem verknüpften Taxon. Dieser Fall wird noch nicht von der Software unterstützt.
ChangeSynonymToAcceptedTaxonOperation_NOT_IMPLEMENTED=Noch nicht implementiert
SwapSynonymAndAcceptedOperation_NOT_IMPLEMENTED=Noch nicht implementiert
SwapSynonymAndAcceptedOperation_SWAP_SYN_ACC_TAXON=Tausche Synonym und akzeptiertes Taxon
-
ChecklistDropdownSelectionListener_ADD_DISTRIBUTION=Verbreitung hinzufügen
-
ChecklistEditor_DIST_STATUS=Verbreitungsstatus
ChecklistEditor_DIST_STATUS_TOOLTIP=Zeige den Verbreitungsstatus für die ausgewählten Gebiete
ChecklistEditor_ELEMENT_COUNT=Anzahl der Elemente:
ChecklistEditor_SEARCH=Suche:
ChecklistEditor_TAXON=Taxon
ChecklistEditor_UNKNOWN=unbekannt
-
OpenRelatedConceptHandler_COULD_NOT_OPEN=Konnte Taxon nicht öffnen
OpenRelatedConceptHandler_COULD_NOT_OPEN_MESSAGE=Konnte Taxon nicht öffnen: %s
-
ListenToSelectionChangeContextMenu_LINK=Verknüpfe mit Taxonauswahl
ListenToSelectionChangeContextMenu_UNLINK=Verknüpfung mit Taxonauswahl aufheben
-
DeleteDerivateHandler_INVALID_SELECTION=Auswahl ungültig
OpenDerivativeEditorForDescriptionElement_NO_SPECIMENS=Keine Specimens gefunden
OpenDerivativeEditorForDescriptionElement_NO_SPECIMENS_MESSAGE=Keine Specimens für die Auswahl. (Gibt es vielleicht noch ungespeicherte Änderungen?)
OpenDerivativeEditorForTaxonNode_COULD_NOT_OPEN=Specimen-Editor konnte nicht geöffnet werden
-
+DeleteDescriptionElementOperation_DESC_NOT_FOUND=Beschreibung konnte nicht gefunden werden!
+DeleteHandler_CONFIRM_DELETION=Löschen bestätigen
+DeleteHandler_CONFIRM_DELETION_MESSAGE=Wollen sie wirklich das Medienobjektlöschen?
+DeleteHandler_DELETE=Löschen
+DeleteHandler_INVALID_SELECTION=Auswahl ungültig für den DeleteHandler
+DeleteHandler_SKIP=Ãœberspringen
+DeleteMediaHandler_CONFIRM=Löschen bestätigen
+DeleteMediaHandler_CONFIRM_MESSAGE=Wollen sie wirklich das Medienobjektlöschen?
+DeleteMediaHandler_DELETE=Löschen
+DeleteMediaHandler_SKIP=Ãœberspringen
DerivateSearchComposite_ALL=Alle
DerivateSearchComposite_DERIVATE_TYPE=Derivat-Typ
DerivateSearchComposite_NEW_TEXT=Neuer Text
DerivateSearchComposite_TAXON_ASSIGNMENT=Taxonbestimmung
DerivateSearchComposite_TITLE_CACHE=Titlecache
DerivateSearchComposite_YES=Ja
+DerivateViewEditorInput_SPECIMEN_EDITOR=Specimen-Editor
import eu.etaxonomy.taxeditor.editor.IDropTargetable;
import eu.etaxonomy.taxeditor.editor.IMultiPageTaxonEditorPage;
import eu.etaxonomy.taxeditor.editor.ISecuredEditor;
-import eu.etaxonomy.taxeditor.editor.Messages;
import eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor;
import eu.etaxonomy.taxeditor.editor.SimpleSelectionProvider;
import eu.etaxonomy.taxeditor.editor.TaxonEditorInput;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.name.container.AbstractGroup;
import eu.etaxonomy.taxeditor.editor.name.container.AbstractGroupedContainer;
import eu.etaxonomy.taxeditor.editor.name.container.AcceptedGroup;
import eu.etaxonomy.cdm.strategy.parser.ParserProblem;
import eu.etaxonomy.taxeditor.editor.CdmDataTransfer;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor;
import eu.etaxonomy.taxeditor.editor.name.container.EditorAnnotation.EditorAnnotationType;
import eu.etaxonomy.taxeditor.editor.name.dnd.NameEditorDragListener;
import eu.etaxonomy.cdm.model.taxon.TaxonRelationship;
import eu.etaxonomy.cdm.model.taxon.TaxonRelationshipType;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor;
import eu.etaxonomy.taxeditor.preference.Resources;
import org.eclipse.swt.widgets.Canvas;
import eu.etaxonomy.cdm.strategy.parser.ParserProblem;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.ImageResources;
/**
import org.eclipse.swt.graphics.Image;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.ImageResources;
/**
import eu.etaxonomy.cdm.model.taxon.Taxon;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.preference.Resources;
/**
import eu.etaxonomy.cdm.model.name.TaxonNameBase;
import eu.etaxonomy.cdm.model.taxon.Synonym;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.preference.Resources;
import eu.etaxonomy.cdm.model.taxon.TaxonRelationshipType;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
import eu.etaxonomy.taxeditor.editor.IDropTargetable;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor;
import eu.etaxonomy.taxeditor.editor.name.container.AbstractHomotypicalGroupContainer;
import eu.etaxonomy.taxeditor.editor.name.container.MisappliedGroup;
import eu.etaxonomy.cdm.model.taxon.Taxon;
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
import eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor;
import eu.etaxonomy.taxeditor.editor.TaxonEditorInput;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.name.operation.ChangeSynonymToAcceptedTaxonOperation;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.operation.AbstractPostOperation;
import eu.etaxonomy.cdm.model.taxon.Synonym;
import eu.etaxonomy.cdm.model.taxon.Taxon;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
import eu.etaxonomy.taxeditor.editor.Page;
import eu.etaxonomy.taxeditor.editor.internal.TaxeditorEditorPlugin;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor;
import eu.etaxonomy.taxeditor.editor.name.operation.DeleteMisapplicationOperation;
import eu.etaxonomy.taxeditor.editor.name.operation.DeleteSynonymOperation;
import eu.etaxonomy.cdm.model.taxon.Taxon;
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
import eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor;
import eu.etaxonomy.taxeditor.editor.TaxonEditorInput;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.name.operation.MoveSynonymToAnotherAcceptedTaxonOperation;
import eu.etaxonomy.taxeditor.model.AbstractUtility;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.cdm.model.taxon.Synonym;
import eu.etaxonomy.cdm.model.taxon.Taxon;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
import eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.name.operation.SwapSynonymAndAcceptedOperation;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
import eu.etaxonomy.cdm.model.taxon.Taxon;
import eu.etaxonomy.cdm.model.taxon.TaxonRelationship;
import eu.etaxonomy.cdm.model.taxon.TaxonRelationshipType;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.operation.AbstractPostTaxonOperation;
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
import eu.etaxonomy.cdm.model.taxon.Taxon;
import eu.etaxonomy.cdm.model.taxon.TaxonRelationship;
import eu.etaxonomy.cdm.model.taxon.TaxonRelationshipType;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.operation.AbstractPostTaxonOperation;
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
import eu.etaxonomy.cdm.model.taxon.Synonym;
import eu.etaxonomy.cdm.model.taxon.Taxon;
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.operation.AbstractPersistentPostOperation;
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
import eu.etaxonomy.cdm.model.taxon.Synonym;
import eu.etaxonomy.cdm.model.taxon.SynonymType;
import eu.etaxonomy.cdm.model.taxon.Taxon;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.operation.AbstractPostTaxonOperation;
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
\r
import eu.etaxonomy.cdm.api.service.IEntityValidationService;\r
import eu.etaxonomy.cdm.model.validation.EntityValidation;\r
-import eu.etaxonomy.taxeditor.editor.Messages;\r
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;\r
import eu.etaxonomy.taxeditor.model.MessagingUtils;\r
import eu.etaxonomy.taxeditor.store.CdmStore;\r
\r
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
import eu.etaxonomy.taxeditor.editor.SimpleSelectionProvider;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.checklist.edit.DistributionEditingSupport;
import eu.etaxonomy.taxeditor.editor.view.checklist.filter.ChecklistEditorFilter;
import eu.etaxonomy.taxeditor.editor.view.checklist.listener.ChecklistDropdownSelectionListener;
import org.eclipse.swt.widgets.ToolItem;
import eu.etaxonomy.cdm.model.common.DefinedTermBase;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor;
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
import eu.etaxonomy.taxeditor.preference.wizard.AvailableDistributionWizard;
import eu.etaxonomy.cdm.model.taxon.Taxon;
import eu.etaxonomy.cdm.model.taxon.TaxonRelationship;
import eu.etaxonomy.taxeditor.bulkeditor.BulkEditor;
-import eu.etaxonomy.taxeditor.editor.Messages;
import eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor;
import eu.etaxonomy.taxeditor.editor.TaxonEditorInput;
import eu.etaxonomy.taxeditor.editor.key.AbstractGraphKeyEditor;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.AbstractUtility;
import eu.etaxonomy.taxeditor.model.IPartContentHasDetails;
import eu.etaxonomy.taxeditor.model.IPartContentHasSupplementalData;
import eu.etaxonomy.taxeditor.bulkeditor.BulkEditor;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
import eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.view.AbstractCdmEditorViewPart;
/**
import eu.etaxonomy.cdm.model.taxon.Taxon;
import eu.etaxonomy.cdm.model.taxon.TaxonRelationship;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
import eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
/**
import org.eclipse.swt.dnd.TransferData;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.derivate.operation.MoveDerivateOperation;
import eu.etaxonomy.taxeditor.model.AbstractUtility;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
import eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.derivate.searchFilter.DerivateSearchCompositeController;
import eu.etaxonomy.taxeditor.model.IContextListener;
import eu.etaxonomy.taxeditor.model.IDirtyMarkable;
public class DerivateView extends EditorPart implements IPartContentHasFactualData, IConversationEnabled,
ICdmEntitySessionEnabled, IDirtyMarkable, IPostOperationEnabled, IPartContentHasDetails, IPartContentHasSupplementalData, IPartContentHasMedia,
IContextListener, ISelectionListener {
- private static final String SPECIMEN_EDITOR = "Specimen Editor";
+ private static final String SPECIMEN_EDITOR = Messages.DerivateView_SPECIMEN_EDITOR;
- public static final String ID = "eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView";
+ public static final String ID = "eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"; //$NON-NLS-1$
public static final String YOU_NEED_TO_SAVE_BEFORE_PERFORMING_THIS_ACTION = Messages.DerivateView_YOU_NEED_TO_SAVE;
public static final String VIEW_HAS_UNSAVED_CHANGES = Messages.DerivateView_UNSAVED_CHANGES;
private static final List<String> SPECIMEN_INIT_STRATEGY = Arrays.asList(new String[] {
- "descriptions",
- "annotations",
- "markers",
- "credits",
- "extensions",
- "rights",
- "sources",
- "derivationEvents.derivatives.annotations",
- "derivationEvents.derivatives.markers",
- "derivationEvents.derivatives.credits",
- "derivationEvents.derivatives.extensions",
- "derivationEvents.derivatives.rights",
- "derivationEvents.derivatives.sources"
+ "descriptions", //$NON-NLS-1$
+ "annotations", //$NON-NLS-1$
+ "markers", //$NON-NLS-1$
+ "credits", //$NON-NLS-1$
+ "extensions", //$NON-NLS-1$
+ "rights", //$NON-NLS-1$
+ "sources", //$NON-NLS-1$
+ "derivationEvents.derivatives.annotations", //$NON-NLS-1$
+ "derivationEvents.derivatives.markers", //$NON-NLS-1$
+ "derivationEvents.derivatives.credits", //$NON-NLS-1$
+ "derivationEvents.derivatives.extensions", //$NON-NLS-1$
+ "derivationEvents.derivatives.rights", //$NON-NLS-1$
+ "derivationEvents.derivatives.sources" //$NON-NLS-1$
});
private static final int WARN_THRESHOLD = 200;
//set taxon filter
derivateSearchCompositeController.setTaxonFilter(((DerivateViewEditorInput) getEditorInput()).getTaxonUuid());
//reset status bar
- getEditorSite().getActionBars().getStatusLineManager().setMessage("");
+ getEditorSite().getActionBars().getStatusLineManager().setMessage(""); //$NON-NLS-1$
//add drag'n'drop support
Transfer[] transfers = new Transfer[] {LocalSelectionTransfer.getTransfer(),};
labelProvider.updateLabelCache(rootElements);
viewer.setInput(rootElements);
- getEditorSite().getActionBars().getStatusLineManager().setMessage(String.format("%d derivative hierarchies found", rootElements.size()));
+ getEditorSite().getActionBars().getStatusLineManager().setMessage(String.format(Messages.DerivateView_CNT_DERIVATIVES_FOUND, rootElements.size()));
//set selection to derivatives if the filter criteria
//taxon assignment or derivative type are set
@Override
public Map<Object, List<String>> getPropertyPathsMap() {
List<String> specimenPropertyPaths = Arrays.asList(new String[] {
- "descriptions",
- "derivationEvents.derivates",
- "annotations",
- "markers",
- "credits",
- "extensions",
- "rights",
- "sources"
+ "descriptions", //$NON-NLS-1$
+ "derivationEvents.derivates", //$NON-NLS-1$
+ "annotations", //$NON-NLS-1$
+ "markers", //$NON-NLS-1$
+ "credits", //$NON-NLS-1$
+ "extensions", //$NON-NLS-1$
+ "rights", //$NON-NLS-1$
+ "sources" //$NON-NLS-1$
});
Map<Object, List<String>> specimenPropertyPathMap =
new HashMap<Object, List<String>>();
}
checkWarnThreshold(uuids);
updateRootEntities(uuids);
- setPartName(SPECIMEN_EDITOR+": " + selectedTaxon.getName());
+ setPartName(SPECIMEN_EDITOR+": " + selectedTaxon.getName()); //$NON-NLS-1$
}
}
}
private void checkWarnThreshold(Collection<UUID> uuids) {
if(uuids!=null && uuids.size()>WARN_THRESHOLD){
- MessagingUtils.warningDialog("Performance warning", this.getClass(), String.format("Specimens will not be loaded!\n There are %d specimens associated with the current selection. If you really want to show all of them in the specimen editor please use the taxon filter in the search bar.", uuids.size()));
+ MessagingUtils.warningDialog(Messages.DerivateView_PERF_WARNING, this.getClass(), String.format(Messages.DerivateView_PERF_WARNING_MESSAGE, uuids.size()));
uuids.clear();
}
}
setPartName(SPECIMEN_EDITOR);
}
else if(selectedTaxon==null){
- setPartName(SPECIMEN_EDITOR+" [no taxon selected]");
+ setPartName(SPECIMEN_EDITOR+Messages.DerivateView_NO_TAXON_SELECTED);
}
}
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IPersistableElement;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
/**
* Editor input for the {@link DerivateView}
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView;
import eu.etaxonomy.taxeditor.model.AbstractUtility;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.cdm.model.description.TaxonDescription;
import eu.etaxonomy.cdm.model.occurrence.FieldUnit;
import eu.etaxonomy.cdm.model.taxon.Taxon;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.store.CdmStore;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.actions.CompoundContributionItem;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView;
import eu.etaxonomy.taxeditor.model.ImageResources;
import eu.etaxonomy.cdm.model.molecular.SingleRead;
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.derivate.operation.DeleteDerivateOperation;
import eu.etaxonomy.taxeditor.model.AbstractUtility;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.cdm.model.description.IndividualsAssociation;
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
import eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.derivate.DerivateViewEditorInput;
import eu.etaxonomy.taxeditor.handler.defaultHandler.DefaultOpenHandlerBase;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
import eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.derivate.DerivateViewEditorInput;
import eu.etaxonomy.taxeditor.handler.defaultHandler.DefaultOpenHandlerBase;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.cdm.model.common.CdmBase;
import eu.etaxonomy.cdm.model.molecular.Sequence;
import eu.etaxonomy.cdm.model.molecular.SingleRead;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.operation.AbstractPostOperation;
import eu.etaxonomy.cdm.model.occurrence.DerivedUnit;
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType;
-import eu.etaxonomy.taxeditor.editor.Messages;
import eu.etaxonomy.taxeditor.editor.internal.TaxeditorEditorPlugin;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.operation.AbstractPostOperation;
import org.eclipse.ui.forms.widgets.FormToolkit;
import org.eclipse.wb.swt.ResourceManager;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
/**
* The widgets of the {@link DerivateSearchView}<br>
import eu.etaxonomy.cdm.model.description.DescriptionElementBase;
import eu.etaxonomy.cdm.model.description.TaxonDescription;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.descriptive.operation.MoveDescriptionElementsOperation;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.operation.AbstractPostOperation;
*/
public class DescriptionElementDropAdapter extends ViewerDropAdapter {
- /**
+ private static final String OPERATION_NOT_SUPPORTED_YET = Messages.DescriptionElementDropAdapter_NOT_SUPPORTED;
+
+ /**
* @param viewer
*/
public DescriptionElementDropAdapter(Viewer viewer) {
if (droppedElements != null){
for (Object droppedElement : droppedElements) {
if (droppedElement == null){
- MessagingUtils.warningDialog("Operation not supported yet", this, "We are currently unable to drag and drop a newly created element. Please save the editor to make this work.");
+ MessagingUtils.warningDialog(OPERATION_NOT_SUPPORTED_YET, this, Messages.DescriptionElementDropAdapter_NOT_SUPPORTED_NEW_ELEMENT);
return false;
}
if(! (droppedElement instanceof DescriptionElementBase)){
}
}
- AbstractPostOperation operation = new MoveDescriptionElementsOperation("Move Descriptions", EditorUtil.getUndoContext(), target, descriptionElements, isCopy, null);
+ AbstractPostOperation operation = new MoveDescriptionElementsOperation(Messages.DescriptionElementDropAdapter_MOVE_DESC, EditorUtil.getUndoContext(), target, descriptionElements, isCopy, null);
EditorUtil.executeOperation(operation);
return true;
}
- MessagingUtils.warningDialog("Operation not supported yet", this, "We are unable to drag and drop empty descriptions");
+ MessagingUtils.warningDialog(OPERATION_NOT_SUPPORTED_YET, this, Messages.DescriptionElementDropAdapter_NOT_SUPPORTED_EMPTY_ELEMENT);
return false;
public class DescriptionElementTransfer extends CdmObjectTransfer<DescriptionElementBase> {
private static DescriptionElementTransfer instance = new DescriptionElementTransfer();
- private static final String TYPE_NAME = "descriptionElement-transfer-format";
+ private static final String TYPE_NAME = "descriptionElement-transfer-format"; //$NON-NLS-1$
private static final int TYPEID = registerType(TYPE_NAME);
public static synchronized DescriptionElementTransfer getInstance(){
import eu.etaxonomy.cdm.model.taxon.Taxon;
import eu.etaxonomy.taxeditor.bulkeditor.BulkEditor;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor;
import eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView;
import eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart;
operation = operationCreationInstance(event.getCommand().getName(), event, description, postOperationEnabled);
AbstractUtility.executeOperation(operation);
} catch (NotDefinedException e) {
- MessagingUtils.warn(getClass(), "Command name not set");
+ MessagingUtils.warn(getClass(), "Command name not set"); //$NON-NLS-1$
}
} else {
- MessagingUtils.error(getClass(), new IllegalArgumentException("Could not determine the taxon description"));
+ MessagingUtils.error(getClass(), new IllegalArgumentException("Could not determine the taxon description")); //$NON-NLS-1$
return null;
}
return null;
operation = createTaxonOperation(event.getCommand().getName(), taxon, postOperationEnabled);
AbstractUtility.executeOperation(operation);
} catch (NotDefinedException e) {
- MessagingUtils.warn(getClass(), "Command name not set.");
+ MessagingUtils.warn(getClass(), "Command name not set."); //$NON-NLS-1$
}
}
// specimen description
operation = new CreateSpecimenDescriptionOperation(event.getCommand().getName(), EditorUtil.getUndoContext(), (SpecimenOrObservationBase<?>) viewerInput, postOperationEnabled);
AbstractUtility.executeOperation(operation);
} catch (NotDefinedException e) {
- MessagingUtils.warn(getClass(), "Command name not set.");
+ MessagingUtils.warn(getClass(), "Command name not set."); //$NON-NLS-1$
}
}
if(viewerInput instanceof TaxonBase){
operation = createTaxonOperation(event.getCommand().getName(), (Taxon) viewerInput, postOperationEnabled);
AbstractUtility.executeOperation(operation);
} catch (NotDefinedException e) {
- MessagingUtils.warn(getClass(), "Command name not set.");
+ MessagingUtils.warn(getClass(), "Command name not set."); //$NON-NLS-1$
}
}
import eu.etaxonomy.cdm.model.description.TaxonDescription;
import eu.etaxonomy.cdm.model.media.Media;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.descriptive.operation.DeleteDescriptionElementOperation;
import eu.etaxonomy.taxeditor.editor.view.descriptive.operation.DeleteSpecimenDescriptionOperation;
import eu.etaxonomy.taxeditor.editor.view.descriptive.operation.DeleteTaxonDescriptionOperation;
MediaDeletionConfigurator config = new MediaDeletionConfigurator();
DeleteConfiguratorDialog dialog;
- dialog = new DeleteConfiguratorDialog(config, HandlerUtil.getActiveShell(event), "Confirm Deletion", null, "Do you really want to delete the media?", MessageDialog.WARNING, new String[] { "Delete", "Skip" }, 0);
+ dialog = new DeleteConfiguratorDialog(config, HandlerUtil.getActiveShell(event), Messages.DeleteHandler_CONFIRM_DELETION, null, Messages.DeleteHandler_CONFIRM_DELETION_MESSAGE, MessageDialog.WARNING, new String[] { Messages.DeleteHandler_DELETE, Messages.DeleteHandler_SKIP }, 0);
int result_dialog= dialog.open();
if (result_dialog != Status.OK){
return null;
}
else{
- MessagingUtils.error(getClass(), "Selection is not valid for this delete handler", null);
+ MessagingUtils.error(getClass(), Messages.DeleteHandler_INVALID_SELECTION, null);
}
}
}
} catch (NotDefinedException e) {
- MessagingUtils.warn(getClass(), "Command name not set.");
+ MessagingUtils.warn(getClass(), "Command name not set."); //$NON-NLS-1$
}
*/
public class DescriptionsMenuPropertyTester extends PropertyTester {
- private static final String MEDIA = "isMedia";
- private static final String FEATURE_NODE_CONTAINER = "isFeatureNodeContainer";
- private static final String DESCRIPTION = "isDescription";
- private static final String INDIVIDUALS_ASSOCIATION = "isIndividualsAssociation";
- private static final String DESCRIPTION_ELEMENT = "isDescriptionElement";
- private static final String DELETABLE = "isDeletable";
- private static final String IMAGE_GALLERY = "isImageGallery";
- private static final String TAXON_EDITOR = "isTaxonEditor";
- private static final String BULK_EDITOR = "isBulkEditor";
- private static final String DERIVATE_EDITOR = "isDerivateEditor";
+ private static final String MEDIA = "isMedia"; //$NON-NLS-1$
+ private static final String FEATURE_NODE_CONTAINER = "isFeatureNodeContainer"; //$NON-NLS-1$
+ private static final String DESCRIPTION = "isDescription"; //$NON-NLS-1$
+ private static final String INDIVIDUALS_ASSOCIATION = "isIndividualsAssociation"; //$NON-NLS-1$
+ private static final String DESCRIPTION_ELEMENT = "isDescriptionElement"; //$NON-NLS-1$
+ private static final String DELETABLE = "isDeletable"; //$NON-NLS-1$
+ private static final String IMAGE_GALLERY = "isImageGallery"; //$NON-NLS-1$
+ private static final String TAXON_EDITOR = "isTaxonEditor"; //$NON-NLS-1$
+ private static final String BULK_EDITOR = "isBulkEditor"; //$NON-NLS-1$
+ private static final String DERIVATE_EDITOR = "isDerivateEditor"; //$NON-NLS-1$
/* (non-Javadoc)
* @see org.eclipse.core.expressions.IPropertyTester#test(java.lang.Object, java.lang.String, java.lang.Object[], java.lang.Object)
import eu.etaxonomy.taxeditor.editor.EditorUtil;
import eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor;
import eu.etaxonomy.taxeditor.editor.Page;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor;
import eu.etaxonomy.taxeditor.editor.view.descriptive.operation.MoveDescriptionElementsOperation;
import eu.etaxonomy.taxeditor.model.AbstractUtility;
}
TaxonNode newAcceptedTaxonNode = TaxonNodeSelectionDialog.select(HandlerUtil.getActiveShell(event),
editor.getConversationHolder(),
- "Choose the accepted taxon",
+ Messages.MoveDescriptionElementsHandler_CHOOSE_ACC_TAXON,
excludeTaxa,
null, classification
);
}
newAcceptedTaxonNodeUuid = newAcceptedTaxonNode.getUuid();
- String moveMessage = String.format("Elements moved from %s", EditorUtil.getActiveMultiPageTaxonEditor().getTaxon());
+ String moveMessage = String.format(Messages.MoveDescriptionElementsHandler_ELEMENTS_MOVED, EditorUtil.getActiveMultiPageTaxonEditor().getTaxon());
try {
AbstractPostOperation operation = new MoveDescriptionElementsOperation(
MessagingUtils.error(this.getClass(), e);
throw new RuntimeException(e);
} catch (Exception e) {
- MessagingUtils.warningDialog("Could not create Taxon", this, e.getMessage());
+ MessagingUtils.warningDialog(Messages.MoveDescriptionElementsHandler_CREATE_FAILURE, this, e.getMessage());
}
}
import eu.etaxonomy.taxeditor.editor.EditorUtil;
import eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor;
import eu.etaxonomy.taxeditor.editor.TaxonEditorInput;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.descriptive.operation.MoveDescriptionToOtherTaxonOperation;
import eu.etaxonomy.taxeditor.model.AbstractUtility;
import eu.etaxonomy.taxeditor.model.FeatureNodeContainer;
editor = EditorUtil.getActiveMultiPageTaxonEditor();
if (this.editor.isDirty()){
boolean proceed = MessageDialog.openQuestion(null,
- "Save changes", "You have made changes that must be saved before this query can be executed. Would you like to proceed?");
+ Messages.MoveDescriptionToOtherTaxonHandler_SAVE_CHANGES, Messages.MoveDescriptionToOtherTaxonHandler_SAVE_CHANGES_MESSAGE);
if (proceed) {
editor.doSave(EditorUtil.getMonitor());
} else {
}
TaxonNode newAcceptedTaxonNode = TaxonNodeSelectionDialog.select(HandlerUtil.getActiveShell(event),
editor.getConversationHolder(),
- "Choose the accepted taxon",
+ Messages.MoveDescriptionToOtherTaxonHandler_CHOOSE_ACC_TAXON,
excludeTaxa,
node,
classification);
}
} catch (NotDefinedException e) {
- logger.warn("Command name not set");
+ logger.warn("Command name not set"); //$NON-NLS-1$
}
}
MessagingUtils.error(this.getClass(), e);
throw new RuntimeException(e);
} catch (Exception e) {
- MessagingUtils.warningDialog("Could not create Taxon", this, e.getMessage());
+ MessagingUtils.warningDialog(Messages.MoveDescriptionToOtherTaxonHandler_CREATE_FAILED, this, e.getMessage());
}
}
import eu.etaxonomy.cdm.model.occurrence.FieldUnit;
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.operation.AbstractPostTaxonOperation;
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
*/
public class AddDerivedUnitFacadeMediaOperation extends AbstractPostTaxonOperation {
- private final SpecimenOrObservationBase<?> specimen;
+ private static final String ONLY_ONE_IMAGE_GALLERY_IS_POSSIBLE = Messages.AddDerivedUnitFacadeMediaOperation_CREATE_FAILED_MESSAGE;
+ private static final String IMAGE_GALLERY_CREATION_FAILED = Messages.AddDerivedUnitFacadeMediaOperation_CREATE_FAILED;
+ private final SpecimenOrObservationBase<?> specimen;
/**
* @param label
if(specimen instanceof FieldUnit){
facade = DerivedUnitFacade.NewInstance(SpecimenOrObservationType.FieldUnit, (FieldUnit) specimen);
if(facade.hasFieldObjectImageGallery()){
- MessagingUtils.informationDialog("Image gallery creation failed", "Only one image gallery is possible.");
+ MessagingUtils.informationDialog(IMAGE_GALLERY_CREATION_FAILED, ONLY_ONE_IMAGE_GALLERY_IS_POSSIBLE);
return Status.CANCEL_STATUS;
}
else{
else if(specimen instanceof DerivedUnit){
facade = DerivedUnitFacade.NewInstance((DerivedUnit)specimen);
if(facade.hasDerivedUnitImageGallery()){
- MessagingUtils.informationDialog("Image gallery creation failed", "Only one image gallery is possible.");
+ MessagingUtils.informationDialog(IMAGE_GALLERY_CREATION_FAILED, ONLY_ONE_IMAGE_GALLERY_IS_POSSIBLE);
return Status.CANCEL_STATUS;
}
else{
public class CreateDescriptionElementOperation extends AbstractPostTaxonOperation {
/** Constant <code>ID="eu.etaxonomy.taxeditor.editor.descripti"{trunked}</code> */
- public static final String ID = "eu.etaxonomy.taxeditor.editor.view.descriptive.command.createDescriptionElement";
+ public static final String ID = "eu.etaxonomy.taxeditor.editor.view.descriptive.command.createDescriptionElement"; //$NON-NLS-1$
private final DescriptionBase<?> description;
private final Feature feature;
monitor.worked(20);
if (element == null) {
if (feature.isSupportsCommonTaxonName()) {
- element = CommonTaxonName.NewInstance("", null);
+ element = CommonTaxonName.NewInstance("", null); //$NON-NLS-1$
}
else if (feature.isSupportsDistribution()) {
element = Distribution.NewInstance();
import eu.etaxonomy.cdm.model.description.DescriptionBase;
import eu.etaxonomy.cdm.model.description.DescriptionElementBase;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.operation.AbstractPostTaxonOperation;
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
// Remove element from description
if (description == null) {
- MessagingUtils.error(this.getClass(), "Couldn't find element's description!", null);
+ MessagingUtils.error(this.getClass(), Messages.DeleteDescriptionElementOperation_DESC_NOT_FOUND, null);
} else {
description.removeElement(element);
}
*/\r
@Override\r
public Object execute(ExecutionEvent event) throws ExecutionException {\r
- MessagingUtils.warningDialog("Operation not supported yet", getClass(), "This operation is not supported yet.");\r
+ MessagingUtils.warningDialog("Operation not supported yet", getClass(), "This operation is not supported yet."); //$NON-NLS-1$ //$NON-NLS-2$\r
return null;\r
}\r
\r
import eu.etaxonomy.cdm.model.description.TaxonDescription;
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.operation.AbstractPersistentPostOperation;
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
import eu.etaxonomy.taxeditor.session.ICdmEntitySessionEnabled;
monitor.worked(20);
bind();
- String moveMessage = String.format("Description moved from %s", EditorUtil.getActiveMultiPageTaxonEditor().getTaxon());
+ String moveMessage = String.format(Messages.MoveDescriptionToOtherTaxonOperation_MOVED_FROM, EditorUtil.getActiveMultiPageTaxonEditor().getTaxon());
if(description.isProtectedTitleCache()){
- String separator = "";
+ String separator = ""; //$NON-NLS-1$
if(!StringUtils.isBlank(description.getTitleCache())){
- separator = " - ";
+ separator = " - "; //$NON-NLS-1$
}
description.setTitleCache(description.getTitleCache() + separator + moveMessage, true);
}
}
if(taxon == null){
- MessagingUtils.error(getClass(), "Taxon is null", null);
+ MessagingUtils.error(getClass(), "Taxon is null", null); //$NON-NLS-1$
return NO_CHILDREN;
}
HashSet<DescriptionBase> imageGalleries = new HashSet<DescriptionBase>();
}
} catch (DerivedUnitFacadeNotSupportedException e) {
- MessagingUtils.error(this.getClass(), "DerivedUnitFacadeNotSupportedException when trying to instantiate DerivedUnitFacade", e);
+ MessagingUtils.error(this.getClass(), "DerivedUnitFacadeNotSupportedException when trying to instantiate DerivedUnitFacade", e); //$NON-NLS-1$
}
}
else if (parentElement instanceof FieldUnit){
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {}
private List<Media> getImages(DescriptionBase description){
- Assert.isTrue(description.isImageGallery(), "Description should have the imageGallery flag set.");
+ Assert.isTrue(description.isImageGallery(), "Description should have the imageGallery flag set."); //$NON-NLS-1$
Set<DescriptionElementBase> elements = description.getElements();
if (elements != null) {
// by definition, image galleries have only one description element
if(elements.size() > 1){
- MessagingUtils.error(this.getClass(), "There should be one and only one description element to hold the images. Found: " + elements.size() + " InDescription ID: " + description.getUuid(), null);
+ MessagingUtils.error(this.getClass(), "There should be one and only one description element to hold the images. Found: " + elements.size() + " InDescription ID: " + description.getUuid(), null); //$NON-NLS-1$ //$NON-NLS-2$
}
if (!elements.isEmpty()){
DescriptionElementBase element = elements.iterator().next();
import eu.etaxonomy.cdm.model.description.IDescribable;
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
import eu.etaxonomy.taxeditor.bulkeditor.BulkEditor;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart;
import eu.etaxonomy.taxeditor.model.AbstractUtility;
import eu.etaxonomy.taxeditor.model.IPartContentHasDetails;
*/
public class MediaViewPart extends AbstractCdmEditorViewPart implements IPartContentHasDetails, IPartContentHasSupplementalData {
- public static final String ID = "eu.etaxonomy.taxeditor.editor.view.media";
+ public static final String ID = "eu.etaxonomy.taxeditor.editor.view.media"; //$NON-NLS-1$
private TreeViewer viewer;
@Override
protected String getViewName() {
- return "Media";
+ return Messages.MediaViewPart_MEDIA;
}
}
AbstractUtility.executeOperation(operation);
}
} catch (NotDefinedException e) {
- MessagingUtils.warn(getClass(), "Command name not set.");
+ MessagingUtils.warn(getClass(), "Command name not set."); //$NON-NLS-1$
}
}
}
}
} catch (NotDefinedException e) {
- MessagingUtils.warn(getClass(), "Command name not set.");
+ MessagingUtils.warn(getClass(), "Command name not set."); //$NON-NLS-1$
}
}
return null;
EditorUtil.getUndoContext(), description, postOperationEnabled);
AbstractUtility.executeOperation(operation);
} catch (NotDefinedException e) {
- MessagingUtils.warn(getClass(), "Command name not set.");
+ MessagingUtils.warn(getClass(), "Command name not set."); //$NON-NLS-1$
}
}
import eu.etaxonomy.cdm.model.taxon.Taxon;
import eu.etaxonomy.taxeditor.editor.EditorUtil;
import eu.etaxonomy.taxeditor.editor.TaxonEditorInput;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.operation.AbstractPostOperation;
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
import eu.etaxonomy.taxeditor.ui.dialog.configurator.deleteConfigurator.DeleteConfiguratorDialog;
MediaDeletionConfigurator config = new MediaDeletionConfigurator();
DeleteConfiguratorDialog dialog;
- dialog = new DeleteConfiguratorDialog(config, HandlerUtil.getActiveShell(event), "Confirm Deletion", null, "Do you really want to delete the media?", MessageDialog.WARNING, new String[] { "Delete", "Skip" }, 0);
+ dialog = new DeleteConfiguratorDialog(config, HandlerUtil.getActiveShell(event), Messages.DeleteMediaHandler_CONFIRM, null, Messages.DeleteMediaHandler_CONFIRM_MESSAGE, MessageDialog.WARNING, new String[] { Messages.DeleteMediaHandler_DELETE, Messages.DeleteMediaHandler_SKIP }, 0);
int result_dialog= dialog.open();
if (result_dialog != Status.OK){
return null;
EditorUtil.getUndoContext(), taxon, description, media, MoveMediaInListOperation.DOWN, postOperationEnabled);
EditorUtil.executeOperation(operation);
} catch (NotDefinedException e) {
- MessagingUtils.warn(getClass(), "Command name not set.");
+ MessagingUtils.warn(getClass(), "Command name not set."); //$NON-NLS-1$
}
}
}
EditorUtil.getUndoContext(), taxon, element, media, MoveMediaInListOperation.UP, postOperationEnabled);
EditorUtil.executeOperation(operation);
} catch (NotDefinedException e) {
- MessagingUtils.warn(getClass(), "Command name not set.");
+ MessagingUtils.warn(getClass(), "Command name not set."); //$NON-NLS-1$
}
}
}
import eu.etaxonomy.cdm.model.description.DescriptionElementBase;
import eu.etaxonomy.cdm.model.media.Media;
import eu.etaxonomy.cdm.model.taxon.Taxon;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.model.MessagingUtils;
import eu.etaxonomy.taxeditor.operation.AbstractPostTaxonOperation;
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
Set<DescriptionElementBase> elements = description.getElements();
if(elements.size() != 1){
- MessagingUtils.error(this.getClass(), "More than one description element in this image gallery", null);
+ MessagingUtils.error(this.getClass(), Messages.MoveMediaInListOperation_MORE_DESC, null);
}
DescriptionElementBase element = elements.iterator().next();
/**\r
* Copyright (C) 2011 EDIT\r
-* European Distributed Institute of Taxonomy \r
+* European Distributed Institute of Taxonomy\r
* http://www.e-taxonomy.eu\r
-* \r
+*\r
* The contents of this file are subject to the Mozilla Public License Version 1.1\r
* See LICENSE.TXT at the top of this package for the full license terms.\r
*/\r
import eu.etaxonomy.cdm.model.description.DescriptionBase;\r
import eu.etaxonomy.cdm.model.description.StateData;\r
import eu.etaxonomy.cdm.model.description.TextData;\r
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;\r
import eu.etaxonomy.taxeditor.model.FeatureNodeContainer;\r
import eu.etaxonomy.taxeditor.store.CdmStore;\r
import eu.etaxonomy.taxeditor.store.UsageTermCollection;\r
\r
/**\r
* UsesLabelProvider Class\r
- * @author a.theys \r
+ * @author a.theys\r
* @created mar 13, 2012\r
* @version 1.0\r
*/\r
public class UsesLabelProvider extends ColumnLabelProvider implements\r
IStyledLabelProvider {\r
- \r
- /** {@inheritDoc} */\r
- public String getText(Object element) {\r
- String text = "";\r
+\r
+ private static final String USE = Messages.UsesLabelProvider_USE;\r
+ private static final String NO_DATA_PROVIDED = Messages.UsesLabelProvider_NO_DATA;\r
+ private static final String SEMICOLON = ";"; //$NON-NLS-1$\r
+\r
+ /** {@inheritDoc} */\r
+ @Override\r
+ public String getText(Object element) {\r
+ String text = ""; //$NON-NLS-1$\r
\r
if (element instanceof DescriptionBase) {\r
text = ((DescriptionBase) element).getTitleCache();\r
if (text == null || text.length() == 0) {\r
- text = "Use: No label provided";\r
+ text = USE+Messages.UsesLabelProvider_NO_LABEL;\r
}\r
else {\r
- text = "Use: " + text;\r
+ text = USE + text;\r
}\r
}\r
else if (element instanceof CategoricalData) {\r
boolean isUseCategoryAbsent = true;\r
for (StateData statedata : ((CategoricalData) element).getStateData()) {\r
if(statedata.getState() != null && statedata.getModifyingText().get(CdmStore.getDefaultLanguage()) !=null && statedata.getModifyingText().get(CdmStore.getDefaultLanguage()).getText().equals(UsageTermCollection.useCategoryVocabularyLabel)) {\r
- text = text + statedata.getState().getTitleCache() + ";";\r
+ text = text + statedata.getState().getTitleCache() + SEMICOLON;\r
isUseCategoryAbsent = false;\r
}\r
}\r
if(isUseCategoryAbsent) {\r
- text = text + UsageTermCollection.notAvailableLabel + ";";\r
+ text = text + UsageTermCollection.notAvailableLabel + SEMICOLON;\r
}\r
- \r
+\r
boolean isUseSubCategoryAbsent = true;\r
for (StateData statedata : ((CategoricalData) element).getStateData()) {\r
if(statedata.getState() != null && statedata.getModifyingText().get(CdmStore.getDefaultLanguage()) !=null && statedata.getModifyingText().get(CdmStore.getDefaultLanguage()).getText().equals(UsageTermCollection.useSubCategoryVocabularyLabel)) {\r
- text = text + statedata.getState().getTitleCache() + ";";\r
+ text = text + statedata.getState().getTitleCache() + SEMICOLON;\r
isUseSubCategoryAbsent = false;\r
}\r
}\r
if(isUseSubCategoryAbsent) {\r
- text = text + UsageTermCollection.notAvailableLabel + ";";\r
+ text = text + UsageTermCollection.notAvailableLabel + SEMICOLON;\r
}\r
}\r
else {\r
- text = text + UsageTermCollection.notAvailableLabel + ";" + UsageTermCollection.notAvailableLabel + ";";\r
+ text = text + UsageTermCollection.notAvailableLabel + SEMICOLON + UsageTermCollection.notAvailableLabel + SEMICOLON;\r
}\r
if (!((CategoricalData) element).getModifiers().isEmpty()) {\r
for (DefinedTerm modifier: ((CategoricalData) element).getModifiers()){\r
modifier.getPartOf();\r
modifier.getVocabulary();\r
}\r
- \r
+\r
boolean isPlantPartAbsent = true;\r
for (DefinedTerm modifier: ((CategoricalData) element).getModifiers()){\r
if(GetVocabularyType(modifier, UsageTermCollection.plantPartLabel)) {\r
- text = text + modifier.getTitleCache()+ ";";\r
+ text = text + modifier.getTitleCache()+ SEMICOLON;\r
isPlantPartAbsent = false;\r
}\r
- \r
+\r
}\r
if (isPlantPartAbsent) {\r
- text = text + UsageTermCollection.notAvailableLabel + ";";\r
+ text = text + UsageTermCollection.notAvailableLabel + SEMICOLON;\r
}\r
- \r
+\r
boolean isHumanGroupAbsent = true;\r
for (DefinedTerm modifier: ((CategoricalData) element).getModifiers()){\r
if(GetVocabularyType(modifier, UsageTermCollection.humanGroupLabel)) {\r
- text = text + modifier.getTitleCache()+ ";";\r
+ text = text + modifier.getTitleCache()+ SEMICOLON;\r
isHumanGroupAbsent = false;\r
}\r
}\r
if (isHumanGroupAbsent) {\r
- text = text + UsageTermCollection.notAvailableLabel + ";";\r
+ text = text + UsageTermCollection.notAvailableLabel + SEMICOLON;\r
}\r
- \r
+\r
boolean isEthnicGroupAbsent = true;\r
for (DefinedTerm modifier: ((CategoricalData) element).getModifiers()){\r
if(GetVocabularyType(modifier, UsageTermCollection.ethnicGroupLabel)) {\r
- text = text + modifier.getTitleCache()+ ";";\r
+ text = text + modifier.getTitleCache()+ SEMICOLON;\r
isEthnicGroupAbsent = false;\r
}\r
}\r
if (isEthnicGroupAbsent) {\r
- text = text + UsageTermCollection.notAvailableLabel + ";";\r
+ text = text + UsageTermCollection.notAvailableLabel + SEMICOLON;\r
}\r
- \r
+\r
boolean isCountryAbsent = true;\r
for (DefinedTerm modifier: ((CategoricalData) element).getModifiers()){\r
if(GetVocabularyType(modifier, UsageTermCollection.countryLabel)) {\r
- text = text + modifier.getTitleCache()+ ";";\r
+ text = text + modifier.getTitleCache()+ SEMICOLON;\r
isCountryAbsent = false;\r
}\r
}\r
if (isCountryAbsent) {\r
- text = text + UsageTermCollection.notAvailableLabel + ";";\r
+ text = text + UsageTermCollection.notAvailableLabel + SEMICOLON;\r
}\r
}\r
else {\r
- text = text + UsageTermCollection.notAvailableLabel + ";" + UsageTermCollection.notAvailableLabel + ";" + UsageTermCollection.notAvailableLabel + ";" + UsageTermCollection.notAvailableLabel + ";";\r
+ text = text + UsageTermCollection.notAvailableLabel + SEMICOLON + UsageTermCollection.notAvailableLabel + SEMICOLON + UsageTermCollection.notAvailableLabel + SEMICOLON + UsageTermCollection.notAvailableLabel + SEMICOLON;\r
}\r
- \r
+\r
if (text == null || text.length() == 0) {\r
- text = "No data provided";\r
+ text = NO_DATA_PROVIDED;\r
}\r
else {\r
- String[] textElements = text.split(";");\r
- String dataportalString = textElements[0] + ";" + textElements[1] + ";" + textElements[5] + ";" + textElements[2] + ";" + textElements[3] + ";" + textElements[4] + ";" ; \r
- \r
+ String[] textElements = text.split(SEMICOLON);\r
+ String dataportalString = textElements[0] + SEMICOLON + textElements[1] + SEMICOLON + textElements[5] + SEMICOLON + textElements[2] + SEMICOLON + textElements[3] + SEMICOLON + textElements[4] + SEMICOLON ;\r
+\r
((CategoricalData)element).putModifyingText(CdmStore.getDefaultLanguage(), dataportalString);\r
}\r
return text;\r
}\r
- \r
+\r
else if (element instanceof TextData) {\r
List<Language> languages = Arrays.asList(new Language[]{CdmStore.getDefaultLanguage()});\r
LanguageString languageString = ((TextData) element).getPreferredLanguageString(languages);\r
text = languageString != null ? languageString.getText() : null;\r
if (text == null || text.length() == 0) {\r
- text = "No data provided";\r
+ text = NO_DATA_PROVIDED;\r
}\r
}\r
- \r
+\r
else if (element instanceof FeatureNodeContainer){\r
text = ((FeatureNodeContainer)element).getFeature().getTitleCache();\r
}\r
return text;\r
}\r
\r
- /** Function dertmining which vocabulary is the term part of \r
- * \r
+ /** Function dertmining which vocabulary is the term part of\r
+ *\r
* @param term\r
* @param vocabularyExpected\r
* @return\r
}\r
return false;\r
}\r
- \r
+\r
/** {@inheritDoc} */\r
@Override\r
public StyledString getStyledText(Object element) {\r
return new StyledString(this.getText(element),\r
StyledString.QUALIFIER_STYLER);\r
}\r
- \r
- \r
+\r
+\r
\r
}\r
import org.eclipse.swt.widgets.Tree;
import eu.etaxonomy.cdm.model.common.CdmBase;
-import eu.etaxonomy.taxeditor.editor.Messages;
+import eu.etaxonomy.taxeditor.editor.l10n.Messages;
import eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptionElementDragListener;
import eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptionElementDropAdapter;
import eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptionElementTransfer;
public class CreateUseRecordOperation extends AbstractPostOperation {
/** Constant <code>ID="eu.etaxonomy.taxeditor.editor.view.use."{trunked}</code> */
- public static final String ID = "eu.etaxonomy.taxeditor.editor.use.createUseRecord";
+ public static final String ID = "eu.etaxonomy.taxeditor.editor.use.createUseRecord"; //$NON-NLS-1$
private final DescriptionBase<?> description;
private final Feature feature;
private DescriptionElementBase element;
*/\r
public class CreateUseSummaryOperation extends AbstractPostOperation {\r
\r
- public static final String ID = "eu.etaxonomy.taxeditor.editor.use.createUseRecord";\r
+ public static final String ID = "eu.etaxonomy.taxeditor.editor.use.createUseRecord"; //$NON-NLS-1$\r
\r
private final DescriptionBase<?> description;\r
private final Feature feature;\r
{\r
try {\r
Object value = item.getMarker().getAttribute(MarkerManager.ATTRIB_ENTITY_CLASS);\r
- return value == null ? "" : value.toString();\r
+ return value == null ? "" : value.toString(); //$NON-NLS-1$\r
}\r
catch (CoreException e) {\r
- throw new RuntimeException("Error while retrieving value for " + MarkerManager.ATTRIB_ENTITY_CLASS);\r
+ throw new RuntimeException("Error while retrieving value for " + MarkerManager.ATTRIB_ENTITY_CLASS); //$NON-NLS-1$\r
}\r
}\r
}\r
{\r
try {\r
Object value = item.getMarker().getAttribute(MarkerManager.ATTRIB_ENTITY_ID);\r
- return value == null ? "" : value.toString();\r
+ return value == null ? "" : value.toString(); //$NON-NLS-1$\r
}\r
catch (CoreException e) {\r
- throw new RuntimeException("Error while retrieving value for " + MarkerManager.ATTRIB_ENTITY_ID);\r
+ throw new RuntimeException("Error while retrieving value for " + MarkerManager.ATTRIB_ENTITY_ID); //$NON-NLS-1$\r
}\r
}\r
}\r
{\r
try {\r
Object value = item.getMarker().getAttribute(MarkerManager.ATTRIB_INVALID_VALUE);\r
- return value == null ? "" : value.toString();\r
+ return value == null ? "" : value.toString(); //$NON-NLS-1$\r
}\r
catch (CoreException e) {\r
- throw new RuntimeException("Error while retrieving value for " + MarkerManager.ATTRIB_INVALID_VALUE);\r
+ throw new RuntimeException("Error while retrieving value for " + MarkerManager.ATTRIB_INVALID_VALUE); //$NON-NLS-1$\r
}\r
}\r
}\r
{\r
try {\r
Object value = item.getMarker().getAttribute(MarkerManager.ATTRIB_USER_FRIENDLY_DESCRIPTION);\r
- return value == null ? "" : value.toString();\r
+ return value == null ? "" : value.toString(); //$NON-NLS-1$\r
}\r
catch (CoreException e) {\r
- throw new RuntimeException("Error while retrieving value for " + MarkerManager.ATTRIB_USER_FRIENDLY_DESCRIPTION);\r
+ throw new RuntimeException("Error while retrieving value for " + MarkerManager.ATTRIB_USER_FRIENDLY_DESCRIPTION); //$NON-NLS-1$\r
}\r
}\r
\r
{\r
try {\r
Object value = item.getMarker().getAttribute(MarkerManager.ATTRIB_USER_FRIENDLY_FIELD_NAME);\r
- return value == null ? "" : value.toString();\r
+ return value == null ? "" : value.toString(); //$NON-NLS-1$\r
}\r
catch (CoreException e) {\r
- throw new RuntimeException("Error while retrieving value for " + MarkerManager.ATTRIB_USER_FRIENDLY_FIELD_NAME);\r
+ throw new RuntimeException("Error while retrieving value for " + MarkerManager.ATTRIB_USER_FRIENDLY_FIELD_NAME); //$NON-NLS-1$\r
}\r
}\r
}\r
{\r
try {\r
Object value = item.getMarker().getAttribute(MarkerManager.ATTRIB_USER_FRIENDLY_TYPE_NAME);\r
- return value == null ? "" : value.toString();\r
+ return value == null ? "" : value.toString(); //$NON-NLS-1$\r
}\r
catch (CoreException e) {\r
- throw new RuntimeException("Error while retrieving value for " + MarkerManager.ATTRIB_USER_FRIENDLY_TYPE_NAME);\r
+ throw new RuntimeException("Error while retrieving value for " + MarkerManager.ATTRIB_USER_FRIENDLY_TYPE_NAME); //$NON-NLS-1$\r
}\r
}\r
}\r
\r
public ValidationProblemsView()\r
{\r
- super("eu.etaxonomy.taxeditor.editor.validation.ValidationProblemsMarkerGenerator");\r
+ super("eu.etaxonomy.taxeditor.editor.validation.ValidationProblemsMarkerGenerator"); //$NON-NLS-1$\r
}\r
\r
\r
{\r
try {\r
Object value = item.getMarker().getAttribute(MarkerManager.ATTRIB_VALIDATOR_CLASS);\r
- return value == null ? "" : value.toString();\r
+ return value == null ? "" : value.toString(); //$NON-NLS-1$\r
}\r
catch (CoreException e) {\r
- throw new RuntimeException("Error while retrieving value for " + MarkerManager.ATTRIB_VALIDATOR_CLASS);\r
+ throw new RuntimeException("Error while retrieving value for " + MarkerManager.ATTRIB_VALIDATOR_CLASS); //$NON-NLS-1$\r
}\r
}\r
\r
{\r
try {\r
Object value = item.getMarker().getAttribute(MarkerManager.ATTRIB_VALIDATOR_MESSAGE);\r
- return value == null ? "" : value.toString();\r
+ return value == null ? "" : value.toString(); //$NON-NLS-1$\r
}\r
catch (CoreException e) {\r
- throw new RuntimeException("Error while retrieving value for " + MarkerManager.ATTRIB_VALIDATOR_MESSAGE);\r
+ throw new RuntimeException("Error while retrieving value for " + MarkerManager.ATTRIB_VALIDATOR_MESSAGE); //$NON-NLS-1$\r
}\r
}\r
\r