|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
谁有开发过这个override Teamcenter commands 求教。。
/ e: ?! V* O9 M3 D+ ifile:///C:\Users\Admin\AppData\Roaming\Tencent\Users\1092333185\QQ\WinTemp\RichOle\){}F_KHAUSEAB9(NXBGE2$5.pngfile:///C:\Users\Admin\AppData\Roaming\Tencent\Users\1092333185\QQ\WinTemp\RichOle\){}F_KHAUSEAB9(NXBGE2$5.png<?xml version="1.0" encoding="UTF-8"?>
: I) ]2 \. F- x5 R, |: d<?eclipse version="3.4"?>, \0 J2 O) z: w4 H$ L) K
<plUGin>* A* b G2 D7 {$ l+ e8 ]
; [2 X5 O0 Y# A; V9 d; n- ^
<extension point="org.eclipse.ui.commands">+ `/ p% \% L8 s' q
/ ^$ ~/ c( k' X P <category name="Sample Category" id="com.mycom.myitem.commands.category" />
0 t0 @) e0 {) F# z1 B <command name="Sample Command" categoryId="com.mycom.myitem.commands.category"
1 N& q& j: h4 L id="com.mycom.myitem.commands.sampleCommand"/>
( L6 k) G$ P9 c( X0 ~! ] " s- q; u; a; P/ j3 F: X
</extension> J: {1 G& W6 [) z" p! n
7 H% ^" w$ y4 u2 U$ d
<extension point="org.eclipse.ui.handlers">/ f! J6 |5 { w+ Z
<handler commandId="com.mycom.myitem.commands.sampleCommand" class="com.mycom.myitem.handlers.MyItemHandler"/>
4 A8 V$ H, W: `- ^! G. w/ L, _# P7 h0 M. b$ B4 ?
</extension>
$ Z) ~. t$ P& u7 a' I
4 d& i4 J$ W8 ]; P- F8 Q <extension point="org.eclipse.ui.handlers">
\6 p) Q: o1 \
! N# \0 e4 t" v4 ^0 L' J <handler commandId="com.teamcenter.rac.newItem" class="com.mycom.myitem.handlers.MyItemHandler">6 [+ ]" A$ b/ R h1 V. @; ^
<activeWhen>7 R1 w9 T- |9 Z1 T) s
<iterate ifEmpty="false">
. \& e6 W0 L( [) D w <and>% O9 m+ n; }" U6 J, X$ T' I/ R
<adapt type="com.teamcenter.rac.kernel.TCComponent">0 F" h9 K, R2 ]. }; Z3 R
<test property="com.teamcenter.rac.kernel.TCComponent.typeClass" value="Folder" />
5 W1 Z0 X' ~$ Y$ E </adapt>
" `2 h5 D5 f; O$ R3 e( a# I </and>
; D" q* x" J% y- e c </iterate># V/ U' u e, j0 x: [4 M
</activeWhen>2 h& R+ n8 ~% |" p `$ C' s- K
</handler>+ b) m+ w+ T- r0 e
</extension>
+ _0 \9 }: m" ?1 j
! B3 I! H+ O+ e, b; B2 Q, Z) j <extension point="org.eclipse.ui.bindings">* y" f$ [4 i5 R( X1 L0 B8 D
<key commandId="com.mycom.myitem.commands.sampleCommand"; \/ I d/ K4 J1 j9 H
contextId="org.eclipse.ui.contexts.window"
' E0 s" a i# |& g0 J% ~2 g6 T sequence="M1+6") w k4 Y1 ^& h0 h/ l8 ]
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">" u6 t1 S) W' u, c8 {0 H7 L
</key>4 [5 [' e- ^" J r2 l& b
</extension>) R. S- M" ~6 ~ j; n$ w1 J
) t7 c- R" e; V! P
( X1 Y" W d: y' u4 ~</plugin>5 C* J! q& u0 }- m% w
. r* v9 e9 O/ C0 _, G3 l( Q1 ]
! T, n* q4 R. f) I4 ^
|
|