blob: ac698d342e6f1908e8f601da6197eb5d5e0fc03b [file] [log] [blame]
package org.eclipse.jst.jsf.common.internal.locator;
import java.util.concurrent.CopyOnWriteArrayList;
/**
* Default delegatable locator for composing locators.
*
* @author cbateman
*
* @param <LOCATORTYPE>
* @param <COMPOSITETYPE>
* @param <CONTEXTTYPE>
* @param <IDTYPE>
*/
public class DefaultComposingLocatorDelegate<LOCATORTYPE, COMPOSITETYPE, CONTEXTTYPE, IDTYPE> extends
AbstractLocator<COMPOSITETYPE, CONTEXTTYPE, IDTYPE>
{
/**
* @param id
* @param displayName
*/
public DefaultComposingLocatorDelegate(IDTYPE id, String displayName)
{
super(id, displayName);
}
/**
* @param id
* @param displayName
* @param noResultValue
* @param mutableListenerList
*/
public DefaultComposingLocatorDelegate(
IDTYPE id,
String displayName,
COMPOSITETYPE noResultValue,
CopyOnWriteArrayList<ILocatorChangeListener> mutableListenerList)
{
super(id, displayName, noResultValue, mutableListenerList);
}
@Override
protected COMPOSITETYPE doLocate(CONTEXTTYPE context)
{
throw new UnsupportedOperationException("This method is abstract and should not be called"); //$NON-NLS-1$
}
}