package com.teamcenter.rac.workflow.commands.dotask;

import java.awt.Frame;

//import com.teamcenter.rac.workflow.commands.digitalsign
import com.teamcenter.rac.aif.AIFDesktop;
import com.teamcenter.rac.aif.AbstractAIFDialog;
import com.teamcenter.rac.aif.kernel.InterfaceAIFComponent;
import com.teamcenter.rac.kernel.TCComponentActionHandler;
import com.teamcenter.rac.kernel.TCComponentTask;
import com.teamcenter.rac.kernel.TCException;
import com.teamcenter.rac.util.MessageBox;
import com.teamcenter.rac.workflow.commands.newprocess.NewProcessCommand;
import com.teamcenter.rac.workflow.commands.newprocess.NewProcessDialog;

public class TestDoTaskDialog extends DoTaskDialog{

	public TestDoTaskDialog(Frame arg0, InterfaceAIFComponent arg1) {
		super(arg0, arg1);
		// TODO Auto-generated constructor stub
	}

//	public TestDoTaskDialog(NewProcessCommand arg0) {
//		super(arg0);
//		
//		System.out.println("NewProcessDialog");
//		
//		// TODO Auto-generated constructor stub
//	}

//	public TestDoTaskDialog(InterfaceAIFComponent paramInterfaceAIFComponent) {
//		
//		super(paramInterfaceAIFComponent);
//		// TODO Auto-generated constructor stub
//		TCComponentTask paramTCComponentTask = (TCComponentTask) paramInterfaceAIFComponent;
//		try {
//			TCComponentActionHandler[] actionHandlers = paramTCComponentTask.getActionHandlers(4);
//			MessageBox.post("test","1",2);
//			System.out.println(actionHandlers.length + "actionHandlers");
//			for(TCComponentActionHandler actionHandler:actionHandlers) {
//				String name = actionHandler.getName();
//				System.out.println("actionHandler"+name);
//			}
//			
//		} catch (TCException e) {
//			// TODO Auto-generated catch block
//			e.printStackTrace();
//		}
//		initDialog();
//	}

//	public TestDoTaskDialog(AIFDesktop paramAIFDesktop, AbstractAIFDialog paramAbstractAIFDialog,
//			TCComponentTask paramTCComponentTask) {
//		
//		super(paramAIFDesktop, paramAbstractAIFDialog, paramTCComponentTask);
//		
//		try {
//			TCComponentActionHandler[] actionHandlers = paramTCComponentTask.getActionHandlers(4);
//			
//			for(TCComponentActionHandler actionHandler:actionHandlers) {
//				String name = actionHandler.getName();
//				System.out.println("actionHandler"+name);
//			}
//			
//		} catch (TCException e) {
//			// TODO Auto-generated catch block
//			e.printStackTrace();
//		}
//		
////		DoTaskPanel.okButton.setEnabled(true);
////		 initPanel();
//		// TODO Auto-generated constructor stub
//	}

//	public TestDoTaskDialog(Frame paramFrame, InterfaceAIFComponent paramInterfaceAIFComponent) {
//		super(paramFrame, paramInterfaceAIFComponent);
//		
//		
////		this.registry.getString("command.TITLE");
////		parent.
//		System.out.println("getDotaskDialog");
//		
//		this
//		
//		// TODO Auto-generated constructor stub
//	}

}
