关键词不能为空

当前您在: 主页 > 英语 >

marketplaceWindchill面试资料总结

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-01-21 05:20
tags:

maleficent-marketplace

2021年1月21日发(作者:problem)
Windchill
面试资料

1


UI
部分:

1.1


navigation
(菜单)

一级菜单:

:

main navigation

>

China

type=

navigation

/>

:


navigation

class=
””
resourceBudle=

tionRB

>

China

renderType=
”GENERAL




二级菜单:

:

China

>

XX

type=

China

>

:
<
objecttype name=

China

class=
””
>


XX

>



windowtype=

page

>




三级菜单
(,
,
)


:




type=



















































































































下拉菜单:

:












type=









type=








type=









type=


1.2


button
(按钮)





创建按钮是一个十分简单的过程,例如要在如图所示的部分创建一个按钮:


第一步:在导航中输入
&jcaDebug=1

第二步:查看
debug
之后发现此工具栏的
Action Model Name=product list

第四步:点击“定制”

“工具”后出现:


第五步:在
product list
点击“搜索”后出现:


第六步:点击“
”后出现:


第七步:查看

复制









































然后添加

第八步:在

中添加





name=
class=
resourceBundle=






















class=
method=
























class=
method=














name=
id=
preloadWizardPage=







































class=
method=









<br> <br> <br> <br> <br>创建产品<br> <br> <br> <br> <br>








创建产品
























netmarkets/images/arrow_















第九步:
reload xml

java onServiceHelper



1.3


页面客制化
Tree


写两个方法:
public List getRootNodes() throws WTException














public Map getNodes(List list) throws WTException
getRootNodes()
方法如下

public List getRootNodes() throws WTException {





NmCommandBean
nmcommandbean
getModelContext().getNmCommandBean();


if (nmcommandbean == null) {



return null;


}


//
获取上下文的一个对象



NmOid nmoid = maryOid();
=


















































}
WTPart wtpart;
if (nmoid == null) {










}
if (wtpart == null) {




}

return null;
configSpec = ConfigHelper.
service
.getConfigSpecFor(wtpart);
//
返回一个一个指定的
wtpart

list
return Collections.
singletonList
(wtpart);
} else {
wtpart =
getGolfCart
();
//< br>确定这个对象
nmoid
是否是这个类(
WTPart
)提供的实例< br>
if (!()) {



}
//
获得指向的对象

wtpart = (WTPart) ();

// The following 2 lines are one line
throw
new
ClassCastException((new
StringBuilder()).append(



part,
but
was:
} else {

getNodes()
方法如下

public
Map getNodes(List list)
throws
WTException {




































if
(
configSpec
==
null
) {

}
HashMap hashmap =
new
HashMap();
Persistable p[][][] = WTPartHelper.
service
.getUsesWTParts(


new
WTArrayList(list),
configSpec
);
ListIterator listiterator = erator();
do
{










if
(!t()) {

}
WTPart wtpart = (WTPart) ();
table p1[][] = p[usIndex()];
if
(p1 !=
null
) {




ArrayList arraylist =
new
ArrayList(p1.
length
);
(wtpart, arraylist);
table p2[][] = p1;
int
i = p2.
length
;
break
;
configSpec
= getDefaultConfigSpec();



















}













}
int
j = 0;
while
(j < i) {



}
table p3[] = p2[j];
(p3[1]);
j++;
}
while
(
true
);
return
hashmap;
上面两个方法 大概是讲获得上下文对象的节点和子节点,具体意思还没弄懂,懂的麻烦告诉
一下。



增加自定义
.xconf
文件存储配置信息,如下

maleficent-marketplace


maleficent-marketplace


maleficent-marketplace


maleficent-marketplace


maleficent-marketplace


maleficent-marketplace


maleficent-marketplace


maleficent-marketplace



本文更新与2021-01-21 05:20,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/542609.html

Windchill面试资料总结的相关文章