Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "MemoryAnalyzer/MAT Capabilities"

(New page: This document provides some sample capability definitions for the Memory Analyzer. It desctibes: #Where to find the existing Capabilities plug-in in SVN #Or how to implement your own Capab...)
 
Line 36: Line 36:
  
  
[[Category:Data_Tools_Platform]]
+
[[Category:Memory_Analyzer]]

Revision as of 05:25, 11 May 2010

This document provides some sample capability definitions for the Memory Analyzer. It desctibes:

  1. Where to find the existing Capabilities plug-in in SVN
  2. Or how to implement your own Capabilities for Memory Analyzer

Existing Capabilities Plug-in

The existing Capabilities plug-in can be found in SVN...

Anonymous SVN server info:

   * Host: dev.eclipse.org
   * Repository Path: /svnroot/tools/org.eclipse.mat
   * User: anonymous
   * Password: <empty>
   * Connection URL (http): http://dev.eclipse.org/svnroot/tools/org.eclipse.mat
   * Path (in trunk) /plugins/org.eclipse.mat.ui.capabilities

Capabilities Implementation

The code snippet below takes care to turn off Memory Analyzer functionality in the workbench via Capabilities:

  
   <extension
         point="org.eclipse.ui.activities">
	<activity
    	  description="%activity.description"
          id="org.eclipse.datatools.capabilities.activity"
          name="%activity.name"/>
    <activityPatternBinding
          activityId="org.eclipse.datatools.capabilities.activity"
          pattern="org\.eclipse\.datatools\..*/.*">
    </activityPatternBinding>
   </extension>
   

Back to the top