|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
谁有开发过这个override Teamcenter commands 求教。。; {& C) \/ G- Q! t
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"?>' t3 K1 Y) ^, P) q3 e
<?eclipse version="3.4"?>
' z* F4 J8 @3 |+ i: e<plUGin>. ]2 @ V( N1 O( q) F3 z2 N
- g- P& |8 ?/ k4 ~1 P5 H* w <extension point="org.eclipse.ui.commands">
9 M: [ K5 v& M1 U 7 v+ I* B- q0 W( i4 i
<category name="Sample Category" id="com.mycom.myitem.commands.category" />! e8 H, H, x" i+ t8 k. q. S" G
<command name="Sample Command" categoryId="com.mycom.myitem.commands.category"; b* U' I3 z) B& T; U8 N
id="com.mycom.myitem.commands.sampleCommand"/>
( {- [6 O# K* M0 X" V
4 S) c$ y* ^! E) i4 X7 h1 c2 e </extension>
! E8 G9 D! H8 V" \0 n7 S! ~# U# o. @8 n6 o+ v* ~3 }
<extension point="org.eclipse.ui.handlers">7 v0 T9 Z6 ?$ f2 i$ n
<handler commandId="com.mycom.myitem.commands.sampleCommand" class="com.mycom.myitem.handlers.MyItemHandler"/># J' }& Z7 c: ^# l6 s [
# D5 F( \/ S" Z( Y
</extension># E% ^' \4 n* \1 K$ t# V+ C
% K' V* ]: x$ o! f% H
<extension point="org.eclipse.ui.handlers">
4 N" ~ o# C" ^% |% ]" ?
( u1 H5 y% ?+ i3 i1 r3 \ <handler commandId="com.teamcenter.rac.newItem" class="com.mycom.myitem.handlers.MyItemHandler">
" p j1 B8 u7 E9 B! N: s <activeWhen>! W2 R: P0 G8 L% J: Q
<iterate ifEmpty="false">
7 B! m' M! p! b' i# A <and>; w8 E, R* q; @2 n' `: c. w
<adapt type="com.teamcenter.rac.kernel.TCComponent">
7 w" d6 G2 P5 g F Y. N0 n <test property="com.teamcenter.rac.kernel.TCComponent.typeClass" value="Folder" />
9 a# n, X8 `2 L1 m) O </adapt>
) Z& Z4 u! Q" s: L0 z8 y9 K* N </and>" I* I/ l5 ?0 G" J8 T& E
</iterate>" ], ], x* Y: n4 ~
</activeWhen>
. ? c% H% @- ? Z </handler>
8 Z2 O- h* ^( F% g- U- D# Z# d </extension>% e5 F1 ^& c4 }. T6 ]0 l
8 t5 U5 K" C" \" _# l$ i <extension point="org.eclipse.ui.bindings">
6 @4 D* @- l9 U6 ~, x3 F) X' L: _ <key commandId="com.mycom.myitem.commands.sampleCommand"
# i7 [2 \( J5 {# h contextId="org.eclipse.ui.contexts.window"4 ^$ P+ s" p; w) f8 S' k, M
sequence="M1+6"' Q5 t: w! P8 X/ q' F& k! I
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">8 }) I8 f5 q3 ~5 N2 E
</key>
7 K9 Y% Y' N2 f! u: @ </extension>
& d# l. K; E& L
! j4 _. B: {+ {$ o T L% k5 R
+ Y( [0 ?- ]: s</plugin>- U- {, j* {& o
( i7 e% L, G1 A7 C
# v7 I( v" Q) ]4 M d, A
|
|