/*    */ package com.connor.erp.BomChgTransferToERP;
/*    */ 
/*    */ 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 BomChgTransferHandler
/*    */   extends AbstractHandler
/*    */ {
/*    */   public Object execute(ExecutionEvent event) throws ExecutionException {
/* 23 */     AbstractAIFUIApplication application = 
/* 24 */       AIFUtility.getCurrentApplication();
/* 25 */     TCSession session = (TCSession)application.getSession();
/* 26 */     BomChgTransferCommand command = new BomChgTransferCommand(session, application);
/*    */     try {
/* 28 */       command.executeModal();
/* 29 */     } catch (Exception e) {
/* 30 */       e.printStackTrace();
/*    */     } 
/* 32 */     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\BomChgTransferToERP\BomChgTransferHandler.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.1.3
 */