You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
768 B
29 lines
768 B
package com.connor.kwc.bomBatchChange;
|
|
|
|
import java.util.concurrent.ExecutionException;
|
|
|
|
import org.eclipse.core.commands.ExecutionEvent;
|
|
|
|
import com.teamcenter.rac.aif.AbstractAIFApplication;
|
|
import com.teamcenter.rac.aifrcp.AIFUtility;
|
|
import org.eclipse.core.commands.AbstractHandler;
|
|
|
|
/**
|
|
*
|
|
* @ClassName: bomBatchChangeHandler
|
|
* @Description: 移植功能 BOM批量变更
|
|
* @author hcj
|
|
* @date 2024年1月5日
|
|
*
|
|
*/
|
|
public class bomBatchChangeHandler extends AbstractHandler {
|
|
@Override
|
|
public Object execute(ExecutionEvent arg0) {
|
|
// TODO Auto-generated method stub
|
|
AbstractAIFApplication app = AIFUtility.getCurrentApplication();
|
|
BomDialog dialog = new BomDialog(app);
|
|
new Thread(dialog).start();
|
|
return null;
|
|
}
|
|
}
|