|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
谁有开发过这个override Teamcenter commands 求教。。
6 A( Z/ R. ~- C! Z' z4 z, x. @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"?>) e6 Y+ w+ x- A
<?eclipse version="3.4"?>
6 I; o9 Z8 u* C* [) x# K: D<plUGin>
' F0 x; \& q, J) u2 o. ^, B
3 S. ~2 k+ _: y5 H* [7 l" v <extension point="org.eclipse.ui.commands">5 C5 t# Q6 b. H2 ~ w, `8 J" V
( e0 k3 j- W' B
<category name="Sample Category" id="com.mycom.myitem.commands.category" />
) Y+ t7 u A; g9 {( X( z <command name="Sample Command" categoryId="com.mycom.myitem.commands.category"% e3 @. l- X4 `5 R" _# p8 x
id="com.mycom.myitem.commands.sampleCommand"/>
1 v: \/ ?3 T* y! s- J7 @
9 u2 l6 K( q6 a; H0 Z* w+ p8 e </extension>" P- ^3 |% J+ P# a7 V6 s
" }" t' R& R* k# P" X
<extension point="org.eclipse.ui.handlers">* ]/ q6 R/ B# K- G
<handler commandId="com.mycom.myitem.commands.sampleCommand" class="com.mycom.myitem.handlers.MyItemHandler"/>
g/ W) ~" b3 O. A7 n' F. ]* S
4 P% w1 z+ a( U8 p4 q: \- R9 H </extension>" H& \ U6 Y3 }) Q, h$ A. E) u
' b# f' R. q) V& c8 D <extension point="org.eclipse.ui.handlers">9 P7 B6 K W9 w: L/ q
" U( A7 t" x9 A( { <handler commandId="com.teamcenter.rac.newItem" class="com.mycom.myitem.handlers.MyItemHandler">
9 E8 k' ?4 j7 P" |0 n <activeWhen>6 T* {5 | L: {7 Z7 f& ]
<iterate ifEmpty="false">
( h$ u6 y- n0 ~ O <and>& ^! O) I9 [: p2 [
<adapt type="com.teamcenter.rac.kernel.TCComponent">6 |6 R- y9 i" X) `: s# t. t* `
<test property="com.teamcenter.rac.kernel.TCComponent.typeClass" value="Folder" /> 3 b4 X( U6 ]& x: x/ Y# \ \1 N
</adapt>7 Z4 f; _7 x8 Y1 p- D
</and>4 D/ W$ o# E. p c. Z) K
</iterate>
4 w# K- H/ i* S0 v0 b; R6 R2 O </activeWhen>' L( G, t. q. ]2 e9 f
</handler>
6 r) A9 R% F7 D: m% O; J/ j/ d </extension>5 b7 u, P B1 v# X. U0 b6 r
# k$ O6 [; K/ _+ `! a <extension point="org.eclipse.ui.bindings">
9 k# `9 \- H& n8 D; M* C* g <key commandId="com.mycom.myitem.commands.sampleCommand"
+ D, Y! O. Z1 |- ] contextId="org.eclipse.ui.contexts.window"; T$ }: s/ L3 f( C
sequence="M1+6"- Q0 B. _+ l9 ^* e
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">) Z q ]. V8 ~+ R
</key>% Y8 K! H; `: Y) a& ]6 E
</extension>
; |9 v6 j K/ {# n0 j' O+ g
7 N1 k2 U9 y/ N$ k, W, [
. s: h" R b3 s6 T</plugin>
# H; g6 Q {- B1 S/ I
& o- k" E. ?/ W2 l' a( O: B. E$ d3 h% o7 Q: r
|
|