blob: bd1ced37229b7604695e7ec13cc7eebc00b909c5 [file] [log] [blame]
/*
* Copyright (c) 2003, 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
*
* $Id: UML2AdapterFactoryContentProvider.java,v 1.2 2004/04/10 03:56:09 khussey Exp $
*/
package org.eclipse.uml2.presentation;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider;
import org.eclipse.ui.views.properties.IPropertySource;
/**
*
*/
public class UML2AdapterFactoryContentProvider extends AdapterFactoryContentProvider {
public UML2AdapterFactoryContentProvider(AdapterFactory adapterFactory) {
super(adapterFactory);
}
/*
* @see org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider#createPropertySource(java.lang.Object, org.eclipse.emf.edit.provider.IItemPropertySource)
*/
protected IPropertySource createPropertySource(Object object, IItemPropertySource itemPropertySource) {
return new UML2PropertySource(object, itemPropertySource);
}
}