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.
262 lines
9.7 KiB
262 lines
9.7 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?eclipse version="3.4"?>
|
|
<plugin>
|
|
|
|
<extension point="org.eclipse.ui.commands">
|
|
<command name="设备从ERP获取" id="EquipmentAcquired"></command>
|
|
<command name="将ITEM导入ERP" id="sendItemToERP"></command>
|
|
<command name="ERP导入任务记录" id="searchImpResult"></command>
|
|
<command name="库存查询" id="ViewStockOfERP"></command>
|
|
<command name="在制品查询" id="ViewWorkInProcessOfERP"></command>
|
|
<command id="BomAddTransferToERP" name="新增工艺BOM"></command>
|
|
<command id="BomChgTransferToERP" name="变更工艺BOM"></command>
|
|
<command
|
|
id="ProcessChgTransferToERP"
|
|
name="变更工艺路线">
|
|
</command>
|
|
<command
|
|
id="ProcessAddTransferToERP"
|
|
name="新增工艺路线">
|
|
</command>
|
|
|
|
<command
|
|
id="BomCompare"
|
|
name="bom比较">
|
|
</command>
|
|
|
|
<command
|
|
id="BomCompare2"
|
|
name="投料检查">
|
|
</command>
|
|
</extension>
|
|
<extension point="org.eclipse.ui.handlers">
|
|
<handler class="com.connor.erp.processresource.EquipmentAcquiredFromERP.EquipmentAcquiredFromERPHandler" commandId="EquipmentAcquired"></handler>
|
|
<handler class="com.connor.erp.ItemAddTransferSendToERP.SendToERPHandler" commandId="sendItemToERP"></handler>
|
|
<handler class="com.connor.erp.searchImpResult.SearchImpResultHandler" commandId="searchImpResult"></handler>
|
|
<handler class="com.connor.erp.materialquery.ViewStockOfERP.ViewStockOfERPHandler" commandId="ViewStockOfERP"></handler>
|
|
<handler class="com.connor.erp.materialquery.ViewWorkInProcessOfERP.ViewWorkInProcessOfERPHandler" commandId="ViewWorkInProcessOfERP"></handler>
|
|
<handler class="com.connor.erp.BomAddTransferToERP.BomAddTransferHandler" commandId="BomAddTransferToERP"></handler>
|
|
<handler class="com.connor.erp.BomChgTransferToERP.BomChgTransferHandler" commandId="BomChgTransferToERP"></handler>
|
|
<handler
|
|
class="com.connor.erp.ProcessImport.ProcessAddTransferToERP.ProcessAddTransferToERPHandler"
|
|
commandId="ProcessAddTransferToERP">
|
|
</handler>
|
|
<handler
|
|
class="com.connor.erp.ProcessImport.ProcessChgTransferToERP.ProcessChgTransferToERPHandler"
|
|
commandId="ProcessChgTransferToERP">
|
|
</handler>
|
|
|
|
<handler
|
|
class="com.connor.bomCompare.SJDBHandler"
|
|
commandId="BomCompare">
|
|
</handler>
|
|
|
|
<handler
|
|
class="com.connor.touliao.TouliaoHandler"
|
|
commandId="BomCompare2">
|
|
</handler>
|
|
</extension>
|
|
<extension point="org.eclipse.ui.menus">
|
|
|
|
|
|
|
|
<!-- <menuContribution locationURI="menu:cn.net.connor.std.processedit.mainmenu?after=sp1">
|
|
<menu
|
|
|
|
id="com.connor.nhjs.gy.bommenu"
|
|
|
|
label="BOM操作"
|
|
|
|
mnemonic="M">
|
|
|
|
<command commandId="BomCompare2" id="BomCompare2" mnemonic="S"></command>
|
|
|
|
</menu>
|
|
</menuContribution>-->
|
|
|
|
<menuContribution locationURI="menu:org.eclipse.ui.main.menu?after=additions">
|
|
<menu id="com.connor.erp.processresource" label="ERP集成" mnemonic="M">
|
|
<menu id="com.connor.erp.processresource.EquipmentAcquiredFromERP" label="基础物料" mnemonic="M">
|
|
<command commandId="EquipmentAcquired" id="EquipmentAcquired" mnemonic="S"></command>
|
|
<command commandId="sendItemToERP" id="sendItemToERP" mnemonic="S"></command>
|
|
</menu>
|
|
|
|
<menu id="com.connor.erp.ProcessImport" label="工艺路线" mnemonic="M">
|
|
<command commandId="ProcessAddTransferToERP" id="ProcessAddTransferToERP" mnemonic="S"></command>
|
|
<command commandId="ProcessChgTransferToERP" id="ProcessChgTransferToERP" mnemonic="S"></command>
|
|
</menu>
|
|
|
|
<menu id="com.connor.erp.BomResource" label="工艺BOM" mnemonic="M">
|
|
<command commandId="BomAddTransferToERP" id="BomAddTransferToERP" mnemonic="S"></command>
|
|
<command commandId="BomChgTransferToERP" id="BomChgTransferToERP" mnemonic="S"></command>
|
|
</menu>
|
|
<command commandId="BomCompare" id="BomCompare" mnemonic="S"></command>
|
|
<command commandId="searchImpResult" id="searchImpResult" mnemonic="S"></command>
|
|
|
|
|
|
<menu id="com.connor.erp.materialquery" label="ERP物料查询" mnemonic="M">
|
|
<command commandId="ViewStockOfERP" id="ViewStockOfERP" mnemonic="S"></command>
|
|
<command commandId="ViewWorkInProcessOfERP" id="ViewWorkInProcessOfERP" mnemonic="S"></command>
|
|
</menu>
|
|
|
|
|
|
|
|
|
|
</menu>
|
|
</menuContribution>
|
|
|
|
<menuContribution locationURI="popup:org.eclipse.ui.popup.any?after=additions">
|
|
<command
|
|
commandId="ViewStockOfERP"
|
|
id="ViewStockOfERP"
|
|
label="库存查询"
|
|
style="push">
|
|
<visibleWhen>
|
|
<and>
|
|
<iterate
|
|
ifEmpty="false">
|
|
<adapt
|
|
type="com.teamcenter.rac.kernel.TCComponent">
|
|
</adapt>
|
|
</iterate>
|
|
<with
|
|
variable="rac_command_suppression">
|
|
<not>
|
|
<or>
|
|
<reference definitionId="com.teamcenter.rac.pse.inMainView"/>
|
|
<reference definitionId="com.teamcenter.rac.cme.mpp.inMainView"/>
|
|
</or>
|
|
</not>
|
|
</with>
|
|
</and>
|
|
</visibleWhen>
|
|
</command>
|
|
<command
|
|
commandId="ViewWorkInProcessOfERP"
|
|
id="ViewWorkInProcessOfERP"
|
|
label="在制品查询"
|
|
style="push">
|
|
<visibleWhen>
|
|
<and>
|
|
<iterate
|
|
ifEmpty="false">
|
|
<adapt
|
|
type="com.teamcenter.rac.kernel.TCComponent">
|
|
</adapt>
|
|
</iterate>
|
|
<with
|
|
variable="rac_command_suppression">
|
|
<not>
|
|
<or>
|
|
<reference definitionId="com.teamcenter.rac.pse.inMainView"/>
|
|
<reference definitionId="com.teamcenter.rac.cme.mpp.inMainView"/>
|
|
</or>
|
|
</not>
|
|
</with>
|
|
</and>
|
|
</visibleWhen>
|
|
</command>
|
|
</menuContribution>
|
|
|
|
<menuContribution
|
|
locationURI="menu:BomResource?after=group1">
|
|
<command
|
|
commandId="BomAddTransferToERP"
|
|
id="BomAddTransferToERP"
|
|
label="新增工艺BOM"
|
|
style="push">
|
|
<visibleWhen
|
|
checkEnabled="true">
|
|
<and>
|
|
<reference
|
|
definitionId="com.teamcenter.rac.ui.inMainPerspective">
|
|
</reference>
|
|
<with
|
|
variable="rac_command_suppression">
|
|
<not>
|
|
<iterate
|
|
operator="or">
|
|
<equals
|
|
value="BomAddTransferToERP">
|
|
</equals>
|
|
</iterate>
|
|
</not>
|
|
</with>
|
|
</and>
|
|
</visibleWhen>
|
|
</command>
|
|
</menuContribution>
|
|
<menuContribution
|
|
locationURI="menu:BomResource?after=group2">
|
|
<command
|
|
commandId="BomChgTransferToERP"
|
|
id="BomChgTransferToERP"
|
|
label="变更工艺BOM"
|
|
style="push">
|
|
<visibleWhen
|
|
checkEnabled="true">
|
|
<and>
|
|
<reference
|
|
definitionId="com.teamcenter.rac.ui.inMainPerspective">
|
|
</reference>
|
|
<with
|
|
variable="rac_command_suppression">
|
|
<not>
|
|
<iterate
|
|
operator="or">
|
|
<equals
|
|
value="BomChgTransferToERP">
|
|
</equals>
|
|
</iterate>
|
|
</not>
|
|
</with>
|
|
</and>
|
|
</visibleWhen>
|
|
</command>
|
|
</menuContribution>
|
|
|
|
|
|
</extension>
|
|
|
|
<extension point="org.eclipse.ui.bindings">
|
|
<!--新增工艺BOM-->
|
|
<key
|
|
commandId="BomAddTransferToERP"
|
|
sequence="M3+S"
|
|
schemeId="com.teamcenter.rac.scheme">
|
|
</key>
|
|
|
|
<!--新增工艺路线-->
|
|
<key
|
|
commandId="ProcessAddTransferToERP"
|
|
sequence="M3+U"
|
|
schemeId="com.teamcenter.rac.scheme">
|
|
</key>
|
|
<!--变更工艺BOM-->
|
|
<key
|
|
commandId="BomChgTransferToERP"
|
|
sequence="M3+A"
|
|
schemeId="com.teamcenter.rac.scheme">
|
|
</key>
|
|
<!--变更工艺路线-->
|
|
<key
|
|
commandId="ProcessChgTransferToERP"
|
|
sequence="M3+W"
|
|
schemeId="com.teamcenter.rac.scheme">
|
|
</key>
|
|
<!--将ITEM导入ERP-->
|
|
<key
|
|
commandId="sendItemToERP"
|
|
sequence="M3+Z"
|
|
schemeId="com.teamcenter.rac.scheme">
|
|
</key>
|
|
<!--投料检查-->
|
|
<key
|
|
commandId="BomCompare2"
|
|
sequence="M3+T"
|
|
schemeId="com.teamcenter.rac.scheme">
|
|
</key>
|
|
</extension>
|
|
|
|
</plugin>
|