You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
2.2 KiB
46 lines
2.2 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?eclipse version="3.4"?>
|
|
<plugin>
|
|
<extension point="org.eclipse.ui.commands">
|
|
<command name="图纸创建物料" id="cn.net.connor.designtopart.commands.DesignToPartCommand"/>
|
|
<command name="数据发放" id="cn.net.connor.designtopart.commands.DataAllocationCommand"></command>
|
|
</extension>
|
|
|
|
|
|
<extension point="org.eclipse.ui.handlers">
|
|
<handler commandId="cn.net.connor.designtopart.commands.DesignToPartCommand" class="k.KHandler"/>
|
|
<handler class="cn.net.connor.plm.handlers.DataAllocationHandler" commandId="cn.net.connor.designtopart.commands.DataAllocationCommand"></handler>
|
|
</extension>
|
|
|
|
|
|
<extension point="org.eclipse.ui.menus">
|
|
<menuContribution locationURI="menu:custWJ?after=projectCust">
|
|
<command commandId="cn.net.connor.designtopart.commands.DesignToPartCommand" id="cn.net.connor.designtopart.menu.designtopart"/>
|
|
</menuContribution>
|
|
|
|
<menuContribution locationURI="popup:org.eclipse.ui.popup.any?before=additions">
|
|
<command commandId="cn.net.connor.designtopart.commands.DataAllocationCommand" mnemonic="S" icon="icons/refresh_16.png" id="com.LINIX.sap.commands.batchDownload">
|
|
<visibleWhen>
|
|
<and>
|
|
<or>
|
|
<reference definitionId="com.teamcenter.rac.ui.inMainPerspective"/>
|
|
<reference definitionId="com.teamcenter.rac.cme.mpp.inMainView"/>
|
|
</or>
|
|
<iterate ifEmpty="false">
|
|
<adapt type="com.teamcenter.rac.kernel.TCComponent">
|
|
<!-- A8_ProductRevision==> 指定版本类型-->
|
|
<test property="com.teamcenter.rac.kernel.TCComponent.type" value="DocumentRevision" />
|
|
</adapt>
|
|
</iterate>
|
|
<with variable="rac_command_suppression">
|
|
<not>
|
|
<iterate operator="or"><equals value="com.nancal.XXXHandler" /> </iterate>
|
|
</not>
|
|
</with>
|
|
</and>
|
|
</visibleWhen>
|
|
</command>
|
|
</menuContribution>
|
|
</extension>
|
|
</plugin>
|