diff options
Diffstat (limited to 'core/org.eclipse.stem.ui/src/org/eclipse/stem/ui/widgets/ISOKeyPickedEvent.java')
-rw-r--r-- | core/org.eclipse.stem.ui/src/org/eclipse/stem/ui/widgets/ISOKeyPickedEvent.java | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/core/org.eclipse.stem.ui/src/org/eclipse/stem/ui/widgets/ISOKeyPickedEvent.java b/core/org.eclipse.stem.ui/src/org/eclipse/stem/ui/widgets/ISOKeyPickedEvent.java new file mode 100644 index 000000000..f77f82688 --- /dev/null +++ b/core/org.eclipse.stem.ui/src/org/eclipse/stem/ui/widgets/ISOKeyPickedEvent.java @@ -0,0 +1,41 @@ +// ISOKeyPickedEvent.java +package org.eclipse.stem.ui.widgets; + +/******************************************************************************* + * Copyright (c) 2007 IBM Corporation and others. + * 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: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +import java.util.EventObject; + +/** + * This class represents the event of an ISOkey being selected using an + * {@link ISOKeyPicker}. + */ +public class ISOKeyPickedEvent extends EventObject { + private static final long serialVersionUID = 1L; + private String isoKey; + + /** + * @param source + * @param isoKey + */ + public ISOKeyPickedEvent(Object source, String isoKey) { + super(source); + this.isoKey = isoKey; + } + + /** + * @return the isoKey + */ + public final String getIsoKey() { + return isoKey; + } + +} // ISOKeyPickedEvent |