/*    */ package com.connor.erp.BomAddTransferToERP;
/*    */ 
/*    */ import com.teamcenter.rac.aif.AbstractAIFUIApplication;
/*    */ import com.teamcenter.rac.aifrcp.AIFUtility;
/*    */ import com.teamcenter.rac.kernel.TCSession;
/*    */ import org.eclipse.core.commands.AbstractHandler;
/*    */ import org.eclipse.core.commands.ExecutionEvent;
/*    */ import org.eclipse.core.commands.ExecutionException;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class BomAddTransferHandler
/*    */   extends AbstractHandler
/*    */ {
/*    */   public Object execute(ExecutionEvent event) throws ExecutionException {
/* 23 */     AbstractAIFUIApplication application = AIFUtility.getCurrentApplication();
/* 24 */     TCSession session = (TCSession)application.getSession();
/* 25 */     BomAddTransferCommand command = new BomAddTransferCommand(session, application);
/*    */     try {
/* 27 */       command.executeModal();
/* 28 */     } catch (Exception e) {
/* 29 */       e.printStackTrace();
/*    */     } 
/* 31 */     return null;
/*    */   }
/*    */ }


/* Location:              C:\Users\cyh\Documents\WeChat Files\wxid_ztg4pdvd5bjn12\FileStorage\File\2022-03\com.origin.erpintegration_1.0.0.jar!\com\origin\erp\BomAddTransferToERP\BomAddTransferHandler.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.1.3
 */