diff options
Diffstat (limited to 'plugins/org.eclipse.jem.proxy/proxyide/org/eclipse/jem/internal/proxy/ide/IDECharacterBeanProxy.java')
-rw-r--r-- | plugins/org.eclipse.jem.proxy/proxyide/org/eclipse/jem/internal/proxy/ide/IDECharacterBeanProxy.java | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/plugins/org.eclipse.jem.proxy/proxyide/org/eclipse/jem/internal/proxy/ide/IDECharacterBeanProxy.java b/plugins/org.eclipse.jem.proxy/proxyide/org/eclipse/jem/internal/proxy/ide/IDECharacterBeanProxy.java deleted file mode 100644 index cf5b69b6f..000000000 --- a/plugins/org.eclipse.jem.proxy/proxyide/org/eclipse/jem/internal/proxy/ide/IDECharacterBeanProxy.java +++ /dev/null @@ -1,84 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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 - *******************************************************************************/ -package org.eclipse.jem.internal.proxy.ide; -/* - * $RCSfile: IDECharacterBeanProxy.java,v $ $Revision: 1.6 $ $Date: 2005/08/24 20:39:06 $ - */ - -import org.eclipse.jem.internal.proxy.core.*; -/** - * IDE Implementation of ICharacterBeanBeanProxy.. - */ -class IDECharacterBeanProxy extends IDEObjectBeanProxy implements ICharacterBeanProxy { - protected Character fCharacterValue; - IDECharacterBeanProxy(IDEProxyFactoryRegistry aRegistry, Object aBean, IBeanTypeProxy aBeanTypeProxy) { - super(aRegistry, aBean, aBeanTypeProxy); - fCharacterValue = (Character) aBean; - } - public char charValue() { - return fCharacterValue.charValue(); - } - public Character characterValue() { - return fCharacterValue; - } - /* - * (non-Javadoc) - * - * @see org.eclipse.jem.internal.proxy.core.IIntegerBeanProxy#intValue() - */ - public int intValue() { - return charValue(); - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.proxy.core.INumberBeanProxy#byteValue() - */ - public byte byteValue() { - return (byte) charValue(); - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.proxy.core.INumberBeanProxy#doubleValue() - */ - public double doubleValue() { - return charValue(); - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.proxy.core.INumberBeanProxy#floatValue() - */ - public float floatValue() { - return charValue(); - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.proxy.core.INumberBeanProxy#longValue() - */ - public long longValue() { - return charValue(); - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.proxy.core.INumberBeanProxy#numberValue() - */ - public Number numberValue() { - // This is a kludge. Need to new one up. - return new Integer(charValue()); - } - - /* (non-Javadoc) - * @see org.eclipse.jem.internal.proxy.core.INumberBeanProxy#shortValue() - */ - public short shortValue() { - return (short) charValue(); - } - -} |