blob: 36bb45d07d877cd1a737c85c87c8ebf63fb35030 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012 Bundesinstitut für Risikobewertung 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:
* Bundesinstitut für Risikobewertung - initial API and implementation
*******************************************************************************/
package org.eclipse.stem.model.codegen.descriptor;
import java.util.Arrays;
import org.eclipse.core.runtime.IConfigurationElement;
public class UnknownElementDescriptor
{
protected IConfigurationElement element;
public UnknownElementDescriptor(IConfigurationElement element)
{
super();
this.element = element;
}
public IConfigurationElement getConfigurationElement()
{
return element;
}
@Override
public String toString()
{
return "UnknownElementDescriptor [name=" + element.getName()
+ ", attributes=" + Arrays.asList(element.getAttributeNames()) + "]";
}
}