blob: a9f36838adc6addfc287a63d8809333a60687f90 [file] [log] [blame]
//------------------------------------------------------------------------------
// Copyright (c) 2005, 2006 IBM Corporation 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:
// IBM Corporation - initial implementation
//------------------------------------------------------------------------------
package org.eclipse.epf.library.edit;
import java.util.Collection;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.ecore.EStructuralFeature;
import com.ibm.uma.MethodConfiguration;
/**
* The interface that configuration calculator must implement to filter/provide
* the data to show a method configuration in Configuration Explorer.
*
* @author Phong Nguyen Le
* @since 1.0
*/
public interface IConfigurator extends IFilter, Adapter {
MethodConfiguration getMethodConfiguration();
void setMethodConfiguration(MethodConfiguration config);
/**
* If this method return a non-NULL, the item provider will use the returned
* collection as children in place of its default chilren.
*
* @param obj
* @param childFeature
* @return
*/
Collection getChildren(Object obj, EStructuralFeature childFeature);
}