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.
Difference between revisions of "MemoryAnalyzer/MAT Capabilities"
Line 1: | Line 1: | ||
− | This document provides some sample capability definitions for the Memory Analyzer. It desctibes: | + | This document provides some sample capability definitions for the Memory Analyzer (MAT). It desctibes: |
#Where to find the existing Capabilities plug-in in SVN | #Where to find the existing Capabilities plug-in in SVN | ||
#Or how to implement your own Capabilities for Memory Analyzer | #Or how to implement your own Capabilities for Memory Analyzer | ||
Line 5: | Line 5: | ||
=== Existing Capabilities Plug-in === | === Existing Capabilities Plug-in === | ||
− | The | + | The plug-in org.eclipse.mat.ui.capabilities contains Capabilities definition for Memory Analyzer |
− | + | The pluggin can be found in MAT's SVN source repository: | |
* Host: dev.eclipse.org | * Host: dev.eclipse.org | ||
Line 16: | Line 16: | ||
* Path (in trunk) /plugins/org.eclipse.mat.ui.capabilities | * Path (in trunk) /plugins/org.eclipse.mat.ui.capabilities | ||
− | |||
=== Capabilities Implementation === | === Capabilities Implementation === | ||
Revision as of 05:30, 11 May 2010
This document provides some sample capability definitions for the Memory Analyzer (MAT). It desctibes:
- Where to find the existing Capabilities plug-in in SVN
- Or how to implement your own Capabilities for Memory Analyzer
Existing Capabilities Plug-in
The plug-in org.eclipse.mat.ui.capabilities contains Capabilities definition for Memory Analyzer
The pluggin can be found in MAT's SVN source repository:
* 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 shows how 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>