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.
81 lines
3.1 KiB
81 lines
3.1 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?eclipse version="3.4"?>
|
|
<plugin>
|
|
|
|
<extension point="org.eclipse.ui.commands">
|
|
<command
|
|
name="设置装箱单"
|
|
id="XYBOMHandler">
|
|
</command>
|
|
<command
|
|
name="装箱单报表"
|
|
id="BoxReportHandler">
|
|
</command>
|
|
<command
|
|
name="修改分类及ItemID"
|
|
id="EditClassificationHandler">
|
|
</command>
|
|
</extension>
|
|
<extension point="org.eclipse.ui.handlers">
|
|
<handler
|
|
class="com.connor.cust.box.XYBOMHandler"
|
|
commandId="XYBOMHandler">
|
|
</handler>
|
|
<handler
|
|
class="com.connor.cust.box.BoxReportHandler"
|
|
commandId="BoxReportHandler">
|
|
</handler>
|
|
<handler
|
|
class="com.connor.cust.classification.EditClassificationHandler"
|
|
commandId="EditClassificationHandler">
|
|
</handler>
|
|
</extension>
|
|
<extension point="org.eclipse.ui.menus">
|
|
<!--><-->
|
|
<menuContribution locationURI="menu:cn.net.connor.kwc.plm.seconddevelop.menus?after=additions">
|
|
<command commandId="BoxReportHandler" id="BoxReportHandler" label="装箱单报表">
|
|
<visibleWhen checkEnabled="true">
|
|
<and>
|
|
<reference definitionId="com.teamcenter.rac.pse.inMainView"/>
|
|
<with variable="rac_command_suppression">
|
|
<not>
|
|
<iterate operator="or">
|
|
<equals value="BoxReportHandler"/>
|
|
</iterate>
|
|
</not>
|
|
</with>
|
|
</and>
|
|
</visibleWhen>
|
|
</command>
|
|
<command commandId="EditClassificationHandler" id="EditClassificationHandler" label="修改分类及ItemID">
|
|
<visibleWhen checkEnabled="true">
|
|
<with variable="rac_command_suppression">
|
|
<not>
|
|
<iterate operator="or">
|
|
<equals value="EditClassificationHandler"/>
|
|
</iterate>
|
|
</not>
|
|
</with>
|
|
</visibleWhen>
|
|
</command>
|
|
</menuContribution>
|
|
<menuContribution locationURI="popup:org.eclipse.ui.popup.any?after=additions">
|
|
<command commandId="XYBOMHandler" id="XYBOMHandler" label="设置装箱单">
|
|
<visibleWhen checkEnabled="true">
|
|
<and>
|
|
<reference definitionId="com.teamcenter.rac.pse.inMainView"/>
|
|
<with variable="rac_command_suppression">
|
|
<not>
|
|
<iterate operator="or">
|
|
<equals value="XYBOMHandler"/>
|
|
</iterate>
|
|
</not>
|
|
</with>
|
|
</and>
|
|
</visibleWhen>
|
|
</command>
|
|
</menuContribution>
|
|
</extension>
|
|
|
|
</plugin>
|