package de.webman.duplication;
import java.util.*;
import java.sql.*;
import java.io.*;
import com.teamkonzept.web.*;
import com.teamkonzept.lib.*;
import com.teamkonzept.field.*;
import com.teamkonzept.field.db.*;
import com.teamkonzept.db.*;
import com.teamkonzept.webman.mainint.*;
import com.teamkonzept.publishing.markups.*;
import com.teamkonzept.webman.*;
import com.teamkonzept.webman.db.*;
import com.teamkonzept.webman.mainint.db.*;
import com.teamkonzept.webman.mainint.db.queries.*;
import com.teamkonzept.webman.mainint.events.*;
import de.webman.duplication.eventhandler.*;
/**
* Verteiler fr den Kontext DU
* @author $Author: alex $
* @version $Revision: 1.3 $
*/
public class DUEventDistributor extends CachedEventDistributor implements ParameterTypes, DatabaseDefaults, FrameConstants
{
public DUEventDistributor()
{
addEventHandler(DUStartHandler.getInstance());
addEventHandler(DUSaveParamsInDBHandler.getInstance());
addEventHandler(DUDuplicateHandler.getInstance());
addEventHandler(DUDuplicateFromDBHandler.getInstance());
addEventHandler(DUConfirmHandler.getInstance());
addEventHandler(DUConfirmFromDBHandler.getInstance());
addEventHandler(DUStartManHandler.getInstance());
addEventHandler(DUStartDBHandler.getInstance());
addEventHandler(DUChooseStartHandler.getInstance());
addEventHandler(DUChooseOpenDirHandler.getInstance());
addEventHandler(STChooseOpenDirHandler.getInstance());
addEventHandler(DUMultiDuplicateHandler.getInstance());
addEventHandler(DUAdvancedHandler.getInstance());
}
public void handleEvent(TKEvent evt) throws com.teamkonzept.lib.TKException
{
super.handleEvent(evt);
}
public boolean isHandler(TKEvent evt)
{
return evt.getName().startsWith("DU");
}
}
|