From: Katja Luther Date: Mon, 18 Jul 2016 11:52:09 +0000 (+0200) Subject: minor X-Git-Tag: 4.3.0^2~121 X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/commitdiff_plain/1103732df59473cac243d4c44a2c6119bd6b3ceb minor --- diff --git a/eu.etaxonomy.taxeditor.cdmlib/.classpath b/eu.etaxonomy.taxeditor.cdmlib/.classpath index 2e1d15827..63e7f7207 100644 --- a/eu.etaxonomy.taxeditor.cdmlib/.classpath +++ b/eu.etaxonomy.taxeditor.cdmlib/.classpath @@ -29,13 +29,13 @@ - - - + + + - + diff --git a/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/container/AbstractGroupedContainer.java b/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/container/AbstractGroupedContainer.java index d86ccbda5..d9be7cb02 100644 --- a/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/container/AbstractGroupedContainer.java +++ b/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/container/AbstractGroupedContainer.java @@ -900,7 +900,7 @@ abstract public class AbstractGroupedContainer implements getNameViewer().getTextWidget().setFont(defaultFont); getNameViewer().getDocument().set(getEmptyTextPrompt()); - // placeCursor(); + placeCursor(); } /** @@ -1123,11 +1123,10 @@ abstract public class AbstractGroupedContainer implements AbstractGroupedContainer.this.handleSplitText(text); } - }; getNameViewer().getTextWidget().addVerifyListener(lineBreakListener); - //getNameViewer().getTextWidget().addKeyListener(lineBreakListener); + } abstract class LabelEllipsisListener extends ControlAdapter { diff --git a/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/container/LineBreakListener.java b/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/container/LineBreakListener.java index e8462fc7c..adf17288e 100644 --- a/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/container/LineBreakListener.java +++ b/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/container/LineBreakListener.java @@ -44,8 +44,10 @@ import org.eclipse.swt.events.VerifyListener; * @created 19.05.2008 * @version 1.0 */ + public abstract class LineBreakListener implements VerifyListener{ + private static String LINE_BREAK = System.getProperty("line.separator"); diff --git a/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientClassificationService.java b/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientClassificationService.java index 19010e647..13286d85d 100644 --- a/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientClassificationService.java +++ b/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientClassificationService.java @@ -992,16 +992,16 @@ public class TransientClassificationService implements IClassificationService { @Override public List> getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification( - UUID classificationUuid, List excludeTaxa, Integer limit, + UUID classificationUuid, Integer limit, String pattern) { - return defaultService.getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(classificationUuid, excludeTaxa, limit, pattern); + return defaultService.getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(classificationUuid, limit, pattern); } @Override public List> getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification( - Classification classification, List excludeTaxa, + Classification classification, Integer limit, String pattern) { - return defaultService.getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(classification, excludeTaxa, limit, pattern); + return defaultService.getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(classification, limit, pattern); } @Override diff --git a/eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/operation/CreateClassification.java b/eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/operation/CreateClassification.java index 8d3aeead7..97aa07b51 100644 --- a/eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/operation/CreateClassification.java +++ b/eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/operation/CreateClassification.java @@ -66,7 +66,7 @@ public class CreateClassification extends AbstractPersistentPostOperation { if(classification.getReference() == null){ Reference reference = ReferenceFactory.newGeneric(); - reference.setTitleCache(classification.getTitleCache(), true); + reference.setTitle(classification.getTitleCache()); classification.setReference(reference); } diff --git a/eu.etaxonomy.taxeditor.store/plugin.xml b/eu.etaxonomy.taxeditor.store/plugin.xml old mode 100644 new mode 100755 index acb402320..9b1bca568 --- a/eu.etaxonomy.taxeditor.store/plugin.xml +++ b/eu.etaxonomy.taxeditor.store/plugin.xml @@ -229,6 +229,18 @@ name="%view.name" restorable="true"> + + + + + + + %wizard.description + + +