| /******************************************************************************* |
| * Copyright (c) 2003, 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 |
| *******************************************************************************/ |
| /* |
| * Created on Mar 26, 2004 |
| * |
| * To change the template for this generated file go to |
| * Window - Preferences - Java - Code Generation - Code and Comments |
| */ |
| package org.eclipse.jst.j2ee.internal.webservice.provider; |
| |
| import java.util.Collection; |
| |
| import org.eclipse.emf.common.notify.AdapterFactory; |
| import org.eclipse.jst.j2ee.webservice.wsclient.Webservice_clientPackage; |
| |
| |
| /** |
| * @author cbridgha |
| * |
| * To change the template for this generated type comment go to Window - Preferences - Java - Code |
| * Generation - Code and Comments |
| */ |
| public class ServiceRefEditorItemProvider extends ServiceRefItemProvider { |
| /** |
| * @param adapterFactory |
| */ |
| public ServiceRefEditorItemProvider(AdapterFactory adapterFactory) { |
| super(adapterFactory); |
| // TODO Auto-generated constructor stub |
| } |
| |
| /** |
| * This specifies how to implement {@link #getChildren}and |
| * {@link org.eclipse.emf.edit.command.AddCommand}and |
| * {@link org.eclipse.emf.edit.command.RemoveCommand}support in {@link #createCommand}. <!-- |
| * begin-user-doc --> <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public Collection getChildrenReferences(Object object) { |
| if (childrenReferences == null) { |
| super.getChildrenReferences(object); |
| childrenReferences.add(Webservice_clientPackage.eINSTANCE.getServiceRef_Handlers()); |
| } |
| return childrenReferences; |
| } |
| |
| /* |
| * (non-Javadoc) |
| * |
| * @see org.eclipse.emf.edit.provider.ItemProviderAdapter#hasChildren(java.lang.Object) |
| */ |
| public boolean hasChildren(Object arg0) { |
| return false; |
| } |
| } |