blob: b5949f5bf2f63b6c9e0c39f20c7b47052d421cb6 [file] [log] [blame]
/**
* <copyright>
*
* Copyright (c) 2002-2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM - Initial API and implementation
*
* </copyright>
*
* $Id: XSDAttributeGroupContentItemProvider.java,v 1.1 2004/03/06 18:00:11 marcelop Exp $
*/
package org.eclipse.xsd.provider;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.xsd.XSDAttributeGroupContent;
/**
* This is the item provider adpater for a {@link org.eclipse.xsd.XSDAttributeGroupContent} object.
*/
public class XSDAttributeGroupContentItemProvider
extends XSDItemProviderAdapter
implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
IItemLabelProvider,
IItemPropertySource
{
/**
* This constructs an instance from a factory and a notifier.
*/
public XSDAttributeGroupContentItemProvider(AdapterFactory adapterFactory)
{
super(adapterFactory);
}
/**
* This returns the property descriptors for the adapted class.
*/
public List getPropertyDescriptors(Object object)
{
if (itemPropertyDescriptors == null)
{
super.getPropertyDescriptors(object);
XSDAttributeGroupContent xsdAttributeGroupContent = ((XSDAttributeGroupContent)object);
}
return itemPropertyDescriptors;
}
/**
* This handles notification by calling {@link #fireNotifyChanged fireNotifyChanged}.
*/
public void notifyChanged(Notification msg)
{
super.notifyChanged(msg);
}
}