alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

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

     <extension point="org.eclipse.ui.actionSets">
      <actionSet label="%ActionSet.label" visible="true" id="org.eclipse.perfmsr.ui.actions">
         <menu label="%Menu.label" id="org.eclipse.perfmsr.menu">
            <separator name="snapshots">
            <separator name="all">
            <separator name="other">
<!-- This group can be extended by other plugins. -->
            <separator name="additions">
         </menu>
         
         <action
               label="%Action.snapshot.plugins"
               helpContextId="plugin-action"
               tooltip="%Tip.snapshot.plugins"
               class="org.eclipse.perfmsr.ui.actions.DumpPluginInfo"
               menubarPath="org.eclipse.perfmsr.menu/snapshots"
               id="org.eclipse.perfmsr.ui.dumpPluginInfo">
         </action>
         <action
               label="%Action.snapshot.memory"
               helpContextId="memory-action"
               tooltip="%Tip.snapshot.memory"
               class="org.eclipse.perfmsr.ui.actions.SnapshotMemory"
               menubarPath="org.eclipse.perfmsr.menu/snapshots"
               id="org.eclipse.perfmsr.ui.SnapshotMemory">
               <enablement>
                 <not>
                   <systemProperty name='os.name' value='Linux'/>
                 </not>
               </enablement>
         </action>
         <action
               label="%Action.snapshot.machine"
               helpContextId="global-snapshot-action"
               tooltip="%Tip.snapshot.machine"
               class="org.eclipse.perfmsr.ui.actions.GlobalSnapShot"
               menubarPath="org.eclipse.perfmsr.menu/snapshots"
               id="org.eclipse.perfmsr.ui.actions.GlobalSnapShot">
         </action>
         <action
               label="%Action.snapshot.process"
               helpContextId="snapshot-action"
               class="org.eclipse.perfmsr.ui.actions.SnapShot"
               menubarPath="org.eclipse.perfmsr.menu/snapshots"
               id="org.eclipse.perfmsr.ui.actions.SnapShot_mb">
         </action>
         <action
               label="%Action.snapshot.all"
               helpContextId="snapshot-all"
               tooltip="%Tip.snapshot.all"
               class="org.eclipse.perfmsr.ui.actions.SnapshotAll"
               menubarPath="org.eclipse.perfmsr.menu/all"
               id="org.eclipse.perfmsr.ui.SnapshotAll">
         </action>
         <action
               class="org.eclipse.perfmsr.ui.actions.SnapshotDefault"
               definitionId="org.eclipse.perfmsr.ui.SnapshotDefault"
               helpContextId="snapshot-default"
               icon="icons/etool16/snapshot.gif"
               id="org.eclipse.perfmsr.ui.SnapshotDefault"
               label="%Action.snapshot.default"
               menubarPath="org.eclipse.perfmsr.menu/all"
               toolbarPath="org.eclipse.perfmsr.toolbar"
               tooltip="%Tip.snapshot.default">
         </action>
         <action
               label="%Action.upload"
               helpContextId="upload-action"
               tooltip="%Tip.upload"
               class="org.eclipse.perfmsr.ui.actions.Upload"
               menubarPath="org.eclipse.perfmsr.menu/other"
               id="org.eclipse.perfmsr.ui.upload">
         </action>
         <action
               label="%Action.garbage"
               helpContextId="gc-action"
               tooltip="%Tip.garbage"
               class="org.eclipse.perfmsr.ui.actions.GarbageCollect"
               menubarPath="org.eclipse.perfmsr.menu/other"
               id="org.eclipse.perfmsr.ui.garbage">
         </action>
         <action
               label="%Action.remove.dups"
               tooltip="%Tip.remove.dups"
               class="org.eclipse.perfmsr.ui.actions.RemoveDuplicates"
               menubarPath="org.eclipse.perfmsr.menu/other"
               id="org.eclipse.perfmsr.ui.actions.RemoveDuplicates">
               <enablement>
                   <systemProperty name='java.vendor' value='IBM Corporation'/>
               </enablement>
         </action>
         <action
               label="%Action.add.comment"
               helpContextId="add-comment-action"
               tooltip="%Tip.add.comment"
               class="org.eclipse.perfmsr.ui.actions.AddComment"
               menubarPath="org.eclipse.perfmsr.menu/other"
               id="org.eclipse.perfmsr.ui.actions.AddComment">
         </action>
         <menu
               id="org.eclipse.perfmsr.ui.dump"
               label="%Menu.dump"
               path="org.eclipse.perfmsr.menu/other">
            <separator name="additions">
         </menu>
         <action
               label="%Action.dump.system"
               helpContextId="dump-system-action"
               tooltip="%Tip.dump.system"
               class="org.eclipse.perfmsr.ui.actions.DumpSystem"
               menubarPath="org.eclipse.perfmsr.menu/org.eclipse.perfmsr.ui.dump/additions"
               id="org.eclipse.perfmsr.ui.actions.DumpSystem">
               <enablement>
                 <systemProperty name="java.vm.name" value="IBM J9 VM" />
               </enablement>
         </action>
         <action
               label="%Action.dump.heap"
               helpContextId="dump-heap-action"
               tooltip="%Tip.dump.heap"
               class="org.eclipse.perfmsr.ui.actions.DumpHeap"
               menubarPath="org.eclipse.perfmsr.menu/org.eclipse.perfmsr.ui.dump/additions"
               id="org.eclipse.perfmsr.ui.actions.DumpHeap">
               <enablement>
                 <systemProperty name="java.vm.name" value="IBM J9 VM" />
               </enablement>
         </action>
         <action
               label="%Action.dump.java"
               helpContextId="dump-java-action"
               tooltip="%Tip.dump.java"
               class="org.eclipse.perfmsr.ui.actions.DumpJava"
               menubarPath="org.eclipse.perfmsr.menu/org.eclipse.perfmsr.ui.dump/additions"
               id="org.eclipse.perfmsr.ui.actions.DumpJava">
               <enablement>
                 <systemProperty name="java.vm.name" value="IBM J9 VM" />
               </enablement>
         </action>
      </actionSet>
   </extension>
   
   <extension
         point="org.eclipse.help.toc">
      <toc
            file="toc.xml"
            primary="true">
      </toc>
      <toc
            file="tocconcepts.xml">
      </toc>
      <toc
            file="toctasks.xml">
      </toc>
      <toc
            file="tocref.xml">
      </toc>
   </extension>
   
   <extension
         point="org.eclipse.help.contexts">
      <contexts
            file="info-pops.xml">
      </contexts>
   </extension>
   
   <extension
         point="org.eclipse.ui.preferencePages">
      <page
            name="%PreferencePage.name"
            class="org.eclipse.perfmsr.ui.PerformancePreferencePage"
            id="org.eclipse.perfmsr.ui.Preferences">
      </page>
   </extension>
   
   <extension
         point="org.eclipse.ui.startup">
      <startup class="org.eclipse.perfmsr.ui.EarlyStartup"/>
   </extension>
   <extension
         point="org.eclipse.ui.commands">
      <category
            description="%Performance.category.desc"
            id="org.eclipse.perfmsr.ui.category"
            name="%Performance.category">
      </category>
      <command
            categoryId="org.eclipse.perfmsr.ui.category"
            description="%Tip.snapshot.default"
            id="org.eclipse.perfmsr.ui.SnapshotDefault"
            name="%Action.snapshot.default">
      </command>
   </extension>
   <extension
         point="org.eclipse.ui.bindings">
      <key
            commandId="org.eclipse.perfmsr.ui.SnapshotDefault"
            contextId="org.eclipse.ui.contexts.window"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M3+S">
      </key>
   </extension>

</plugin>
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.