blob: 6dabdb16246435e8f66dc77807e0d4bc2b9feb69 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008, 2012 Obeo.
* 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:
* Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.acceleo.model.mtl.provider;
import org.eclipse.emf.common.notify.AdapterFactory;
/**
* Specializes the MacroInvocationItemProvider implementation.
*
* @author <a href="mailto:yvan.lussaud@obeo.fr">Yvan Lussaud</a>
*/
public class MacroInvocationItemProviderSpec extends MacroInvocationItemProvider {
/**
* Constructor.
*
* @param adapterFactory
* the adapter factory
*/
public MacroInvocationItemProviderSpec(AdapterFactory adapterFactory) {
super(adapterFactory);
}
/**
* {@inheritDoc}
*
* @see org.eclipse.acceleo.model.mtl.provider.MacroInvocationItemProvider#getText(java.lang.Object)
*/
@Override
public String getText(Object object) {
return object.toString();
}
}