|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
谁有开发过这个override Teamcenter commands 求教。。6 S0 _0 y- p- m ~, R2 M9 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"?>
5 }- f4 |) G6 ~0 H<?eclipse version="3.4"?>
7 F2 _% l9 y& f<plUGin>
: `$ R7 `, C8 R* v/ I1 z% h
: Z+ u8 o- v- ~3 F/ f <extension point="org.eclipse.ui.commands">2 A2 O! \+ N# N% a" ]9 q1 @* R
' ^& I ~0 f+ Y& F" V <category name="Sample Category" id="com.mycom.myitem.commands.category" />
- q, |3 u* a' o <command name="Sample Command" categoryId="com.mycom.myitem.commands.category"
$ a4 j8 q; P: V P$ V6 _. a id="com.mycom.myitem.commands.sampleCommand"/>
, \! J7 e. f+ B6 U! q2 E8 R7 Y 0 v. R& U& ^! ^% b
</extension>
8 d$ P/ V" J9 G: s; R6 w, x& O
) g- E1 `) P. a& M <extension point="org.eclipse.ui.handlers">
+ n8 m: P' |' w <handler commandId="com.mycom.myitem.commands.sampleCommand" class="com.mycom.myitem.handlers.MyItemHandler"/>
& D- J$ ~+ c/ F ^0 z( G# T/ f6 E# d! {3 ?
</extension>+ _( G1 m0 n2 ~0 j9 d
; ?. P, H* d+ A3 K+ {5 u5 c4 D
<extension point="org.eclipse.ui.handlers">% y* M; f* E; R6 ~
/ F/ ^, M- j% Y6 k% k* o/ d; c( }
<handler commandId="com.teamcenter.rac.newItem" class="com.mycom.myitem.handlers.MyItemHandler">
; [* S- s! V- ?; D <activeWhen>
$ }: W- z4 b) s, T+ h0 D5 |( H <iterate ifEmpty="false">
% |8 @1 f1 V4 A$ u2 _# N2 e1 L' Y <and>' g5 p5 T" U7 V7 ]. W4 X. `2 A
<adapt type="com.teamcenter.rac.kernel.TCComponent">& ~0 |, M; Z! {% A- _8 X4 F! Z
<test property="com.teamcenter.rac.kernel.TCComponent.typeClass" value="Folder" /> ) T4 K7 G" K: j$ z) l, c; x
</adapt>
% o3 P- C9 @0 p- O/ ] </and>
4 `& z; `% y& s! c7 j- J </iterate>
# R0 B& G5 N/ o: l4 v/ t </activeWhen>9 L d) w! Y& \& U. X
</handler>
9 l% b* `5 r0 U/ ^" V </extension>* n2 O4 f9 j+ z4 H9 V3 n3 H
1 _, F/ ?6 ~+ _5 z <extension point="org.eclipse.ui.bindings">4 _& {7 i3 m7 \, ?8 K. s' m
<key commandId="com.mycom.myitem.commands.sampleCommand"
! `+ r/ r/ X% q Z contextId="org.eclipse.ui.contexts.window"
$ D* h2 p* u0 c# l2 H sequence="M1+6"
1 q: q; [/ h3 A schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
! n* u- Z" ^/ u7 c </key>; l7 }4 Y5 ~9 j$ u' K
</extension>+ |: ~; u. s. T) }* ~/ n$ X
* W6 N1 V- {5 V4 B6 m5 @
0 T: g! E; R V+ O</plugin>
/ N' ^; @( p, L a
& d1 W: g4 ?! I* |% B# r; a' J A0 c* f/ k% D* c; ]
|
|