Mercurial > projects > dwt2
comparison org.eclipse.core.commands/src/org/eclipse/core/commands/ParameterizedCommand.d @ 35:634e4380db78
delegate compareTo from opCmp
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 23 Mar 2009 18:28:04 +0100 |
parents | bc29606a740c |
children |
comparison
equal
deleted
inserted
replaced
34:a8a838017920 | 35:634e4380db78 |
---|---|
441 return compareTo; | 441 return compareTo; |
442 } catch (NotDefinedException e) { | 442 } catch (NotDefinedException e) { |
443 throw new Exception ( | 443 throw new Exception ( |
444 "Concurrent modification of a command's defined state"); //$NON-NLS-1$ | 444 "Concurrent modification of a command's defined state"); //$NON-NLS-1$ |
445 } | 445 } |
446 } | |
447 public final override int opCmp( Object object ){ | |
448 return compareTo( object ); | |
446 } | 449 } |
447 | 450 |
448 /* | 451 /* |
449 * (non-Javadoc) | 452 * (non-Javadoc) |
450 * | 453 * |