Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 217776 Details for
Bug 371285
Session comparison between runs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Modified perf viewer and plug-in.xml
0001-Added-views-to-plug-in.xml-and-action-to-the-perf-pr.patch (text/plain), 2.66 KB, created by
Camilo Bernal
on 2012-06-22 18:41:18 EDT
(
hide
)
Description:
Modified perf viewer and plug-in.xml
Filename:
MIME Type:
Creator:
Camilo Bernal
Created:
2012-06-22 18:41:18 EDT
Size:
2.66 KB
patch
obsolete
>From 9fa5d63c8ce2db8d6f9367fb6b24e3c0339e84b8 Mon Sep 17 00:00:00 2001 >From: Camilo Bernal <cabernal@redhat.com> >Date: Fri, 22 Jun 2012 18:26:40 -0400 >Subject: [PATCH] Added views to plug-in.xml and action to the perf profile > view > >Added PerfDiffView and PerfDataCollectionView to the plug-in.xml file. >Also, added action to the perf profile view menu to intiate the data >collection view. >--- > perf/org.eclipse.linuxtools.perf/plugin.xml | 22 ++++++++++++++++++++ > .../internal/perf/ui/PerfProfileView.java | 8 ++++++- > 2 files changed, 29 insertions(+), 1 deletions(-) > >diff --git a/perf/org.eclipse.linuxtools.perf/plugin.xml b/perf/org.eclipse.linuxtools.perf/plugin.xml >index 78c3d30..6c9c06f 100644 >--- a/perf/org.eclipse.linuxtools.perf/plugin.xml >+++ b/perf/org.eclipse.linuxtools.perf/plugin.xml >@@ -112,5 +112,27 @@ > type="snapshot"> > </provider> > </extension> >+ <extension >+ point="org.eclipse.ui.views"> >+ <view >+ category="org.eclipse.linuxtools.profiling.ui" >+ class="org.eclipse.linuxtools.internal.perf.ui.PerfDataCollectionView" >+ icon="icons/file.gif" >+ id="org.eclipse.linuxtools.perf.ui.PerfSessionCompareView" >+ name="Data Collection View" >+ restorable="false"> >+ </view> >+ </extension> >+ <extension >+ point="org.eclipse.ui.views"> >+ <view >+ category="org.eclipse.linuxtools.profiling.ui" >+ class="org.eclipse.linuxtools.internal.perf.ui.PerfDiffView" >+ icon="icons/file.gif" >+ id="org.eclipse.linuxtools.perf.ui.PerfSessionDiffView" >+ name="Data Comparison View" >+ restorable="false"> >+ </view> >+ </extension> > > </plugin> >diff --git a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/PerfProfileView.java b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/PerfProfileView.java >index c7361d9..683fa22 100644 >--- a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/PerfProfileView.java >+++ b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/PerfProfileView.java >@@ -76,9 +76,15 @@ public class PerfProfileView extends ViewPart { > hookContextMenu(); > hookDoubleClickAction(); > contributeToActionBars(); >+ createActionMenu(); > PerfPlugin.getDefault().setProfileView(this); > } >- >+ >+ public void createActionMenu() { >+ IMenuManager manager = getViewSite().getActionBars().getMenuManager(); >+ manager.add(new PerfDataCollectionAction()); >+ } >+ > public void refreshModel() { > viewer.setInput(PerfPlugin.getDefault().getModelRoot()); > viewer.refresh(); >-- >1.7.7.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 371285
:
217768
|
217769
|
217770
|
217771
|
217772
|
217773
|
217774
|
217775
|
217776
|
217779
|
218026
|
218056