Xml文件  |  100行  |  3.42 KB

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>

   <extension
         point="org.eclipse.ui.views">
      <category
            id="com.android.ide.eclipse.gltrace"
            name="Tracer for OpenGL ES">
      </category>
      <view
            category="com.android.ide.eclipse.gltrace"
            class="com.android.ide.eclipse.gltrace.views.FrameSummaryView"
            icon="icons/opengl.png"
            id="com.android.ide.eclipse.gltrace.views.FrameBuffer"
            name="Frame Summary"
            restorable="true">
      </view>
      <view
            category="com.android.ide.eclipse.gltrace"
            class="com.android.ide.eclipse.gltrace.views.StateView"
            icon="icons/opengl.png"
            id="com.android.ide.eclipse.gltrace.views.State"
            name="GL State"
            restorable="true">
      </view>
      <view
            category="com.android.ide.eclipse.gltrace"
            class="com.android.ide.eclipse.gltrace.views.detail.DetailsView"
            icon="icons/opengl.png"
            id="com.android.ide.eclipse.gltrace.views.Details"
            name="Details"
            restorable="true">
      </view>
   </extension>
   <extension
         point="org.eclipse.ui.editors">
      <editor
            class="com.android.ide.eclipse.gltrace.editors.GLFunctionTraceViewer"
            default="true"
            extensions="gltrace"
            icon="icons/opengl.png"
            id="com.android.ide.eclipse.gltrace.GLFunctionTrace"
            name="GL Function Trace">
      </editor>
   </extension>
   <extension
         point="org.eclipse.ui.actionSets">
      <actionSet
            description="OpenGL Trace Actions"
            id="com.android.ide.eclipse.gltrace.actionset"
            label="OpenGL Trace Actions"
            visible="false">
         <action
               class="com.android.ide.eclipse.gltrace.CollectTraceAction"
               icon="icons/connect.png"
               id="gltrace.action.connect"
               label="Collects OpenGL trace from device"
               style="push"
               toolbarPath="Normal/additions"
               tooltip="Connects to the device and collects OpenGL trace information">
         </action>
         <action
               class="com.android.ide.eclipse.gltrace.OpenGLTraceAction"
               icon="icons/opengl.png"
               id="gltrace.action.open"
               label="Open GL Trace File"
               style="push"
               toolbarPath="Normal/additions"
               tooltip="Open a saved OpenGL Trace File">
         </action>
      </actionSet>
   </extension>
   <extension
         point="org.eclipse.ui.perspectives">
      <perspective
            class="com.android.ide.eclipse.gltrace.GLTracePerspective"
            icon="icons/opengl.png"
            id="com.android.ide.eclipse.gltrace.perspective"
            name="Tracer for OpenGL ES">
      </perspective>
   </extension>
   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="com.android.ide.eclipse.gltrace.perspective">
         <actionSet
               id="com.android.ide.eclipse.gltrace.actionset">
         </actionSet>
      </perspectiveExtension>
   </extension>
   <extension
         point="com.android.ide.eclipse.ddms.clientAction">
      <clientAction
            class="com.android.ide.eclipse.gltrace.DeviceViewAction">
      </clientAction>
   </extension>

</plugin>