|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
谁有开发过这个override Teamcenter commands 求教。。/ q- [, [3 @2 H; A: ?- ]
file:///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"?>' _: K1 s4 C4 I# w$ b3 J
<?eclipse version="3.4"?>
z. Q. l5 z: s$ P* P5 \# ~<plUGin>9 M6 v/ {* V8 ~" C0 M+ W
: {! [3 j# `7 P( t! Z
<extension point="org.eclipse.ui.commands">
! }( Z n9 b' L % n( J) f, c2 s; Y* u7 ^+ _
<category name="Sample Category" id="com.mycom.myitem.commands.category" />) W3 a9 v+ L7 `9 e @& C
<command name="Sample Command" categoryId="com.mycom.myitem.commands.category"; Q/ j6 a) J- Q& B h1 t" \( g
id="com.mycom.myitem.commands.sampleCommand"/>' A% p, p% i' H" T7 {5 d
9 Y7 v6 ^, U1 k, e
</extension>
/ G1 K0 O7 f6 F+ _1 W+ W* h" N8 x# U0 N1 r3 t8 J3 i
<extension point="org.eclipse.ui.handlers">: u7 o1 l9 g! p" ~! U/ M; W
<handler commandId="com.mycom.myitem.commands.sampleCommand" class="com.mycom.myitem.handlers.MyItemHandler"/>" G7 w# b) Y. G5 ]7 H* I
/ t4 Y! _* w& l( x- r2 l4 g
</extension>
! ^6 o% z" {1 | V# g' D
$ }- A7 |& i1 b, }4 I+ ]" S <extension point="org.eclipse.ui.handlers">
: ]5 h4 N4 [8 ]; z; J* B! V G
$ M: j/ m" `1 f <handler commandId="com.teamcenter.rac.newItem" class="com.mycom.myitem.handlers.MyItemHandler">
+ i$ H" F% _ s7 j( U <activeWhen>
9 ~) A& K4 t" V% F" Y- G& c } <iterate ifEmpty="false">
- |1 Q8 S+ L1 b9 \9 V# H' c <and>/ D @) H, H6 a8 ?4 p9 {
<adapt type="com.teamcenter.rac.kernel.TCComponent">
0 E6 V0 Y: o& x8 }# n/ K; _2 @, G4 Q9 _ <test property="com.teamcenter.rac.kernel.TCComponent.typeClass" value="Folder" />
1 K+ k* @0 s ~* k; N </adapt>, G6 H+ O; ^6 l4 ^/ }" ]7 a8 v4 F' w
</and>% x* r- J5 j6 K. c, G
</iterate>
3 R/ A6 X" M& o" g </activeWhen>9 Y& d4 L/ x; @ e
</handler>; b' i6 S' l4 Z. f
</extension>: N" z% X, T; `
8 q4 w8 H- b3 B$ S& l
<extension point="org.eclipse.ui.bindings">8 ]1 e7 a' h' s- L) r6 k5 W! e
<key commandId="com.mycom.myitem.commands.sampleCommand"6 A7 B) W9 E/ @
contextId="org.eclipse.ui.contexts.window"
/ r. W1 F3 s2 t" l- G sequence="M1+6"
. Z5 I/ S! Y+ }- i1 J+ T schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
, F# O! I% }: i) N2 ]* _ </key>, U& K: ]* s5 E
</extension>- C3 x( P# Q% v2 P# t3 m) c
$ h1 h ]/ ^5 @
8 Q8 z) O' _0 s</plugin>3 d% H( t- `3 _5 q3 Y* i s
' R1 A; C' Q) X2 [. f/ F6 K6 E. ?3 p* R, o+ J/ P" s
|
|