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.
23 lines
652 B
23 lines
652 B
package cn.net.connor.plm.batchRevision;
|
|
|
|
import org.eclipse.core.commands.AbstractHandler;
|
|
import org.eclipse.core.commands.ExecutionEvent;
|
|
import org.eclipse.core.commands.ExecutionException;
|
|
|
|
import com.teamcenter.rac.aif.AbstractAIFApplication;
|
|
import com.teamcenter.rac.aifrcp.AIFUtility;
|
|
|
|
public class BatchRevisionHandler extends AbstractHandler {
|
|
|
|
@Override
|
|
public Object execute(ExecutionEvent arg0) throws ExecutionException {
|
|
AbstractAIFApplication application = AIFUtility.getCurrentApplication();
|
|
BatchRevisionAction action = new BatchRevisionAction(application, null, null);
|
|
|
|
new Thread(action).start();
|
|
|
|
return null;
|
|
}
|
|
|
|
}
|