2024年3月29日

teamcenter 实现原生界面创建时添加按钮对属性进行操作与汇总界面的加按钮操作

该文被密码保护。 阅读全文

posted @ 2024-03-29 10:49 songsonglailou 阅读(1) 评论(0) 推荐(0)

teamcenter 事务的使用

摘要: TCComponentItemType tccomponentItemType = (TCComponentItemType) session.getTypeComponent("Item"); // 事务开始 int markPoint = tccomponentItemType.placeMar 阅读全文

posted @ 2024-03-29 10:26 songsonglailou 阅读(35) 评论(0) 推荐(0)

导出Excel时存在公式无法刷新的问题,org.apache.poi.ss.usermodel.Sheet

摘要: 问题描述: 赋值在第一个表格,然后这个表格本身有公式,在第二个表格引用第一个表格的内容。 此表格存在公式,但导出时没有刷新 解决方法: sheet.setForceFormulaRecalculation(true);//强制刷新公式 阅读全文

posted @ 2024-03-29 10:23 songsonglailou 阅读(66) 评论(0) 推荐(0)

teamcenter中 import com.teamcenter.rac.commonclient.date.DateComponent;的使用

摘要: 渲染: Date date = null; TCPropertyDescriptor descriptor= property.getDescriptor(); String propertyname = descriptor.getName(); if ("EOL_Date".equals(pro 阅读全文

posted @ 2024-03-29 10:12 songsonglailou 阅读(22) 评论(0) 推荐(0)

teamcenter 创建Item是带必填项实现

摘要: 其中itemUom 为度量单位 /** * 度量单位的获取 * @Title: getMeasureMap * @Description: TODO * @param session * @Author:wushigao * @CreateDate:2022 Feb 25 08:29:00 */ p 阅读全文

posted @ 2024-03-29 10:01 songsonglailou 阅读(139) 评论(0) 推荐(0)

解决import javax.swing.JTable;偶发性复制不了的问题

摘要: 解决方法: 重写JTable类的键盘监听事件。 /** * 20240313 add hzh */ table.addKeyListener(new KeyListener(){ @Override public void keyPressed(KeyEvent e) { //System.out. 阅读全文

posted @ 2024-03-29 09:54 songsonglailou 阅读(42) 评论(0) 推荐(0)

Teancenter 原生树的实现

摘要: 实现效果: 实现技术: 1、 new tc自己实现的TCTree类 2、new TCTreeNode 节点类 直接挂在树上面就可以实现把TC对象自动展开,其中s为TC任意对象都能展示出来 3、挂完节点必须对数进行更新,不然看不见树的结构 但是实现跟tc,myteamcenter上面原生的操作,所有的 阅读全文

posted @ 2024-03-29 09:32 songsonglailou 阅读(40) 评论(0) 推荐(0)

导航