|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
谁有开发过这个override Teamcenter commands 求教。。2 j! \5 R0 m( Y
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"?>
; I6 O# p7 o1 ~! G) _) \<?eclipse version="3.4"?>
" g7 c. m" }5 b7 b5 e% r8 d<plUGin>+ ]- ~9 j& V4 _7 p7 b/ }# Y+ Z% W
( C% _" @* D+ ] ?6 U <extension point="org.eclipse.ui.commands">$ M$ ^" M5 s, J4 U8 ]3 @# U3 U W1 ~! p
) x' `+ {, ?% P5 }/ r <category name="Sample Category" id="com.mycom.myitem.commands.category" />2 K) I% u& U4 F+ K7 Y# J0 X0 }* ?( ^
<command name="Sample Command" categoryId="com.mycom.myitem.commands.category"
( v1 ~: r( C" f4 j# O id="com.mycom.myitem.commands.sampleCommand"/>
/ y4 {+ t, X" \! j9 V3 p, Y! ^ $ H. J1 H% u+ I& j% G f
</extension>
* W( A; H$ s, O2 d1 Q. ~. x2 H1 O. f& y' Q' v4 |1 P6 p V, ~
<extension point="org.eclipse.ui.handlers">$ c/ l: H7 R, x
<handler commandId="com.mycom.myitem.commands.sampleCommand" class="com.mycom.myitem.handlers.MyItemHandler"/>
+ Q9 V& w, k/ Q! @: G
2 h% A! z/ M3 k ?4 ]( ~ </extension>
I9 {$ `5 r; X* S L$ w" l6 M' L9 V3 ]2 ^$ m) e) x- T
<extension point="org.eclipse.ui.handlers">
, M# N3 q0 T& A* V " W! V! k3 I: `! Y: T' s
<handler commandId="com.teamcenter.rac.newItem" class="com.mycom.myitem.handlers.MyItemHandler">6 w! B) G+ G; G2 X1 O1 w- t
<activeWhen>
' G+ l4 A% o# M: {/ i* | <iterate ifEmpty="false">
3 C- h; s; X- ? <and>
+ l8 O$ r% F' O8 j4 ] <adapt type="com.teamcenter.rac.kernel.TCComponent">5 Y$ ^$ o) r" @4 u$ V5 e# T8 K/ C4 B
<test property="com.teamcenter.rac.kernel.TCComponent.typeClass" value="Folder" />
. r% F( ~% z0 h </adapt>- a9 A/ H" W( i$ J; J
</and>$ D( E5 V$ z% L, V. M% M1 r
</iterate>
* \! t8 v: \& T7 _% z; A </activeWhen>0 e! F, {+ ^2 B5 A6 c; u2 L
</handler>
! t4 ^% G! N* v. i' M$ R) a </extension>' m& r i' P l( W8 F
: P! m" A4 i# b; c. T1 e" u2 M7 A1 q
<extension point="org.eclipse.ui.bindings">9 A3 B+ p, l( ^. t
<key commandId="com.mycom.myitem.commands.sampleCommand"
9 P4 k4 r" W8 E/ t contextId="org.eclipse.ui.contexts.window"9 ]7 m( o; E9 }6 j
sequence="M1+6"! z( b2 B% w& X. T( v
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
, U3 a# g- C2 T0 M3 H$ \% j5 J) s. N </key>
4 L$ C9 o( V; `( u </extension>6 C3 }% F0 _4 `0 E7 D+ N3 }
, Q2 z! n6 {9 o2 o5 u u3 i3 v5 Z4 [5 X+ A' ?
</plugin>' e2 Z5 w' C r0 q
/ _! ` X% N8 ]1 t( Y" g, h& Z1 C+ z" n
|
|