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.

559 lines
22 KiB

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension point="org.eclipse.ui.menus">
<menuContribution locationURI="menu:org.eclipse.ui.main.menu">
<menu id="custYSR" label="%custYSR">
<separator name="projectCust" visible="true"> </separator>
<separator name="workflowCust" visible="true"> </separator>
<menu id="batchimport" label="%batchimport">
<separator name="batchimportstart" visible="true"> </separator>
<separator name="batchimportend" visible="true"> </separator>
<visibleWhen>
<reference
definitionId=" com.teamcenter.rac.ui.inMainPerspective">
</reference>
</visibleWhen>
</menu>
<menu id="batchdownload" label="%batchdownload">
<separator name="batchdownloadstart" visible="true"> </separator>
<separator name="batchdownloadstart2" visible="true"> </separator>
<visibleWhen>
<reference
definitionId=" com.teamcenter.rac.ui.inMainPerspective">
</reference>
</visibleWhen>
</menu>
<separator
name="integrationCust"
visible="true">
</separator>
</menu>
</menuContribution>
<menuContribution locationURI="menu:batchimport?after=batchimportstart">
<command commandId="ImportBatchFileHandler" label="%ImportBatchFileHandler" style="push">
<visibleWhen checkEnabled="true">
<with variable="rac_command_suppression">
<not>
<iterate operator="or">
<equals value="ImportBatchFileHandler">
</equals>
</iterate>
</not>
</with>
</visibleWhen>
</command>
<command commandId="ImportBatchDirectoryHandler" label="%ImportBatchDirectoryHandler" style="push">
<visibleWhen checkEnabled="true">
<with variable="rac_command_suppression">
<not>
<iterate operator="or">
<equals value="ImportBatchDirectoryHandler">
</equals>
</iterate>
</not>
</with>
</visibleWhen>
</command>
</menuContribution>
<menuContribution locationURI="menu:batchdownload?after=batchdownloadstart">
<command commandId="BatchDownLoadFileHandler" label="%BatchDownLoadFileHandler" style="push">
<visibleWhen checkEnabled="true">
<with variable="rac_command_suppression">
<not>
<iterate operator="or">
<equals value="BatchDownLoadFileHandler">
</equals>
</iterate>
</not>
</with>
</visibleWhen>
</command>
<command commandId="BatchDownLoadFileHandler2" label="文件批量下载(包含伪文件夹)" style="push">
<visibleWhen checkEnabled="true">
<with variable="rac_command_suppression">
<not>
<iterate operator="or">
<equals value="BatchDownLoadFileHandler2">
</equals>
</iterate>
</not>
</with>
</visibleWhen>
</command>
</menuContribution>
<menuContribution locationURI="menu:custYSR?after=projectCust">
<command commandId="CreatePorjectFolder" label="%CreatePorjectFolder" style="push">
<visibleWhen checkEnabled="false">
<with variable="rac_command_suppression">
<not>
<iterate operator="or">
<equals value="CreatePorjectFolder">
</equals>
</iterate>
</not>
</with>
</visibleWhen>
</command>
<command commandId="BOMTransPlan" label="%BOMTransPlan" style="push">
<visibleWhen checkEnabled="false">
<and>
<reference definitionId="com.teamcenter.rac.schedule.inMainView">
</reference>
<with variable="rac_command_suppression">
<not>
<iterate operator="or">
<equals value="BOMTransPlan">
</equals>
</iterate>
</not>
</with>
</and>
</visibleWhen>
</command>
<command
commandId="ModifyTaskorDeliveryName"
label="%ModifyTaskorDeliveryName"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<reference
definitionId="com.teamcenter.rac.schedule.inMainView">
</reference>
<with
variable="rac_command_suppression">
<not>
<iterate
operator="or">
<equals
value="ModifyTaskorDeliveryName">
</equals>
</iterate>
</not>
</with>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution locationURI="menu:custYSR?after=workflowCust">
<command commandId="QueryTaskOpinionHandler" label="%QueryTaskOpinionHandler" style="push">
<visibleWhen checkEnabled="false">
<with variable="rac_command_suppression">
<not>
<iterate operator="or">
<equals value="QueryTaskOpinionHandler">
</equals>
</iterate>
</not>
</with>
</visibleWhen>
</command>
<command commandId="QueryTaskProcessHandler" label="%QueryTaskProcessHandler" style="push">
<visibleWhen checkEnabled="false">
<with variable="rac_command_suppression">
<not>
<iterate operator="or">
<equals value="QueryTaskProcessHandler">
</equals>
</iterate>
</not>
</with>
</visibleWhen>
</command>
</menuContribution>
<menuContribution locationURI="menu:custYSR?after=integrationCust">
<command commandId="CreateFolderFromTemplate" label="%CreateFolderFromTemplate" style="push">
<visibleWhen checkEnabled="false">
<with variable="rac_command_suppression">
<not>
<iterate operator="or">
<equals
value="CreatePorjectFolder">
</equals>
</iterate>
</not>
</with>
</visibleWhen>
</command>
<command
commandId="ProjectPlan"
label="%ProjectPlan"
style="push">
<visibleWhen
checkEnabled="false">
<with
variable="rac_command_suppression">
<not>
<iterate
operator="or">
<equals
value="CreatePorjectFolder">
</equals>
</iterate>
</not>
</with>
</visibleWhen>
</command>
<command commandId="DeliveryApplication" label="%DeliveryApplication" style="push">
<visibleWhen checkEnabled="false">
<with variable="rac_command_suppression">
<not>
<iterate operator="or">
<equals
value="CreatePorjectFolder">
</equals>
</iterate>
</not>
</with>
</visibleWhen>
</command>
<command commandId="AccepCom" label="%AccepCom" style="push">
<visibleWhen checkEnabled="false">
<with variable="rac_command_suppression">
<not>
<iterate operator="or">
<equals
value="CreatePorjectFolder">
</equals>
</iterate>
</not>
</with>
</visibleWhen>
</command>
<command
commandId="PurchasingDepartmentSearch"
label="%PurchasingDepartmentSearch"
style="push">
<visibleWhen
checkEnabled="false">
<with
variable="rac_command_suppression">
<not>
<iterate
operator="or">
<equals
value="PurchasingDepartmentSearch">
</equals>
</iterate>
</not>
</with>
</visibleWhen>
</command>
<command
commandId="QuotationList"
label="%QuotationList"
style="push">
<visibleWhen
checkEnabled="false">
<with
variable="rac_command_suppression">
<not>
<iterate
operator="or">
<equals
value="CreatePorjectFolder">
</equals>
</iterate>
</not>
</with>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution locationURI="popup:org.eclipse.ui.popup.any">
<command commandId="ItemRename" id="ItemRename" label="%ItemRename">
<visibleWhen checkEnabled="true">
<and>
<reference definitionId="com.teamcenter.rac.ui.inMainPerspective">
</reference>
<with variable="rac_command_suppression">
<not>
<iterate operator="or">
<equals value="ItemRename"/>
</iterate>
</not>
</with>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution locationURI="popup:org.eclipse.ui.popup.any?after=ItemRename">
<command commandId="ImportBatchFileHandler" id="ImportBatchFileHandler" label="导入数据集到版本">
<visibleWhen checkEnabled="true">
<and>
<reference definitionId="com.teamcenter.rac.ui.inMainPerspective">
</reference>
<with variable="rac_command_suppression">
<not>
<iterate operator="or">
<equals value="ImportBatchFileHandler"/>
</iterate>
</not>
</with>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution locationURI="popup:org.eclipse.ui.popup.any?after=ItemRename">
<command commandId="com.teamcenter.rac.newProcess" id="com.teamcenter.rac.newProcess" label="提交流程">
<visibleWhen>
<and>
<or>
<reference definitionId="com.teamcenter.rac.ui.inMainPerspective">
</reference>
</or>
<iterate ifEmpty="false">
<adapt type="com.teamcenter.rac.kernel.TCComponent">
</adapt>
</iterate>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution locationURI="popup:org.eclipse.ui.popup.any?after=ItemRename">
<command commandId="cn.com.customization.submitattachment" id="cn.com.customization.submitattachment" label="提交评审附件" style="push">
<visibleWhen>
<and>
<or>
<reference definitionId="com.teamcenter.rac.myteamcenter.workflowMenusInMainViewOrPerspective">
</reference>
</or>
<iterate ifEmpty="false">
<adapt type="com.teamcenter.rac.kernel.TCComponent">
</adapt>
</iterate>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution locationURI="popup:org.eclipse.ui.popup.any?after=ItemRename">
<command commandId="CustAddRelease" id="CustAddRelease" label="添加状态" style="push">
<visibleWhen>
<and>
<or>
<reference definitionId="com.teamcenter.rac.myteamcenter.workflowMenusInMainViewOrPerspective">
</reference>
</or>
<iterate ifEmpty="false">
<adapt type="com.teamcenter.rac.kernel.TCComponent">
</adapt>
</iterate>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution locationURI="popup:org.eclipse.ui.popup.any?after=ItemRename">
<command commandId="CustRemoveRelease" id="CustRemoveRelease" label="移除状态" style="push">
<visibleWhen>
<and>
<or>
<reference definitionId="com.teamcenter.rac.myteamcenter.workflowMenusInMainViewOrPerspective">
</reference>
</or>
<iterate ifEmpty="false">
<adapt type="com.teamcenter.rac.kernel.TCComponent">
</adapt>
</iterate>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution locationURI="popup:org.eclipse.ui.popup.any?after=ItemRename">
<command commandId="cn.com.origin.autocode.handlers.AutoCodeNewItemHandler" id="cn.com.origin.autocode.handlers.AutoCodeNewItemHandler" label="通过编码新建Item">
<visibleWhen>
<and>
<reference definitionId="com.teamcenter.rac.ui.inMainPerspective">
</reference>
<with variable="rac_command_suppression">
<not>
<iterate operator="or">
<equals value="ImportBatchFileHandler"/>
</iterate>
</not>
</with>
</and>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension point="com.teamcenter.rac.common.renderingHint">
<renderingHint id="custautoassignitemid" priority="0">
<propertyBean
class="com.teamcenter.rac.viewer.stylesheet.beans.CUSTAutoAssignItemIDPropertyBean">
</propertyBean>
</renderingHint>
</extension>
<extension point="org.eclipse.ui.commands">
<command
name="%ImportBatchFileHandler"
id="ImportBatchFileHandler">
</command>
<command
name="%ImportBatchDirectoryHandler"
id="ImportBatchDirectoryHandler">
</command>
<command
name="%BatchDownLoadFileHandler"
id="BatchDownLoadFileHandler">
</command>
<command
name="文件批量下载(包含伪文件夹)"
id="BatchDownLoadFileHandler2">
</command>
<command
id="CreatePorjectFolder"
name="%CreatePorjectFolder">
</command>
<command
id="BOMTransPlan"
name="%BOMTransPlan"
tooltip="%BOMTransPlan">
<visibleWhen>
<reference definitionId="com.teamcenter.rac.schedule.inMainView"/>
</visibleWhen>
</command>
<command
name="%ItemRename"
id="ItemRename">
</command>
<command
name="%QueryTaskOpinionHandler"
id="QueryTaskOpinionHandler">
</command>
<command
name="%QueryTaskProcessHandler"
id="QueryTaskProcessHandler">
</command>
<command
id="com.teamcenter.rac.newProcess"
name="提交流程">
</command>
<command
id="cn.com.customization.submitattachment"
name="提交评审附件">
</command>
<command
id="CustAddRelease"
name="添加状态">
</command>
<command
id="CustRemoveRelease"
name="移除状态">
</command>
<command
id="CreateFolderFromTemplate"
name="%CreateFolderFromTemplate">
</command>
<command
id="ProjectPlan"
name="%ProjectPlan">
</command>
<command
id="DeliveryApplication"
name="%DeliveryApplication">
</command>
<command
id="AccepCom"
name="%AccepCom">
</command>
<command
id="ModifyTaskorDeliveryName"
name="%ModifyTaskorDeliveryName"
tooltip="%ModifyTaskorDeliveryName">
<visibleWhen>
<reference
definitionId="com.teamcenter.rac.schedule.inMainView">
</reference>
</visibleWhen>
</command>
<command
id="PurchasingDepartmentSearch"
name="%PurchasingDepartmentSearch">
</command>
<command
id="QuotationList"
name="%QuotationList">
</command>
</extension>
<extension point="org.eclipse.ui.handlers">
<handler
commandId="ImportBatchFileHandler"
class="cn.com.customization.imports.ImportBatchFileHandler">
</handler>
<handler
commandId="ImportBatchDirectoryHandler"
class="cn.com.customization.imports.ImportBatchDirectoryHandler">
</handler>
<handler
commandId="BatchDownLoadFileHandler"
class="cn.com.customization.download.BatchDownLoadFileHandler">
</handler>
<handler
commandId="BatchDownLoadFileHandler2"
class="cn.com.customization.download.BatchDownLoadFileHandler2">
</handler>
<handler
class="cn.com.customization.project.CreateProjectFolderHandler"
commandId="CreatePorjectFolder">
</handler>
<handler
class="cn.com.customization.schedule.BOMTransPlanHandler"
commandId="BOMTransPlan">
</handler>
<handler
commandId="ItemRename"
class="cust.com.rac.changename.ChangeNameHandler">
</handler>
<handler
commandId="QueryTaskOpinionHandler"
class="cust.com.rac.workflow.QueryTaskOpinionHandler">
</handler>
<handler
commandId="QueryTaskProcessHandler"
class="cust.com.rac.workflow.QueryTaskProcessHandler">
</handler>
<handler
class="cust.com.rac.workflow.SubmitAttachmentInWorkflowHandler"
commandId="cn.com.customization.submitattachment">
</handler>
<handler
commandId="CustAddRelease"
class="cust.com.rac.workflow.CustAddReleaseHandler">
</handler>
<handler
class="cust.com.rac.workflow.CustRemoveReleaseHandler"
commandId="CustRemoveRelease">
</handler>
<handler
class="cn.com.customization.create.CreateFolderFromTemplateHandler"
commandId="CreateFolderFromTemplate">
</handler>
<handler
class="cust.com.rac.integration.ProjectPlanHandler"
commandId="ProjectPlan">
</handler>
<handler
class="cust.com.rac.integration.DeliveryApplicationHandler"
commandId="DeliveryApplication">
</handler>
<handler
class="cust.com.rac.integration.AccepComHandler"
commandId="AccepCom">
</handler>
<handler
class="cn.com.customization.schedule.ModifyTaskOrDeliveryNameHandler"
commandId="ModifyTaskorDeliveryName">
</handler>
<handler
class="cn.com.customization.purchasing.PurchasingDepartmentSearchHandler"
commandId="PurchasingDepartmentSearch">
</handler>
<handler
class="cust.com.rac.integration.QuotationListHandler"
commandId="QuotationList">
</handler>
</extension>
</plugin>