blob: f9d1db6c67f594f8974a177685b77631fe4909bc [file] [log] [blame]
/***********************************************************************************************************************
* Copyright (c) 2010 Attensity Europe GmbH. 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
**********************************************************************************************************************/
package org.eclipse.smila.processing.designer.ui.properties;
import java.util.List;
import org.eclipse.bpel.ui.details.providers.AbstractContentProvider;
import org.eclipse.smila.processing.designer.model.processor.Configuration;
/**
* Offers the entries of the pipelet configuration table.
*
* Copyright (c) 2010 Attensity Europe GmbH
*
* @author Tobias Liefke
*/
public class PipeletConfigurationProvider extends AbstractContentProvider {
/**
* @see AbstractContentProvider#collectElements(Object, List)
*/
@Override
public void collectElements(Object input, List<Object> list) {
if (input instanceof Configuration) {
Configuration configuration = (Configuration) input;
if (configuration != null) {
list.addAll(configuration.getValues());
}
list.add("");
}
}
}