blob: 3e5f068f4bdf864ebcee5897497f98043a2d470c [file] [log] [blame]
package org.eclipse.jst.jsf.designtime.internal.view;
import org.eclipse.jst.jsf.designtime.context.DTFacesContext;
/**
* <p>Interface for a factory that creates view definition adapters.</p>
*
* @author cbateman
*
*/
public interface IViewDefnAdapterFactory
{
/**
* @param context
* @param viewId
* @return a view adapter for the viewid or null if this factory
* cannot produce an adapter for the underlying view definition.
*/
IViewDefnAdapter<?,?> createAdapter(DTFacesContext context, String viewId);
}