diff options
Diffstat (limited to 'plugins/org.eclipse.jem.proxy/proxyRemote/org/eclipse/jem/internal/proxy/remote/awt/REMPointBeanTypeProxy.java')
-rw-r--r-- | plugins/org.eclipse.jem.proxy/proxyRemote/org/eclipse/jem/internal/proxy/remote/awt/REMPointBeanTypeProxy.java | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/plugins/org.eclipse.jem.proxy/proxyRemote/org/eclipse/jem/internal/proxy/remote/awt/REMPointBeanTypeProxy.java b/plugins/org.eclipse.jem.proxy/proxyRemote/org/eclipse/jem/internal/proxy/remote/awt/REMPointBeanTypeProxy.java deleted file mode 100644 index 8ee458ee7..000000000 --- a/plugins/org.eclipse.jem.proxy/proxyRemote/org/eclipse/jem/internal/proxy/remote/awt/REMPointBeanTypeProxy.java +++ /dev/null @@ -1,67 +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.remote.awt; -/* - * $RCSfile: REMPointBeanTypeProxy.java,v $ - * $Revision: 1.3 $ $Date: 2005/08/24 20:39:07 $ - */ - -import org.eclipse.jem.internal.proxy.remote.*; -import org.eclipse.jem.internal.proxy.core.IBeanTypeProxy; -/** - * Beantype proxy for java.awt.Dimension - */ -public class REMPointBeanTypeProxy extends REMAbstractBeanTypeProxy implements IREMSpecialBeanTypeProxy { - - protected REMPointBeanTypeProxy(REMProxyFactoryRegistry aRegistry, Integer anID, String aClassname, IBeanTypeProxy aSuperType) { - super(aRegistry, anID, aClassname, aSuperType); - } - - /** - * Helper to create a bean proxy - * Package protected because everyone should go through the factory API - * that is defined as part of IBeanProxyFactory - */ - REMPointBeanProxy createPointBeanProxy(Integer objectID) { - return new REMPointBeanProxy(fRegistry, objectID, this); - } - - /** - * newBeanTypeForClass: Create a new beantypeproxy of this kind for the given class. - * This is used by beantype proxy factory when creating a beantype proxy for a subclass. - * This is because subclasses, unless explicitly overridden, should use the same kind - * of beantype proxy. This way if anything special is needed for a specific type, then - * that can be done. - * - * NOTE: All subclasses must override this to return the correct type of BeanTypeProxy. - */ - public IREMBeanTypeProxy newBeanTypeForClass(Integer anID, String aClassname, boolean anAbstract) { - return newBeanTypeForClass(anID, aClassname, anAbstract, this); - } - - /** - * The special method to handle subclassing from an abstract). - */ - public IREMBeanTypeProxy newBeanTypeForClass(Integer anID, String aClassname, boolean anAbstract, IBeanTypeProxy superType) { - if (!anAbstract) - return new REMPointBeanTypeProxy(fRegistry, anID, aClassname, superType); - else - return new REMAnAbstractBeanTypeProxy(fRegistry, anID, aClassname, superType, this); - } - - /** - * Specialized from REMAbstractBeanTypeProxy to ensure ExceptionBeanProxies are created correctly. - */ - public IREMBeanProxy newBeanProxy(Integer objectID) { - return createPointBeanProxy(objectID); - } - -} |