|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
谁有开发过这个override Teamcenter commands 求教。。
+ ]3 ~, t+ u4 K6 e2 E) w: Xfile:///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"?>
0 F- I7 [8 d8 I% s9 s8 E) `<?eclipse version="3.4"?>6 H7 B! G' {, q2 D9 X. E
<plUGin>
) H" x. V2 e* Y% g* A) D
- b5 U% Z( `/ Y" B( C: m+ D <extension point="org.eclipse.ui.commands">' v( a! `0 V# h: N) l: M) E. M
% A# W- l0 h: ]# R! j
<category name="Sample Category" id="com.mycom.myitem.commands.category" />! t5 O* s: c5 U @
<command name="Sample Command" categoryId="com.mycom.myitem.commands.category"# Y1 c0 G1 N1 a; Z3 t; A$ M
id="com.mycom.myitem.commands.sampleCommand"/>
; R5 i+ X/ p; _* A
' f* V& n+ z B7 P. V </extension>
6 V, S( ?4 K) R
8 o1 q: h) I6 I; { <extension point="org.eclipse.ui.handlers">
* |8 _3 [; z; K8 b- J+ w <handler commandId="com.mycom.myitem.commands.sampleCommand" class="com.mycom.myitem.handlers.MyItemHandler"/>! ^# s! m. ~1 d, v6 g+ B! H
+ r. {% M+ ~ E9 n </extension>2 w# x! W8 w. G- U- q6 l
7 c* o9 b9 B: Z <extension point="org.eclipse.ui.handlers">6 u, S8 I- F* E% k
# n" z% N% P+ r) \; V6 m, n. h- k <handler commandId="com.teamcenter.rac.newItem" class="com.mycom.myitem.handlers.MyItemHandler">& E& \6 D; u7 ~ B2 p, D
<activeWhen>
8 N0 x9 x% ^6 M, T' T <iterate ifEmpty="false">2 _* Q! U3 W' U' j' |
<and>1 A: m; F) k' e' y1 j7 n, b7 ]
<adapt type="com.teamcenter.rac.kernel.TCComponent">+ r" E/ f& f5 ~; J+ w
<test property="com.teamcenter.rac.kernel.TCComponent.typeClass" value="Folder" />
* d" N+ v' ?# ? ` </adapt>
9 `& @0 H5 _- M. D, C$ s2 o7 r </and>
& h8 i& A: S( X ^& |$ X7 I; a7 V </iterate>% g8 M4 P# |/ N F3 @% w
</activeWhen>1 ?5 R/ O$ |% b8 O0 y# [) R' a) R
</handler>4 u: j0 P4 a7 c& H
</extension>1 q9 q* }4 o$ s4 `4 e1 u% u
2 @! X5 S' u1 l1 B( @ <extension point="org.eclipse.ui.bindings">4 e2 f A9 m+ s h. D3 ^
<key commandId="com.mycom.myitem.commands.sampleCommand"
% u" \0 q! o. b; t" e/ W8 A" V: ? contextId="org.eclipse.ui.contexts.window"
; Y3 _+ g# j2 N' i$ ?& \# m sequence="M1+6"
& M6 U9 q/ } Q, I3 |1 l schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
" X$ }( ]( O% p3 k7 `" a) U, y </key>& s7 T/ v" M# @# q9 ]7 p
</extension>
% t& |, G# |: l 2 @; _& b& Y+ Z' l
3 _; ?- E, _, ?, l0 y" Q; p
</plugin>
4 J: X4 U$ j1 O; n' L- m9 r% ~, f( _! m6 j$ U8 B; j
7 W) E, H3 z9 q% m0 K |
|