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.

412 lines
16 KiB

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension point="org.eclipse.ui.commands">
<category id="cn.com.ebewin.ysr.ui.commands.category"
description="ebewinYSR命令"
name="cn.com.ebewin.ysr.ui.commands.category">
</category>
<command id="cn.com.ebewin.ysr.ui.commands.MachiningDynamicsManage"
categoryId="cn.com.ebewin.ysr.ui.commands.category"
description="加工动态管理"
name="加工动态管理">
</command>
<command id="cn.com.ebewin.ysr.ui.commands.PipingLinePlanningManagement"
categoryId="cn.com.ebewin.ysr.ui.commands.category"
description="配管线计划管理"
name="配管线计划管理">
</command>
<command id="cn.com.ebewin.ysr.handlers.CustomizationHandler"
categoryId="cn.com.ebewin.ysr.ui.commands.category"
description="定制件看板"
name="定制件看板">
</command>
<command id="cn.com.ebewin.ysr.ui.commands.MaterialPurchasingSearch"
categoryId="cn.com.ebewin.ysr.ui.commands.category"
description="货品采购查询"
name="货品采购查询">
</command>
<command id="cn.com.ebewin.ysr.ui.commands.RectificationPurchasingImport"
categoryId="cn.com.ebewin.ysr.ui.commands.category"
description="整改采购件到货导入"
name="整改采购件到货导入">
</command>
<command id="cn.com.ebewin.ysr.ui.commands.QualityManagementBoard"
categoryId="cn.com.ebewin.ysr.ui.commands.category"
description="质检管理看板"
name="质检管理看板">
</command>
<command id="cn.com.ebewin.ysr.ui.commands.ProblemBoard"
categoryId="cn.com.ebewin.ysr.ui.commands.category"
description="问题综合看板"
name="问题综合看板">
</command>
<command id="cn.com.ebewin.ysr.ui.commands.YSR8_WorkHoursCreate"
categoryId="cn.com.ebewin.ysr.ui.commands.category"
description="项目调试信息统计"
name="工作日报创建">
</command>
<command id="cn.com.ebewin.ysr.ui.commands.YSR8_DebugingInfoDlg"
categoryId="cn.com.ebewin.ysr.ui.commands.category"
description="项目调试信息统计"
name="项目调试信息统计">
</command>
<command id="cn.com.ebewin.ysr.ui.commands.YSR8_TravelORDENCreate"
categoryId="cn.com.ebewin.ysr.ui.commands.category"
description="项目调试信息统计"
name="出差委托单创建">
</command>
<command id="cn.com.ebewin.ysr.ui.commands.YSR8_QERevisionSearchDialog"
categoryId="cn.com.ebewin.ysr.ui.commands.category"
description="报价委托台账"
name="报价委托台账">
</command>
<command id="cn.com.ebewin.ysr.ui.commands.YSR8_TotalContentDialog"
categoryId="cn.com.ebewin.ysr.ui.commands.category"
description="系统总目录台账"
name="系统总目录台账">
</command>
<command id="cn.com.ebewin.ysr.ui.commands.YSR8_PMSBRevisionSearchDialog"
categoryId="cn.com.ebewin.ysr.ui.commands.category"
description="项目管理台账"
name="项目管理台账">
</command>
<command id="cn.com.ebewin.ysr.ui.commands.YSR8_ProjectFormExport"
categoryId="cn.com.ebewin.ysr.ui.commands.category"
description="验收项目台账"
name="验收项目台账">
</command>
<command id="cn.com.ebewin.ysr.ui.commands.KBatchImport"
categoryId="cn.com.ebewin.ysr.ui.commands.category"
description="啦啦啦"
name="啦啦啦">
</command>
<command id="cn.com.ebewin.ysr.ui.commands.ScheduleTaskEdit"
categoryId="cn.com.ebewin.ysr.ui.commands.category"
description="编辑时间表任务属性"
name="编辑属性">
</command>
<command id="cn.com.ebewin.ysr.ui.commands.YSR8_DrawingListCreateDialog" name="图样目录"/>
<command id="AssignProjectHandler" name="指派项目"/>
<command id="cn.com.ebewin.ysr.ui.commands.ktest" name="测试"/>
<command id="cn.com.ebewin.ysr.handlers.YSR8_wysjTimeHandler"
categoryId="cn.com.ebewin.ysr.ui.commands.category"
description="外委设计时间统计看板"
name="外委设计时间统计看板">
</command>
<command id="cn.com.ebewin.ysr.dialog.systemdatadistribution.SystemDataDistributionHandler"
categoryId="cn.com.ebewin.ysr.ui.commands.category"
description="系统资料下发统计看板"
name="系统资料下发统计看板">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler class="cn.com.ebewin.ysr.handlers.MachiningDynamicsManageHandler"
commandId="cn.com.ebewin.ysr.ui.commands.MachiningDynamicsManage">
</handler>
<handler class="cn.com.ebewin.ysr.handlers.PipingLinePlanningManagementHandler"
commandId="cn.com.ebewin.ysr.ui.commands.PipingLinePlanningManagement">
</handler>
<handler class="cn.com.ebewin.ysr.handlers.CustomizationHandler"
commandId="cn.com.ebewin.ysr.handlers.CustomizationHandler">
</handler>
<handler class="cn.com.ebewin.ysr.handlers.MaterialPurchasingSearchHandler"
commandId="cn.com.ebewin.ysr.ui.commands.MaterialPurchasingSearch">
</handler>
<handler class="cn.com.ebewin.ysr.handlers.RectificationPurchasingImportHandler"
commandId="cn.com.ebewin.ysr.ui.commands.RectificationPurchasingImport">
</handler>
<handler class="cn.com.ebewin.ysr.handlers.QualityManagementBoardHandler"
commandId="cn.com.ebewin.ysr.ui.commands.QualityManagementBoard">
</handler>
<handler class="cn.com.ebewin.ysr.handlers.ProblemBoardHandler"
commandId="cn.com.ebewin.ysr.ui.commands.ProblemBoard">
</handler>
<handler class="cn.com.ebewin.ysr.handlers.YSR8_WorkHoursCreateHandler"
commandId="cn.com.ebewin.ysr.ui.commands.YSR8_WorkHoursCreate">
</handler>
<handler class="cn.com.ebewin.ysr.handlers.DebugingInfoHandler"
commandId="cn.com.ebewin.ysr.ui.commands.YSR8_DebugingInfoDlg">
</handler>
<handler class="cn.com.ebewin.ysr.handlers.YSR8_TravelORDENCreateHandler"
commandId="cn.com.ebewin.ysr.ui.commands.YSR8_TravelORDENCreate">
</handler>
<handler class="cn.com.ebewin.ysr.handlers.YSR8_TotalContentHandler"
commandId="cn.com.ebewin.ysr.ui.commands.YSR8_TotalContentDialog">
</handler>
<handler class="cn.com.ebewin.ysr.handlers.YSR8_wysjTimeHandler"
commandId="cn.com.ebewin.ysr.handlers.YSR8_wysjTimeHandler">
</handler>
<handler class="cn.com.ebewin.ysr.handlers.PMSBRevisionSearchHandler"
commandId="cn.com.ebewin.ysr.ui.commands.YSR8_PMSBRevisionSearchDialog">
</handler>
<handler class="cn.com.ebewin.ysr.handlers.QERevisionSearchHandler"
commandId="cn.com.ebewin.ysr.ui.commands.YSR8_QERevisionSearchDialog">
</handler>
<handler class="cn.com.ebewin.ysr.handlers.YSR8_DrawingListCreateHandler"
commandId="cn.com.ebewin.ysr.ui.commands.YSR8_DrawingListCreateDialog">
</handler>
<handler class="cn.com.ebewin.ysr.handlers.YSR8_ProjectFormExportHandler"
commandId="cn.com.ebewin.ysr.ui.commands.YSR8_ProjectFormExport">
</handler>
<handler class="cn.com.ebewin.ysr.handlers.KTestHandler"
commandId="cn.com.ebewin.ysr.ui.commands.ktest">
</handler>
<handler class="cn.com.ebewin.ysr.handlers.KBatchImportHandler"
commandId="cn.com.ebewin.ysr.ui.commands.KBatchImport">
</handler>
<handler class="cn.com.ebewin.ysr.dialog.AssignProjectHandler"
commandId="AssignProjectHandler">
</handler>
<handler class="cn.com.ebewin.ysr.handlers.ScheduleTaskEditHandler"
commandId="cn.com.ebewin.ysr.ui.commands.ScheduleTaskEdit">
<activeWhen>
<reference
definitionId="com.teamcenter.rac.schedule.inMainView"/>
</activeWhen>
<enabledWhen>
<and>
<reference definitionId="com.teamcenter.rac.schedule.SelectedTask_ScheduleView"/>
<iterate ifEmpty="false" >
<not>
<or>
<test property="com.teamcenter.rac.kernel.TCComponentScheduleTask.SM_Schedule_Task_Type"
value="6">
</test>
<adapt type="com.teamcenter.rac.kernel.TCComponent">
<and>
<test property="com.teamcenter.rac.kernel.TCComponent.type" value="Fnd0ProxyTask"/>
</and>
</adapt>
</or>
</not>
</iterate>
</and>
</enabledWhen>
</handler>
<handler class="cn.com.ebewin.ysr.dialog.systemdatadistribution.SystemDataDistributionHandler"
commandId="cn.com.ebewin.ysr.dialog.systemdatadistribution.SystemDataDistributionHandler">
</handler>
</extension>
<extension point="org.eclipse.ui.bindings">
<!--<key commandId="cn.com.ebewin.ysr.ui.commands.KBatchImport"
sequence="M3+D"
schemeId="com.teamcenter.rac.scheme">
</key>-->
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution locationURI="menu:org.eclipse.ui.main.menu?after=additions">
<menu label="项目管理" id="cn.com.ebewin.ysr.ui.menus.ProjectManage">
<separator name="ProjectManageStart" visible="true"></separator>
<separator name="ProjectManageSep1" visible="true"></separator>
<separator name="ProjectManageSep2" visible="true"></separator>
<separator name="ProjectManageSep3" visible="true"></separator>
<!--
<menu label="采购管理" id="cn.com.ebewin.ysr.ui.menus.PurchManage"
<separator name="PurchManageStart" visible="true"></separator>
<separator name="PurchManageEnd" visible="true"></separator>
</menu>
-->
<separator name="ProjectManageSep4" visible="true"></separator>
<!--
<menu label="质量问题管理" id="cn.com.ebewin.ysr.ui.menus.QualityManage"
<separator name="QualityManageStart" visible="true"></separator>
<separator name="QualityManageEnd" visible="true"></separator>
</menu>
-->
<separator name="ProjectManageSep5" visible="true"></separator>
<separator name="ProjectManageEnd" visible="true"></separator>
</menu>
</menuContribution>
<menuContribution locationURI="menu:cn.com.ebewin.ysr.ui.menus.ProjectManage?after=ProjectManageStart">
<command label="加工动态管理" id="cn.com.ebewin.ysr.ui.menus.MachiningDynamicsManage"
commandId="cn.com.ebewin.ysr.ui.commands.MachiningDynamicsManage"
style="push">
</command>
<command label="配管线计划管理" id="cn.com.ebewin.ysr.ui.menus.PipingLinePlanningManagement"
commandId="cn.com.ebewin.ysr.ui.commands.PipingLinePlanningManagement"
style="push">
</command>
<command label="定制件看板" id="cn.com.ebewin.ysr.handlers.CustomizationHandler"
commandId="cn.com.ebewin.ysr.handlers.CustomizationHandler"
style="push">
</command>
<command label="货品采购查询" id="cn.com.ebewin.ysr.ui.menus.MaterialPurchasingSearch"
commandId="cn.com.ebewin.ysr.ui.commands.MaterialPurchasingSearch"
style="push">
</command>
<command label="整改采购件到货导入" id="cn.com.ebewin.ysr.ui.menus.RectificationPurchasingImport"
commandId="cn.com.ebewin.ysr.ui.commands.RectificationPurchasingImport"
style="push">
</command>
</menuContribution>
<menuContribution locationURI="menu:cn.com.ebewin.ysr.ui.menus.ProjectManage?after=ProjectManageSep1">
<command label="质检管理看板" id="cn.com.ebewin.ysr.ui.menus.QualityManagementBoard"
commandId="cn.com.ebewin.ysr.ui.commands.QualityManagementBoard"
style="push">
</command>
</menuContribution>
<menuContribution locationURI="menu:cn.com.ebewin.ysr.ui.menus.ProjectManage?after=ProjectManageSep2">
<command label="问题综合看板" id="cn.com.ebewin.ysr.ui.menus.ProblemBoard"
commandId="cn.com.ebewin.ysr.ui.commands.ProblemBoard"
style="push">
</command>
</menuContribution>
<menuContribution locationURI="menu:cn.com.ebewin.ysr.ui.menus.ProjectManage?after=ProjectManageSep3">
<command label="工作日报创建" id="cn.com.ebewin.ysr.ui.menus.YSR8_WorkHoursCreate"
commandId="cn.com.ebewin.ysr.ui.commands.YSR8_WorkHoursCreate"
style="push">
</command>
<command label="项目调试信息统计" id="cn.com.ebewin.ysr.ui.menus.YSR8_DebugingInfoDlg"
commandId="cn.com.ebewin.ysr.ui.commands.YSR8_DebugingInfoDlg"
style="push">
</command>
<command label="出差委托单创建" id="cn.com.ebewin.ysr.ui.menus.YSR8_TravelORDENCreate"
commandId="cn.com.ebewin.ysr.ui.commands.YSR8_TravelORDENCreate"
style="push">
</command>
</menuContribution>
<menuContribution locationURI="menu:cn.com.ebewin.ysr.ui.menus.ProjectManage?after=ProjectManageSep5">
<command label="系统总目录台账" id="cn.com.ebewin.ysr.ui.commands.YSR8_TotalContentDialog"
commandId="cn.com.ebewin.ysr.ui.commands.YSR8_TotalContentDialog"
style="push">
</command>
<command label="项目管理台账" id="cn.com.ebewin.ysr.ui.menus.YSR8_PMSBRevisionSearchDialog"
commandId="cn.com.ebewin.ysr.ui.commands.YSR8_PMSBRevisionSearchDialog"
style="push">
</command>
<command label="报价委托台账" id="cn.com.ebewin.ysr.ui.menus.YSR8_QERevisionSearchDialog"
commandId="cn.com.ebewin.ysr.ui.commands.YSR8_QERevisionSearchDialog"
style="push">
</command>
<command label="验收项目台账" id="cn.com.ebewin.ysr.ui.commands.YSR8_ProjectFormExportCommand"
commandId="cn.com.ebewin.ysr.ui.commands.YSR8_ProjectFormExport"
style="push">
</command>
<command label="外委设计时间统计看板" id="cn.com.ebewin.ysr.handlers.YSR8_wysjTimeHandler"
commandId="cn.com.ebewin.ysr.handlers.YSR8_wysjTimeHandler"
style="push">
</command>
<command label="系统资料下发统计看板" id="cn.com.ebewin.ysr.dialog.systemdatadistribution.SystemDataDistributionHandler"
commandId="cn.com.ebewin.ysr.dialog.systemdatadistribution.SystemDataDistributionHandler"
style="push">
</command>
</menuContribution>
<menuContribution locationURI="popup:org.eclipse.ui.popup.any?after=additions">
<command label="创建图样目录" id="cn.com.ebewin.ysr.ui.menus.YSR8_DrawingListCreateDialog" commandId="cn.com.ebewin.ysr.ui.commands.YSR8_DrawingListCreateDialog">
<visibleWhen>
<and>
<reference definitionId="com.teamcenter.rac.pse.inMainView"/>
<with variable="rac_command_suppression">
<not>
<iterate operator="or">
<equals value="cn.com.ebewin.ysr.ui.menus.YSR8_DrawingListCreateDialog"/>
</iterate>
</not>
</with>
</and>
</visibleWhen>
</command>
<!-- 编辑时间表任务 -->
<command commandId="cn.com.ebewin.ysr.ui.commands.ScheduleTaskEdit" id="popups.ScheduleTaskEdit">
<visibleWhen>
<and>
<reference
definitionId="com.teamcenter.rac.schedule.inMainView">
</reference>
<with variable="rac_command_suppression">
<not>
<iterate operator="or">
<equals
value="cn.com.ebewin.ysr.ui.commands.ScheduleTaskEdit"/>
</iterate>
</not>
</with>
</and>
</visibleWhen>
</command>
<command commandId="AssignProjectHandler" id="AssignProjectHandler">
<visibleWhen>
<with variable="rac_command_suppression">
<not>
<iterate operator="or">
<equals
value="AssignProjectHandler"/>
</iterate>
</not>
</with>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension point="org.eclipse.ui.views">
<view
allowMultiple="false"
class="cn.com.ebewin.ysr.view.ebewinPartView"
icon="icons/sample.gif"
id="ebewinPartView"
name="零部件浏览">
</view>
</extension>
<!--
<extension
point="com.teamcenter.rac.aifrcp.application">
<aif_app_item
id="cn.com.ebewin.ysr.aif_app_item1"
name="name"
perspective_id="com.teamcenter.rac.aifrcp.perspective">
</aif_app_item>
</extension>
<extension
point="org.eclipse.ui.perspectives">
</extension>
-->
</plugin>