|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
谁有开发过这个override Teamcenter commands 求教。。
6 h$ V" T, _7 Cfile:///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"?>3 R# y: F8 o) ~6 ?. p8 z
<?eclipse version="3.4"?># t) e2 \: q+ ?$ C2 A2 m2 t
<plUGin>( X9 U" P5 i( S/ Q
! f$ }) V; T! H( ~) t, W$ }" L <extension point="org.eclipse.ui.commands">8 Z0 X9 v" |$ E, J: Y1 C+ v% o7 t
" z! } [% G# e; w/ k& ^
<category name="Sample Category" id="com.mycom.myitem.commands.category" />
3 _0 c1 m3 O/ E. Q$ c5 Z# C <command name="Sample Command" categoryId="com.mycom.myitem.commands.category"
: N. H8 c+ u4 q7 Z- T id="com.mycom.myitem.commands.sampleCommand"/>3 R* S' u; u5 o. b7 I+ [
$ E- {# \' i4 c% q$ f </extension>
; Q- S8 @, l4 S6 @7 p# K
" ^- q; m+ [4 N7 ^ <extension point="org.eclipse.ui.handlers">
& q s# T: ~. |- y/ ~ <handler commandId="com.mycom.myitem.commands.sampleCommand" class="com.mycom.myitem.handlers.MyItemHandler"/>
c _8 Q# g6 R1 X
! s& }5 I2 u% E6 I' ~ </extension>
$ J1 k! F O- h$ O4 }$ B0 Y" S9 n) O. Y5 M
<extension point="org.eclipse.ui.handlers">6 t$ ]: G! ]# C3 _' [% g7 h1 c
: W6 O* W& U) d/ L <handler commandId="com.teamcenter.rac.newItem" class="com.mycom.myitem.handlers.MyItemHandler">
* V' G" A/ M/ B6 d <activeWhen>
G! D; \- Q2 ~" q <iterate ifEmpty="false">
1 f5 a( j2 p7 C+ f0 j, Y <and>
P8 e3 `! @, D/ F5 Q3 U6 f <adapt type="com.teamcenter.rac.kernel.TCComponent">* D9 W4 g! V- G! d5 ~4 o
<test property="com.teamcenter.rac.kernel.TCComponent.typeClass" value="Folder" />
& {- G( B3 ?2 E6 [' F </adapt>9 l6 t: s( D3 A# r/ p" X% I1 R
</and>, n7 n& B( z7 j
</iterate>
" J$ N3 L3 ^# E+ p+ C; {( X6 I </activeWhen>
8 x q: `1 ~2 r& q& }- U </handler>
" `2 r" w* C( v5 C </extension>' q0 I+ f$ ]( H# O
O k A2 y8 f7 _% [/ @: e <extension point="org.eclipse.ui.bindings">
% N6 Q" I9 O9 R) u! J <key commandId="com.mycom.myitem.commands.sampleCommand"
N3 d0 @' W5 h1 Q& N( M contextId="org.eclipse.ui.contexts.window"7 V3 S! m8 U' Y/ c
sequence="M1+6"* ?/ L! X- r$ S" k0 y, a
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">. L" A9 P8 N% c3 n' h
</key>
4 f( ?' Z" I1 ~% ~! |. \6 e% ^* r </extension>1 w6 d' X3 E$ c! \) b& Y$ k
& @0 F; @9 I- C( v2 M8 J, _8 E, V
4 ~( t7 r f4 y, @* Z</plugin>( q2 G) o. s7 e8 x" x( M0 A$ B( n
: P4 Y$ K: I) _0 c- [# H7 c8 T9 f8 V: k( x# D
|
|