diff options
author | Vincent Lorenzo | 2015-01-26 12:27:12 +0000 |
---|---|---|
committer | Vincent Lorenzo | 2015-01-26 12:31:59 +0000 |
commit | 6893a76ad3a996a7a00eb83663ab37e414c9c6fe (patch) | |
tree | 50d0016dc35e37f30caf8cc58897fb5811348b89 /sandbox/pasteInNewTable/org.eclipse.papyrus.infra.emf/src/org/eclipse/papyrus/infra/emf/utils/ENamedElementComparator.java | |
parent | 4671c0502e943fae700d7fe791513d1b4de0b607 (diff) | |
download | org.eclipse.papyrus-6893a76ad3a996a7a00eb83663ab37e414c9c6fe.tar.gz org.eclipse.papyrus-6893a76ad3a996a7a00eb83663ab37e414c9c6fe.tar.xz org.eclipse.papyrus-6893a76ad3a996a7a00eb83663ab37e414c9c6fe.zip |
Clean sandbox : remove all plugins concerning table efacet and old table pluginslast/org.eclipse.papyrus.infra.efacet
Diffstat (limited to 'sandbox/pasteInNewTable/org.eclipse.papyrus.infra.emf/src/org/eclipse/papyrus/infra/emf/utils/ENamedElementComparator.java')
-rw-r--r-- | sandbox/pasteInNewTable/org.eclipse.papyrus.infra.emf/src/org/eclipse/papyrus/infra/emf/utils/ENamedElementComparator.java | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/sandbox/pasteInNewTable/org.eclipse.papyrus.infra.emf/src/org/eclipse/papyrus/infra/emf/utils/ENamedElementComparator.java b/sandbox/pasteInNewTable/org.eclipse.papyrus.infra.emf/src/org/eclipse/papyrus/infra/emf/utils/ENamedElementComparator.java deleted file mode 100644 index f2928885c13..00000000000 --- a/sandbox/pasteInNewTable/org.eclipse.papyrus.infra.emf/src/org/eclipse/papyrus/infra/emf/utils/ENamedElementComparator.java +++ /dev/null @@ -1,35 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.emf.utils;
-
-import java.text.Collator;
-import java.util.Comparator;
-
-import org.eclipse.emf.ecore.ENamedElement;
-
-/**
- *
- * A comparator for ENamedElement
- *
- */
-public class ENamedElementComparator implements Comparator<ENamedElement> {
-
- public int compare(final ENamedElement namedElement1, final ENamedElement namedElement2) {
- if(namedElement1 == null) {
- return namedElement2 == null ? 0 : -1;
- }
-
- return Collator.getInstance().compare(namedElement1.getName(), namedElement2.getName());
- }
-}
|