zoukankan      html  css  js  c++  java
  • 导出文档设置exportDocument

    <?xml version="1.0" encoding="UTF-8"?>
    <?eclipse version="3.4"?>
    <plugin>
       <extension
             point="org.eclipse.ui.actionSets">
          <actionSet
                id="com.neusoft.unieap.workshop.exportDocument.actionSet1"
                label="UniEAP Function Area"
                visible="true">
             <action
                   class="com.neusoft.unieap.workshop.exportdocument.action.ExportDesignDocumentAction"
                   icon="icons/doc_ex.png"
                   id="com.neusoft.unieap.workshop.exportDocument.action1"
                   label="%PLUGIN1"
                   style="push"
                   toolbarPath="Normal/UniEAP"
                   tooltip="%PLUGIN1">
             </action>
          </actionSet>
       </extension>
       <extension
             point="org.eclipse.core.runtime.adapters">
          <factory
                adaptableType="org.eclipse.core.resources.IProject"
                class="com.neusoft.unieap.workshop.exportdocument.action.ComponentAdapterFactory">
             <adapter
                   type="com.neusoft.unieap.workshop.exportdocument.action.ExportModuleDesignFolderAdapter">
             </adapter>
             <adapter
                   type="com.neusoft.unieap.workshop.exportdocument.action.ExportViewRelationFolderAdapter">
             </adapter>
          </factory>
          <factory
                adaptableType="org.eclipse.core.resources.IFolder"
                class="com.neusoft.unieap.workshop.exportdocument.action.ComponentAdapterFactory">
             <adapter
                   type="com.neusoft.unieap.workshop.exportdocument.action.ExportModuleDesignFolderAdapter">
             </adapter>
             <adapter
                   type="com.neusoft.unieap.workshop.exportdocument.action.ExportViewRelationFolderAdapter">
             </adapter>
          </factory>
          <factory
                adaptableType="org.eclipse.core.resources.IFile"
                class="com.neusoft.unieap.workshop.exportdocument.action.ComponentAdapterFactory">
             <adapter
                   type="com.neusoft.unieap.workshop.exportdocument.action.ExportModuleDesignFileAdapter">
             </adapter>
             <adapter
                   type="com.neusoft.unieap.workshop.exportdocument.action.ExportViewRelationFileAdapter">
             </adapter>
          </factory>
       </extension>
       <extension
             point="org.eclipse.ui.popupMenus">
          <objectContribution
                adaptable="false"
                id="com.neusoft.unieap.workshop.exportdocument.ExportModuleDesignFolderAdapter"
                objectClass="com.neusoft.unieap.workshop.exportdocument.action.ExportModuleDesignFolderAdapter">
             <action
                   class="com.neusoft.unieap.workshop.exportdocument.action.ExportModuleDesignFolderAction"
                   id="com.neusoft.unieap.workshop.exportdocument.ExportModuleDesignFolderAction"
                   label="%PLUGIN2">
             </action>
             <menu
                   icon="icons/tool.gif"
                   id="unieap.genCodeAndXml.folder"
                   label="%PLUGIN4">
             </menu>
             <filter
                   name="isExportModuleDesignFolder"
                   value="true">
             </filter>
          </objectContribution>
          <objectContribution
                adaptable="false"
                id="com.neusoft.unieap.workshop.exportdocument.ExportModuleDesignFileAdapter"
                objectClass="com.neusoft.unieap.workshop.exportdocument.action.ExportModuleDesignFileAdapter">
             <action
                   class="com.neusoft.unieap.workshop.exportdocument.action.ExportModuleDesignFileAction"
                   id="com.neusoft.unieap.workshop.exportdocument.ExportModuleDesignFolderAction"
                   label="%PLUGIN2">
             </action>
             <menu
                   icon="icons/tool.gif"
                   id="unieap.genCodeAndXml.file"
                   label="%PLUGIN4">
             </menu>
             <filter
                   name="isExportModuleDesignFile"
                   value="true">
             </filter>
          </objectContribution>
            <objectContribution
                adaptable="false"
                id="com.neusoft.unieap.workshop.exportdocument.ExportViewRelationFolderAdapter"
                objectClass="com.neusoft.unieap.workshop.exportdocument.action.ExportViewRelationFolderAdapter">
             <action
                   class="com.neusoft.unieap.workshop.exportdocument.action.ExportViewRelationFolderAction"
                   id="com.neusoft.unieap.workshop.exportdocument.ExportViewRelationFolderAction"
                   label="%PLUGIN3">
             </action>
             <menu
                   icon="icons/tool.gif"
                   id="unieap.genCodeAndXml.folder"
                   label="%PLUGIN4">
             </menu>
             <filter
                   name="isExportViewRelationFolder"
                   value="true">
             </filter>
          </objectContribution>
            <objectContribution
                adaptable="false"
                id="com.neusoft.unieap.workshop.exportdocument.action.ExportViewRelationFileAdapter"
                objectClass="com.neusoft.unieap.workshop.exportdocument.action.ExportViewRelationFileAdapter">
             <action
                   class="com.neusoft.unieap.workshop.exportdocument.action.ExportViewRelationFileAction"
                   id="com.neusoft.unieap.workshop.exportdocument.ExportViewRelationFileAction"
                   label="%PLUGIN3">
             </action>
             <menu
                   icon="icons/tool.gif"
                   id="unieap.genCodeAndXml.file"
                   label="%PLUGIN4">
             </menu>
             <filter
                   name="isExportViewRelationFile"
                   value="true">
             </filter>
          </objectContribution>
       </extension>
    </plugin>
           
  • 相关阅读:
    Web CI/CD Continuous Integration / Continuous Delivery / Continuous Deployment
    hd + TP-Link Switch / wanzhaojiaohuanji / spf+ / TL-ST1008F / TL-ST5016F
    彻底理解js中this的指向,不必硬背(转)
    H5本地存储(转)
    jquery获得 当前页面url的变量
    js中实现base64加密、解密
    项目中easyui-tooltip提示消息运用
    Jquery生成二维码(微信中长按图片识别二维码功能)
    [hdu 3068] Manacher算法O(n)最长回文子串
    Hello world !
  • 原文地址:https://www.cnblogs.com/Jeely/p/11800084.html
Copyright © 2011-2022 走看看