Mercurial > projects > dwt2
comparison org.eclipse.core.commands/src/org/eclipse/core/commands/contexts/Context.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 |
---|---|
118 } | 118 } |
119 } | 119 } |
120 | 120 |
121 return compareTo; | 121 return compareTo; |
122 } | 122 } |
123 public final override int opCmp( Object object ){ | |
124 return compareTo( object ); | |
125 } | |
123 | 126 |
124 /** | 127 /** |
125 * <p> | 128 * <p> |
126 * Defines this context by giving it a name, and possibly a description and | 129 * Defines this context by giving it a name, and possibly a description and |
127 * a parent identifier as well. The defined property automatically becomes | 130 * a parent identifier as well. The defined property automatically becomes |