Bug 84573 Copy/Paste Problems with nightly build (20040207)
I am doing some testing with the nightly build (20040207) and I was copy some text from a Java editor to the launch configuration dialog. When I tried to paste the text into the dialog, it was pasted back into the editor. This could be an SWT problem but Tod felt that it may also be related to the Command rework so I'm giving it to UI to start with.
bundles/org.eclipse.jface/src/org/eclipse/jface/bindings/keys/KeyStroke.java
final NaturalKey naturalKey) {
        this.modifierKeys = new TreeSet(modifierKeys);
        this.naturalKey = naturalKey;
        this.modifierKeysAsArray = (ModifierKey[]) this.modifierKeys
                .toArray(new ModifierKey[this.modifierKeys.size()]);
    }
    /**
     * @see java.lang.Comparable#compareTo(java.lang.Object)
     */
    public final int compareTo(final Object object) {
        KeyStroke castedObject = (KeyStroke) object;
        int compareTo = Util.compare(modifierKeysAsArray,
                castedObject.modifierKeysAsArray);
        if (compareTo == 0)
            compareTo = Util.compare(naturalKey, castedObject.naturalKey);
        return compareTo;
    }
    /**
     * @see java.lang.Object#equals(java.lang.Object)
     */
    public final boolean equals(final Object object) {
        if (!(object instanceof KeyStroke))
            return false;
        final KeyStroke castedObject = (KeyStroke) object;
        boolean equals = true;
        equals &= modifierKeys.equals(castedObject.modifierKeys);
        equals &= Util.equals(naturalKey, castedObject.naturalKey);
        return equals;
    }
    /**