aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamilo Bernal2012-09-26 12:40:09 (EDT)
committerRoland Grunberg2012-09-28 14:03:55 (EDT)
commit3e69e199ccf288d8a55d6037ec7e9df068c8d214 (patch)
treee5318743753cab5e57a8b4d5888560820236f66b
parent948b36b638442c24e7ab7707db3cd4c9a117575d (diff)
downloadorg.eclipse.linuxtools-3e69e199ccf288d8a55d6037ec7e9df068c8d214.zip
org.eclipse.linuxtools-3e69e199ccf288d8a55d6037ec7e9df068c8d214.tar.gz
org.eclipse.linuxtools-3e69e199ccf288d8a55d6037ec7e9df068c8d214.tar.bz2
Move handling of profile type plug-ins to the provider plug-in.
This commit alters how profile type provider plug-ins are handled. The plug-in.xml files for each profiling type plug-in were kept. This was done in order to keep the separate launch configurations, launchers and preference pages as before. However, all functionality is now handled by the Provider* classes, some of which implement the IExecutableExtension interface, which is used to acquire attributes specified in a particular extension point configuration. Because of this change the profiling type plug-ins are no longer needed. Change-Id: I37dfcaa70e8af5f22dfd6120d5a5c3293944d5e3 Reviewed-on: https://git.eclipse.org/r/7948 Tested-by: Hudson CI Reviewed-by: Roland Grunberg <rgrunber@redhat.com> IP-Clean: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.launch/plugin.xml2
-rw-r--r--perf/org.eclipse.linuxtools.perf/plugin.xml2
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.memory/.classpath7
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.memory/.project28
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.memory/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.memory/META-INF/MANIFEST.MF16
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.memory/about.html28
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.memory/build.properties6
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.memory/plugin.xml84
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.memory/pom.xml44
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/MemoryLaunchConfigurationTabGroup.java35
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/MemoryOptionsTab.java31
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/MemoryPreferencesPage.java22
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/MemoryProfileConstants.java26
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/launch/MemoryLaunchConfigurationDelegate.java36
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/launch/MemoryLaunchShortcut.java34
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/launch/Messages.java27
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/launch/messages.properties14
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.provider/plugin.xml192
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/AbstractProviderPreferencesPage.java51
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/ProviderLaunchConfigurationTabGroup.java62
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/ProviderOptionsTab.java45
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/ProviderProfileConstants.java40
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/launch/ProviderLaunchConfigurationDelegate.java14
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/launch/ProviderLaunchShortcut.java59
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.snapshot/.classpath7
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.snapshot/.project34
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.snapshot/.settings/org.eclipse.jdt.core.prefs109
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.snapshot/META-INF/MANIFEST.MF15
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.snapshot/about.html28
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.snapshot/build.properties6
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.snapshot/plugin.xml84
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.snapshot/pom.xml44
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotConstants.java39
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotLaunchConfigurationTabGroup.java33
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotOptionsTab.java30
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotPreferencesPage.java26
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/launch/SnapshotLaunchConfigurationDelegate.java32
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/launch/SnapshotLaunchShortcut.java32
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.time/.classpath7
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.time/.project28
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.time/.settings/org.eclipse.jdt.core.prefs105
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.time/META-INF/MANIFEST.MF16
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.time/about.html28
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.time/build.properties6
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.time/plugin.xml84
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.time/pom.xml26
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/TimeConstants.java37
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/TimeLaunchConfigurationTabGroup.java33
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/TimeOptionsTab.java29
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/TimePreferencesPage.java26
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/launch/TimeLaunchConfigurationDelegate.java33
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/launch/TimeLaunchShortcut.java32
-rw-r--r--profiling/pom.xml2
-rw-r--r--systemtap/org.eclipse.linuxtools.callgraph.launch/plugin.xml4
55 files changed, 425 insertions, 1502 deletions
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.launch/plugin.xml b/oprofile/org.eclipse.linuxtools.oprofile.launch/plugin.xml
index a5ff386..00368a4 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.launch/plugin.xml
+++ b/oprofile/org.eclipse.linuxtools.oprofile.launch/plugin.xml
@@ -136,7 +136,7 @@
priority="2"
shortcut="org.eclipse.linuxtools.internal.oprofile.launch.launching.OprofileLaunchShortcut"
tabgroup="org.eclipse.linuxtools.internal.oprofile.launch.configuration.OprofileLaunchConfigurationTabGroup"
- type="snapshot">
+ type="timing">
</provider>
</extension>
</plugin>
diff --git a/perf/org.eclipse.linuxtools.perf/plugin.xml b/perf/org.eclipse.linuxtools.perf/plugin.xml
index 4db4b15..c50caf5 100644
--- a/perf/org.eclipse.linuxtools.perf/plugin.xml
+++ b/perf/org.eclipse.linuxtools.perf/plugin.xml
@@ -142,7 +142,7 @@
priority="1"
shortcut="org.eclipse.linuxtools.internal.perf.launch.PerfLaunchShortcut"
tabgroup="org.eclipse.linuxtools.internal.perf.launch.PerfLaunchConfigurationTabGroup"
- type="snapshot">
+ type="timing">
</provider>
</extension>
</plugin>
diff --git a/profiling/org.eclipse.linuxtools.profiling.memory/.classpath b/profiling/org.eclipse.linuxtools.profiling.memory/.classpath
deleted file mode 100644
index ad32c83..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.memory/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/profiling/org.eclipse.linuxtools.profiling.memory/.project b/profiling/org.eclipse.linuxtools.profiling.memory/.project
deleted file mode 100644
index 5b6bbdd..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.memory/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.linuxtools.profiling.memory</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/profiling/org.eclipse.linuxtools.profiling.memory/.settings/org.eclipse.jdt.core.prefs b/profiling/org.eclipse.linuxtools.profiling.memory/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index c537b63..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.memory/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.6
diff --git a/profiling/org.eclipse.linuxtools.profiling.memory/META-INF/MANIFEST.MF b/profiling/org.eclipse.linuxtools.profiling.memory/META-INF/MANIFEST.MF
deleted file mode 100644
index ad6e02e..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.memory/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,16 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Memory Profiling Plugin
-Bundle-SymbolicName: org.eclipse.linuxtools.profiling.memory;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: Eclipse
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.debug.ui,
- org.eclipse.ui.ide,
- org.eclipse.linuxtools.profiling.provider;bundle-version="1.2.0"
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Import-Package: org.eclipse.cdt.core.model,
- org.eclipse.cdt.launch,
- org.eclipse.linuxtools.internal.profiling.launch,
- org.eclipse.linuxtools.profiling.launch
diff --git a/profiling/org.eclipse.linuxtools.profiling.memory/about.html b/profiling/org.eclipse.linuxtools.profiling.memory/about.html
deleted file mode 100644
index c258ef5..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.memory/about.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About</title>
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 5, 2006</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-
-</body>
-</html> \ No newline at end of file
diff --git a/profiling/org.eclipse.linuxtools.profiling.memory/build.properties b/profiling/org.eclipse.linuxtools.profiling.memory/build.properties
deleted file mode 100644
index 95ab5a9..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.memory/build.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = plugin.xml,\
- META-INF/,\
- .,\
- about.html
diff --git a/profiling/org.eclipse.linuxtools.profiling.memory/plugin.xml b/profiling/org.eclipse.linuxtools.profiling.memory/plugin.xml
deleted file mode 100644
index 79e1c49..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.memory/plugin.xml
+++ /dev/null
@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
- <extension
- id="org.eclipse.linuxtools.profiling.memory.launch"
- name="Profile Memory"
- point="org.eclipse.debug.ui.launchShortcuts">
- <shortcut
- class="org.eclipse.linuxtools.profiling.memory.launch.MemoryLaunchShortcut"
- id="org.eclipse.linuxtools.profiling.memory"
- label="Profile Memory"
- modes="profile">
-
- <contextualLaunch>
- <enablement>
- <with
- variable="selection">
- <count
- value="1">
- </count>
- <iterate>
- <or>
- <instanceof
- value="org.eclipse.cdt.core.model.IBinary">
- </instanceof>
- <instanceof
- value="org.eclipse.cdt.core.model.ICProject">
- </instanceof>
- <test
- property="org.eclipse.cdt.launch.isExecutable">
- </test>
- <test
- property="org.eclipse.cdt.launch.isCProject">
- </test>
- <and>
- <instanceof
- value="org.eclipse.ui.IFileEditorInput">
- </instanceof>
- <adapt
- type="org.eclipse.core.resources.IResource">
- <adapt
- type="org.eclipse.cdt.core.model.ICElement">
- </adapt>
- </adapt>
- </and>
- </or>
- </iterate>
- </with>
- </enablement>
- </contextualLaunch>
- </shortcut>
- </extension>
- <extension
- point="org.eclipse.debug.ui.launchConfigurationTabGroups">
- <launchConfigurationTabGroup
- class="org.eclipse.linuxtools.profiling.memory.MemoryLaunchConfigurationTabGroup"
- id="org.eclipse.linuxtools.profiling.memory.launchConfigurationTabGroup"
- type="org.eclipse.linuxtools.profiling.memory.launchConfigurationType">
- </launchConfigurationTabGroup>
- </extension>
- <extension
- point="org.eclipse.debug.core.launchConfigurationTypes">
- <launchConfigurationType
- delegate="org.eclipse.linuxtools.profiling.memory.launch.MemoryLaunchConfigurationDelegate"
- id="org.eclipse.linuxtools.profiling.memory.launchConfigurationType"
- modes="profile"
- name="Profile Memory"
- public="true"
- sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
- sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
- </launchConfigurationType>
- </extension>
- <extension
- point="org.eclipse.ui.preferencePages">
- <page
- category="org.eclipse.linuxtools.profiling.provider.MainPreferencePage"
- class="org.eclipse.linuxtools.profiling.memory.MemoryPreferencesPage"
- id="org.eclipse.linuxtools.profiling.memory.MainPreferencePage"
- name="Memory">
- </page>
- </extension>
-
-
-</plugin>
diff --git a/profiling/org.eclipse.linuxtools.profiling.memory/pom.xml b/profiling/org.eclipse.linuxtools.profiling.memory/pom.xml
deleted file mode 100644
index 654a9d6..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.memory/pom.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (C) 2011, Red Hat, Inc.
-
- All rights reserved. This program and the accompanying materials
- are made available under the terms of the Eclipse Public License v1.0
- which accompanies this distribution, and is available at
- http://www.eclipse.org/legal/epl-v10.html
--->
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <artifactId>linuxtools-profiling-parent</artifactId>
- <groupId>org.eclipse.linuxtools.profiling</groupId>
- <version>1.2.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>org.eclipse.linuxtools.profiling.memory</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
- <name>Linux Tools Profiling Memory Launch Plug-in</name>
-
- <build>
- <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 -->
- <resources>
- <resource>
- <directory>src</directory>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-source-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/MemoryLaunchConfigurationTabGroup.java b/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/MemoryLaunchConfigurationTabGroup.java
deleted file mode 100644
index a0034e4..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/MemoryLaunchConfigurationTabGroup.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.profiling.memory;
-
-import java.util.ArrayList;
-
-import org.eclipse.debug.ui.AbstractLaunchConfigurationTab;
-import org.eclipse.linuxtools.profiling.launch.ProfileLaunchConfigurationTabGroup;
-
-/**
- *
- * Special version of ProfileLaunchConfigurationTabGroup that accesses the tab group from
- * the chosen memory profiling provider.
- *
- */
-public class MemoryLaunchConfigurationTabGroup extends
- ProfileLaunchConfigurationTabGroup {
-
- @Override
- public AbstractLaunchConfigurationTab[] getProfileTabs() {
- ArrayList<AbstractLaunchConfigurationTab> tabs = new ArrayList<AbstractLaunchConfigurationTab>();
- tabs.add(new MemoryOptionsTab());
-
- return tabs.toArray(new AbstractLaunchConfigurationTab [] {});
- }
-
-}
diff --git a/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/MemoryOptionsTab.java b/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/MemoryOptionsTab.java
deleted file mode 100644
index 9b3ef19..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/MemoryOptionsTab.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.profiling.memory;
-
-import org.eclipse.linuxtools.internal.profiling.provider.ProviderOptionsTab;
-
-/**
- * The options tab used for this plug-in's launch configuration tab group.
- *
- */
-public class MemoryOptionsTab extends ProviderOptionsTab {
-
- @Override
- public String getName() {
- return MemoryProfileConstants.PLUGIN_NAME;
- }
-
- @Override
- protected String getProfilingType() {
- return MemoryProfileConstants.PROFILING_TYPE;
- }
-
-} \ No newline at end of file
diff --git a/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/MemoryPreferencesPage.java b/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/MemoryPreferencesPage.java
deleted file mode 100644
index 5ce1434..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/MemoryPreferencesPage.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.linuxtools.profiling.memory;
-
-import org.eclipse.linuxtools.internal.profiling.provider.AbstractProviderPreferencesPage;
-
-public class MemoryPreferencesPage extends AbstractProviderPreferencesPage {
-
- @Override
- public String getProfilingType() {
- return MemoryProfileConstants.PROFILING_TYPE;
- }
-} \ No newline at end of file
diff --git a/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/MemoryProfileConstants.java b/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/MemoryProfileConstants.java
deleted file mode 100644
index 7221b15..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/MemoryProfileConstants.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- ******************************************************************************/
-package org.eclipse.linuxtools.profiling.memory;
-
-public class MemoryProfileConstants {
- // The plug-in ID
- public static final String PLUGIN_ID = "org.eclipse.linuxtools.profiling.memory"; //$NON-NLS-1$
-
- // Type of profiling this plug-in supports
- public static final String PROFILING_TYPE = "memory"; //$NON-NLS-1$
-
- // Plug-in id of snapshot launch configuration type
- public static final String PLUGIN_CONFIG_ID = "org.eclipse.linuxtools.profiling.memory.launchConfigurationType"; //$NON-NLS-1$
-
- // Plug-in name
- public static final String PLUGIN_NAME = "Memory"; //$NON-NLS-1$
-
-}
diff --git a/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/launch/MemoryLaunchConfigurationDelegate.java b/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/launch/MemoryLaunchConfigurationDelegate.java
deleted file mode 100644
index e225d4f..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/launch/MemoryLaunchConfigurationDelegate.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.profiling.memory.launch;
-
-
-import org.eclipse.linuxtools.internal.profiling.provider.launch.ProviderLaunchConfigurationDelegate;
-import org.eclipse.linuxtools.profiling.memory.MemoryProfileConstants;
-
-/**
- *
- * Special version of ProfileLaunchConfigurationDelegate that proxies to use
- * the delegate from the chosen memory profiling provider.
- *
- */
-public class MemoryLaunchConfigurationDelegate extends
- ProviderLaunchConfigurationDelegate {
-
- @Override
- protected String getPluginID() {
- return MemoryProfileConstants.PLUGIN_ID;
- }
-
- @Override
- public String getProfilingType() {
- return MemoryProfileConstants.PROFILING_TYPE;
- }
-
-}
diff --git a/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/launch/MemoryLaunchShortcut.java b/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/launch/MemoryLaunchShortcut.java
deleted file mode 100644
index bf0d1ad..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/launch/MemoryLaunchShortcut.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.profiling.memory.launch;
-
-import org.eclipse.linuxtools.internal.profiling.provider.launch.ProviderLaunchShortcut;
-import org.eclipse.linuxtools.profiling.memory.MemoryProfileConstants;
-
-/**
- *
- * Profiling short-cut proxy that uses the launch short-cut for the
- * chosen memory profiling provider.
- *
- */
-public class MemoryLaunchShortcut extends ProviderLaunchShortcut {
-
- @Override
- protected String getLaunchConfigID() {
- return MemoryProfileConstants.PLUGIN_CONFIG_ID;
- }
-
- @Override
- public String getProfilingType() {
- return MemoryProfileConstants.PROFILING_TYPE;
- }
-
-}
diff --git a/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/launch/Messages.java b/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/launch/Messages.java
deleted file mode 100644
index 964ab7b..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/launch/Messages.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.profiling.memory.launch;
-
-import org.eclipse.osgi.util.NLS;
-
-public class Messages extends NLS {
- private static final String BUNDLE_NAME = "org.eclipse.linuxtools.profiling.memory.launch.messages"; //$NON-NLS-1$
- public static String MemoryLaunchShortcut_0;
- public static String MemoryPreferencesPage_0;
- public static String MemoryPreferencesPage_1;
- static {
- // initialize resource bundle
- NLS.initializeMessages(BUNDLE_NAME, Messages.class);
- }
-
- private Messages() {
- }
-}
diff --git a/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/launch/messages.properties b/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/launch/messages.properties
deleted file mode 100644
index c60d267..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.memory/src/org/eclipse/linuxtools/profiling/memory/launch/messages.properties
+++ /dev/null
@@ -1,14 +0,0 @@
-#################################################################################
-# Copyright (c) 2012 Red Hat, Inc.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# Red Hat initial API and implementation
-#################################################################################
-MemoryLaunchShortcut_0=Could not find a provider for profiling type :
-MemoryPreferencesPage_0=Profiling Preferences
-MemoryPreferencesPage_1=Choose default memory launch provider
-
diff --git a/profiling/org.eclipse.linuxtools.profiling.provider/plugin.xml b/profiling/org.eclipse.linuxtools.profiling.provider/plugin.xml
index 2305d91..49278aa 100644
--- a/profiling/org.eclipse.linuxtools.profiling.provider/plugin.xml
+++ b/profiling/org.eclipse.linuxtools.profiling.provider/plugin.xml
@@ -9,6 +9,194 @@
name="Profiling">
</page>
</extension>
-
-
+ <extension
+ id="org.eclipse.linuxtools.profiling.timing.launch"
+ name="Profile Timing"
+ point="org.eclipse.debug.ui.launchShortcuts">
+ <shortcut
+ id="org.eclipse.linuxtools.profiling.provider.TimingLaunchShortcut"
+ label="Profile Timing"
+ modes="profile">
+ <class class="org.eclipse.linuxtools.internal.profiling.provider.launch.ProviderLaunchShortcut">
+ <parameter
+ name="type"
+ value="timing"/>
+ <parameter
+ name="configurationId"
+ value="org.eclipse.linuxtools.profiling.provider.TimingLaunchConfigurationType"/>
+ </class>
+ <contextualLaunch>
+ <enablement>
+ <with
+ variable="selection">
+ <count
+ value="1">
+ </count>
+ <iterate>
+ <or>
+ <instanceof
+ value="org.eclipse.cdt.core.model.IBinary">
+ </instanceof>
+ <instanceof
+ value="org.eclipse.cdt.core.model.ICProject">
+ </instanceof>
+ <test
+ property="org.eclipse.cdt.launch.isExecutable">
+ </test>
+ <test
+ property="org.eclipse.cdt.launch.isCProject">
+ </test>
+ <and>
+ <instanceof
+ value="org.eclipse.ui.IFileEditorInput">
+ </instanceof>
+ <adapt
+ type="org.eclipse.core.resources.IResource">
+ <adapt
+ type="org.eclipse.cdt.core.model.ICElement">
+ </adapt>
+ </adapt>
+ </and>
+ </or>
+ </iterate>
+ </with>
+ </enablement>
+ </contextualLaunch>
+ </shortcut>
+ </extension>
+ <extension
+ point="org.eclipse.debug.ui.launchConfigurationTabGroups">
+ <launchConfigurationTabGroup
+ id="org.eclipse.linuxtools.profiling.provider.TimingLaunchConfigurationTabGroup"
+ type="org.eclipse.linuxtools.profiling.provider.TimingLaunchConfigurationType">
+ <class class="org.eclipse.linuxtools.internal.profiling.provider.ProviderLaunchConfigurationTabGroup">
+ <parameter
+ name="type"
+ value="timing"/>
+ <parameter
+ name="name"
+ value="Timing"/>
+ </class>
+ </launchConfigurationTabGroup>
+ </extension>
+ <extension
+ point="org.eclipse.debug.core.launchConfigurationTypes">
+ <launchConfigurationType
+ delegate="org.eclipse.linuxtools.internal.profiling.provider.launch.ProviderLaunchConfigurationDelegate"
+ id="org.eclipse.linuxtools.profiling.provider.TimingLaunchConfigurationType"
+ modes="profile"
+ name="Profile Timing"
+ public="true"
+ sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
+ sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
+ </launchConfigurationType>
+ </extension>
+ <extension
+ point="org.eclipse.ui.preferencePages">
+ <page
+ category="org.eclipse.linuxtools.profiling.provider.MainPreferencePage"
+ id="org.eclipse.linuxtools.profiling.provider.TimingPreferencePage"
+ name="Timing">
+ <class class="org.eclipse.linuxtools.internal.profiling.provider.AbstractProviderPreferencesPage">
+ <parameter
+ name="type"
+ value="timing"/>
+ </class>
+ </page>
+ </extension>
+ <extension
+ id="org.eclipse.linuxtools.profiling.memory.launch"
+ name="Profile Memory"
+ point="org.eclipse.debug.ui.launchShortcuts">
+ <shortcut
+ id="org.eclipse.linuxtools.profiling.provider.MemoryLaunchShortcut"
+ label="Profile Memory"
+ modes="profile">
+ <class class="org.eclipse.linuxtools.internal.profiling.provider.launch.ProviderLaunchShortcut">
+ <parameter
+ name="type"
+ value="memory"/>
+ <parameter
+ name="configurationId"
+ value="org.eclipse.linuxtools.profiling.provider.MemoryLaunchConfigurationType"/>
+ </class>
+ <contextualLaunch>
+ <enablement>
+ <with
+ variable="selection">
+ <count
+ value="1">
+ </count>
+ <iterate>
+ <or>
+ <instanceof
+ value="org.eclipse.cdt.core.model.IBinary">
+ </instanceof>
+ <instanceof
+ value="org.eclipse.cdt.core.model.ICProject">
+ </instanceof>
+ <test
+ property="org.eclipse.cdt.launch.isExecutable">
+ </test>
+ <test
+ property="org.eclipse.cdt.launch.isCProject">
+ </test>
+ <and>
+ <instanceof
+ value="org.eclipse.ui.IFileEditorInput">
+ </instanceof>
+ <adapt
+ type="org.eclipse.core.resources.IResource">
+ <adapt
+ type="org.eclipse.cdt.core.model.ICElement">
+ </adapt>
+ </adapt>
+ </and>
+ </or>
+ </iterate>
+ </with>
+ </enablement>
+ </contextualLaunch>
+ </shortcut>
+ </extension>
+ <extension
+ point="org.eclipse.debug.ui.launchConfigurationTabGroups">
+ <launchConfigurationTabGroup
+ id="org.eclipse.linuxtools.profiling.provider.MemoryLaunchConfigurationTabGroup"
+ type="org.eclipse.linuxtools.profiling.provider.MemoryLaunchConfigurationType">
+ <class class="org.eclipse.linuxtools.internal.profiling.provider.ProviderLaunchConfigurationTabGroup">
+ <parameter
+ name="type"
+ value="memory"/>
+ <parameter
+ name="name"
+ value="Memory"/>
+ </class>
+ </launchConfigurationTabGroup>
+ </extension>
+ <extension
+ point="org.eclipse.debug.core.launchConfigurationTypes">
+ <launchConfigurationType
+ delegate="org.eclipse.linuxtools.internal.profiling.provider.launch.ProviderLaunchConfigurationDelegate"
+ id="org.eclipse.linuxtools.profiling.provider.MemoryLaunchConfigurationType"
+ modes="profile"
+ name="Profile Memory"
+ public="true"
+ sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
+ sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
+ </launchConfigurationType>
+ </extension>
+ <extension
+ point="org.eclipse.ui.preferencePages">
+ <page
+ category="org.eclipse.linuxtools.profiling.provider.MainPreferencePage"
+ id="org.eclipse.linuxtools.profiling.provider.MemoryPreferencePage"
+ name="Memory">
+ <class class="org.eclipse.linuxtools.internal.profiling.provider.AbstractProviderPreferencesPage">
+ <parameter
+ name="type"
+ value="memory"/>
+ </class>
+ </page>
+ </extension>
</plugin>
diff --git a/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/AbstractProviderPreferencesPage.java b/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/AbstractProviderPreferencesPage.java
index a3b75ad..c26bfa5 100644
--- a/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/AbstractProviderPreferencesPage.java
+++ b/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/AbstractProviderPreferencesPage.java
@@ -11,10 +11,12 @@
package org.eclipse.linuxtools.internal.profiling.provider;
import java.util.HashMap;
+import java.util.Hashtable;
import java.util.Map.Entry;
+import org.eclipse.core.runtime.IConfigurationElement;
+import org.eclipse.core.runtime.IExecutableExtension;
import org.eclipse.core.runtime.preferences.ConfigurationScope;
-import org.eclipse.core.runtime.preferences.IScopeContext;
import org.eclipse.jface.preference.FieldEditorPreferencePage;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.preference.RadioGroupFieldEditor;
@@ -25,11 +27,24 @@ import org.eclipse.linuxtools.internal.profiling.provider.launch.Messages;
import org.eclipse.linuxtools.profiling.launch.ProfileLaunchConfigurationTabGroup;
import org.eclipse.linuxtools.profiling.launch.ProfileLaunchShortcut;
-public abstract class AbstractProviderPreferencesPage extends
- FieldEditorPreferencePage implements IWorkbenchPreferencePage {
+public class AbstractProviderPreferencesPage extends
+ FieldEditorPreferencePage implements IWorkbenchPreferencePage, IExecutableExtension {
- private static IScopeContext configScopeInstance = ConfigurationScope.INSTANCE;
- public static final String PREFS_KEY = "provider"; //$NON-NLS-1$
+ // Profiling type
+ private String type;
+
+ public void setInitializationData(IConfigurationElement config,
+ String propertyName, Object data) {
+ Hashtable<String, String> parameters = (Hashtable<String, String>) data;
+ String profilingType = parameters
+ .get(ProviderProfileConstants.INIT_DATA_TYPE_KEY);
+
+ if (profilingType == null) {
+ profilingType = "";
+ }
+
+ setProfilingType(profilingType);
+ }
public AbstractProviderPreferencesPage() {
super(GRID);
@@ -37,7 +52,7 @@ public abstract class AbstractProviderPreferencesPage extends
public void init(IWorkbench workbench) {
final IPreferenceStore store = new ScopedPreferenceStore(
- configScopeInstance, getProfilingType());
+ ConfigurationScope.INSTANCE, type);
setPreferenceStore(store);
}
@@ -45,16 +60,16 @@ public abstract class AbstractProviderPreferencesPage extends
public void initializeDefaultPreferences() {
super.performDefaults();
String providerId = ProfileLaunchShortcut
- .getDefaultLaunchShortcutProviderId(getProfilingType());
- configScopeInstance.getNode(getProfilingType())
- .put(PREFS_KEY, providerId);
+ .getDefaultLaunchShortcutProviderId(type);
+ ConfigurationScope.INSTANCE.getNode(type)
+ .put(ProviderProfileConstants.PREFS_KEY, providerId);
}
@Override
protected void createFieldEditors() {
HashMap<String, String> map = ProfileLaunchConfigurationTabGroup
- .getProviderNamesForType(getProfilingType());
+ .getProviderNamesForType(type);
// 2d array containing launch provider names on the first column and
// corresponding id's on the second.
String[][] providerList = new String[map.size()][2];
@@ -64,18 +79,20 @@ public abstract class AbstractProviderPreferencesPage extends
providerList[i][1] = entry.getValue();
i++;
}
- RadioGroupFieldEditor editor = new RadioGroupFieldEditor(PREFS_KEY,
- Messages.ProviderPreferencesPage_1, 1, providerList,
- getFieldEditorParent());
+ RadioGroupFieldEditor editor = new RadioGroupFieldEditor(
+ ProviderProfileConstants.PREFS_KEY,
+ Messages.ProviderPreferencesPage_1, 1, providerList,
+ getFieldEditorParent());
addField(editor);
}
/**
- * Get profiling type of this plug-in.
+ * Set profiling type.
*
- * @return String profiling type this plug-in supports.
+ * @param profilingType String profiling type.
*/
- protected abstract String getProfilingType();
-
+ private void setProfilingType(String profilingType) {
+ type = profilingType;
+ }
}
diff --git a/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/ProviderLaunchConfigurationTabGroup.java b/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/ProviderLaunchConfigurationTabGroup.java
index 3667840..4cef72e 100644
--- a/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/ProviderLaunchConfigurationTabGroup.java
+++ b/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/ProviderLaunchConfigurationTabGroup.java
@@ -10,9 +10,65 @@
*******************************************************************************/
package org.eclipse.linuxtools.internal.profiling.provider;
+import java.util.ArrayList;
+import java.util.Map;
+
+import org.eclipse.core.runtime.IConfigurationElement;
+import org.eclipse.core.runtime.IExecutableExtension;
+import org.eclipse.debug.ui.AbstractLaunchConfigurationTab;
import org.eclipse.linuxtools.profiling.launch.ProfileLaunchConfigurationTabGroup;
-public abstract class ProviderLaunchConfigurationTabGroup extends
- ProfileLaunchConfigurationTabGroup {
- // Marker for a our own tab kind.
+public class ProviderLaunchConfigurationTabGroup extends
+ ProfileLaunchConfigurationTabGroup implements IExecutableExtension {
+
+ // Profiling type.
+ private String type;
+
+ // Profiling type name to be displayed.
+ private String name;
+
+ public void setInitializationData(IConfigurationElement config,
+ String propertyName, Object data) {
+ Map<String, String> parameters = (Map<String, String>) data;
+ String profilingType = parameters
+ .get(ProviderProfileConstants.INIT_DATA_TYPE_KEY);
+ String profilingTypeName = parameters
+ .get(ProviderProfileConstants.INIT_DATA_NAME_KEY);
+
+ if (profilingType == null) {
+ profilingType = "";
+ }
+ if (profilingTypeName == null) {
+ profilingTypeName = "";
+ }
+
+ setProfilingType(profilingType);
+ setProfilingTypeName(profilingTypeName);
+ }
+
+ @Override
+ public AbstractLaunchConfigurationTab[] getProfileTabs() {
+ ArrayList<AbstractLaunchConfigurationTab> tabs = new ArrayList<AbstractLaunchConfigurationTab>();
+ tabs.add(new ProviderOptionsTab(type, name));
+
+ return tabs.toArray(new AbstractLaunchConfigurationTab [] {});
+ }
+
+ /**
+ * Set profiling type.
+ *
+ * @param profilingType
+ */
+ private void setProfilingType(String profilingType) {
+ type = profilingType;
+ }
+
+ /**
+ * Set profiling type name to be displayed.
+ *
+ * @param profilingTypeName
+ */
+ private void setProfilingTypeName(String profilingTypeName) {
+ name = profilingTypeName;
+ }
}
diff --git a/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/ProviderOptionsTab.java b/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/ProviderOptionsTab.java
index 8a36a29..6fff9b4 100644
--- a/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/ProviderOptionsTab.java
+++ b/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/ProviderOptionsTab.java
@@ -33,19 +33,31 @@ import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Composite;
-public abstract class ProviderOptionsTab extends ProfileLaunchConfigurationTab {
+public class ProviderOptionsTab extends ProfileLaunchConfigurationTab {
+ String type;
+ String name;
Composite top;
Combo providerCombo;
AbstractLaunchConfigurationTab[] tabs;
ILaunchConfiguration initial;
HashMap<String, String> comboItems;
CTabFolder tabgroup;
- public static final String PROVIDER_CONFIG_ATT = "provider"; //$NON-NLS-1$
// if tabs are being initialized do not call performApply()
HashMap<String, Boolean> initialized = new HashMap<String, Boolean> ();
+ /**
+ * ProviderOptionsTab constructor.
+ *
+ * @param profilingType String type of profiling this tab will be used for.
+ * @param profilingName String name of this tab to be displayed.
+ */
+ public ProviderOptionsTab(String profilingType, String profilingName) {
+ type = profilingType;
+ name = profilingName;
+ }
+
public void createControl(Composite parent) {
top = new Composite(parent, SWT.NONE);
setControl(top);
@@ -141,7 +153,8 @@ public abstract class ProviderOptionsTab extends ProfileLaunchConfigurationTab {
// check if there exists a launch provider id in the configuration
if (initial != null) {
try {
- String providerId = initial.getAttribute(PROVIDER_CONFIG_ATT, "");
+ String providerId = initial.getAttribute(
+ ProviderProfileConstants.PROVIDER_CONFIG_ATT, "");
if (providerId != null && !providerId.equals("")) {
// load provider corresponding to specified id
loadTabGroupItems(tabgroup, providerId);
@@ -185,7 +198,8 @@ public abstract class ProviderOptionsTab extends ProfileLaunchConfigurationTab {
private void setProvider(String providerId) {
try {
ILaunchConfigurationWorkingCopy wc = initial.getWorkingCopy();
- wc.setAttribute(PROVIDER_CONFIG_ATT, providerId);
+ wc.setAttribute(ProviderProfileConstants.PROVIDER_CONFIG_ATT,
+ providerId);
initial = wc.doSave();
} catch (CoreException e1) {
e1.printStackTrace();
@@ -201,7 +215,8 @@ public abstract class ProviderOptionsTab extends ProfileLaunchConfigurationTab {
*/
private String getProviderId() {
try {
- return initial.getAttribute(PROVIDER_CONFIG_ATT, "");
+ return initial.getAttribute(
+ ProviderProfileConstants.PROVIDER_CONFIG_ATT, "");
} catch (CoreException e) {
return "";
}
@@ -253,7 +268,8 @@ public abstract class ProviderOptionsTab extends ProfileLaunchConfigurationTab {
public boolean isValid(ILaunchConfiguration config) {
String provider;
try {
- provider = config.getAttribute(PROVIDER_CONFIG_ATT, "");
+ provider = config.getAttribute(
+ ProviderProfileConstants.PROVIDER_CONFIG_ATT, "");
} catch (CoreException e) {
setErrorMessage(e.getMessage());
return false;
@@ -266,9 +282,20 @@ public abstract class ProviderOptionsTab extends ProfileLaunchConfigurationTab {
}
/**
- * Get profiling type of this plug-in.
- *
+ * Get profiling type of the configuration.
+ *
* @return String profiling type this plug-in supports.
*/
- protected abstract String getProfilingType();
+ protected String getProfilingType() {
+ return type;
+ }
+
+ /**
+ * Get name of profiling type that used for this tab.
+ *
+ * @return String profiling name.
+ */
+ public String getName() {
+ return name;
+ }
}
diff --git a/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/ProviderProfileConstants.java b/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/ProviderProfileConstants.java
new file mode 100644
index 0000000..e972717
--- /dev/null
+++ b/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/ProviderProfileConstants.java
@@ -0,0 +1,40 @@
+package org.eclipse.linuxtools.internal.profiling.provider;
+
+/**
+ * Container class for various constants
+ */
+public class ProviderProfileConstants {
+
+ /**
+ * The plug-in id.
+ */
+ public static final String PLUGIN_ID = "org.eclipse.linuxtools.profiling.provider"; //$NON-NLS-1$
+
+ /**
+ * Profiling preferences key.
+ */
+ public static final String PREFS_KEY = "provider"; //$NON-NLS-1$
+
+ /**
+ * Key to acquire the extension point class parameter containing the
+ * profiling type.
+ */
+ public static final String INIT_DATA_TYPE_KEY = "type"; //$NON-NLS-1$
+
+ /**
+ * Key to acquire the extension point class parameter containing the name to
+ * be used by the options tab.
+ */
+ public static final String INIT_DATA_NAME_KEY = "name"; //$NON-NLS-1$
+
+ /**
+ * Key to acquire the extension point class parameter containing the
+ * configuration type identifier.
+ */
+ public static final String INIT_DATA_CONFIG_ID_KEY = "configurationId"; //$NON-NLS-1$
+
+ /**
+ * Key to acquire the provider launch configuration attribute.
+ */
+ public static final String PROVIDER_CONFIG_ATT = "provider"; //$NON-NLS-1$
+}
diff --git a/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/launch/ProviderLaunchConfigurationDelegate.java b/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/launch/ProviderLaunchConfigurationDelegate.java
index 9783b9e..a2e83c7 100644
--- a/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/launch/ProviderLaunchConfigurationDelegate.java
+++ b/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/launch/ProviderLaunchConfigurationDelegate.java
@@ -15,13 +15,12 @@ import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.preferences.ConfigurationScope;
import org.eclipse.debug.core.ILaunch;
import org.eclipse.debug.core.ILaunchConfiguration;
-import org.eclipse.linuxtools.internal.profiling.provider.AbstractProviderPreferencesPage;
-import org.eclipse.linuxtools.internal.profiling.provider.ProviderOptionsTab;
+import org.eclipse.linuxtools.internal.profiling.provider.ProviderProfileConstants;
import org.eclipse.linuxtools.profiling.launch.ProfileLaunchConfigurationDelegate;
import org.eclipse.linuxtools.profiling.launch.ProfileLaunchConfigurationTabGroup;
import org.eclipse.linuxtools.profiling.launch.ProfileLaunchShortcut;
-public abstract class ProviderLaunchConfigurationDelegate extends
+public class ProviderLaunchConfigurationDelegate extends
ProfileLaunchConfigurationDelegate {
@Override
@@ -32,7 +31,7 @@ public abstract class ProviderLaunchConfigurationDelegate extends
if (config != null) {
// get provider id from configuration.
String providerId = config.getAttribute(
- ProviderOptionsTab.PROVIDER_CONFIG_ATT, "");
+ ProviderProfileConstants.PROVIDER_CONFIG_ATT, "");
// get delegate associated with provider id.
ProfileLaunchConfigurationDelegate delegate = getConfigurationDelegateFromId(providerId);
@@ -62,7 +61,7 @@ public abstract class ProviderLaunchConfigurationDelegate extends
public static String getProviderIdToRun(String type) {
// Look in the preferences for a provider
String providerId = ConfigurationScope.INSTANCE.getNode(type).get(
- AbstractProviderPreferencesPage.PREFS_KEY, "");
+ ProviderProfileConstants.PREFS_KEY, "");
if (providerId.equals("") || getConfigurationDelegateFromId(providerId) == null) {
// Get highest priority provider
providerId = ProfileLaunchConfigurationTabGroup
@@ -81,6 +80,9 @@ public abstract class ProviderLaunchConfigurationDelegate extends
return null;
}
- public abstract String getProfilingType();
+ @Override
+ protected String getPluginID() {
+ return ProviderProfileConstants.PLUGIN_ID;
+ }
}
diff --git a/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/launch/ProviderLaunchShortcut.java b/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/launch/ProviderLaunchShortcut.java
index 323f601..6e2e331 100644
--- a/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/launch/ProviderLaunchShortcut.java
+++ b/profiling/org.eclipse.linuxtools.profiling.provider/src/org/eclipse/linuxtools/internal/profiling/provider/launch/ProviderLaunchShortcut.java
@@ -14,17 +14,44 @@ import java.util.Map;
import org.eclipse.cdt.core.model.IBinary;
import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IConfigurationElement;
+import org.eclipse.core.runtime.IExecutableExtension;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.ILaunchConfigurationType;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
import org.eclipse.debug.ui.ILaunchConfigurationTab;
import org.eclipse.jface.operation.IRunnableWithProgress;
-import org.eclipse.linuxtools.internal.profiling.provider.ProviderOptionsTab;
+import org.eclipse.linuxtools.internal.profiling.provider.ProviderProfileConstants;
import org.eclipse.linuxtools.profiling.launch.ProfileLaunchConfigurationTabGroup;
import org.eclipse.linuxtools.profiling.launch.ProfileLaunchShortcut;
-public abstract class ProviderLaunchShortcut extends ProfileLaunchShortcut {
+public class ProviderLaunchShortcut extends ProfileLaunchShortcut implements IExecutableExtension {
+
+ // Profiling type.
+ private String type;
+
+ // Launch configuration type id.
+ private String launchConfigId;
+
+ public void setInitializationData(IConfigurationElement config,
+ String propertyName, Object data) {
+ Map<String, String> parameters = (Map<String, String>) data;
+ String profilingType = parameters
+ .get(ProviderProfileConstants.INIT_DATA_TYPE_KEY);
+ String configId = parameters
+ .get(ProviderProfileConstants.INIT_DATA_CONFIG_ID_KEY);
+
+ if (profilingType == null) {
+ profilingType = "";
+ }
+ if (configId == null) {
+ configId = "";
+ }
+
+ setLaunchConfigID(configId);
+ setProfilingType(profilingType);
+ }
@Override
protected ILaunchConfigurationType getLaunchConfigType() {
@@ -189,7 +216,25 @@ public abstract class ProviderLaunchShortcut extends ProfileLaunchShortcut {
// set attributes related to the specific profiling shortcut configuration.
shortcut.setDefaultProfileLaunchShortcutAttributes(wc);
- wc.setAttribute(ProviderOptionsTab.PROVIDER_CONFIG_ATT, providerId);
+ wc.setAttribute(ProviderProfileConstants.PROVIDER_CONFIG_ATT,
+ providerId);
+ }
+
+ /**
+ * Get name of profiling type that used for this tab.
+ *
+ * @return String profiling name.
+ */
+ private void setProfilingType(String profilingType) {
+ type = profilingType;
+ }
+ /**
+ * Set launch configuration type id.
+ *
+ * @param configId String configuration type id.
+ */
+ private void setLaunchConfigID(String configId) {
+ launchConfigId = configId;
}
/**
@@ -197,8 +242,12 @@ public abstract class ProviderLaunchShortcut extends ProfileLaunchShortcut {
*
* @return String profiling type this plug-in supports.
*/
- protected abstract String getLaunchConfigID();
+ private String getLaunchConfigID() {
+ return launchConfigId;
+ }
- public abstract String getProfilingType();
+ public String getProfilingType() {
+ return type;
+ }
}
diff --git a/profiling/org.eclipse.linuxtools.profiling.snapshot/.classpath b/profiling/org.eclipse.linuxtools.profiling.snapshot/.classpath
deleted file mode 100644
index 64c5e31..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.snapshot/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/profiling/org.eclipse.linuxtools.profiling.snapshot/.project b/profiling/org.eclipse.linuxtools.profiling.snapshot/.project
deleted file mode 100644
index 37532a2..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.snapshot/.project
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.linuxtools.profiling.snapshot</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
- </natures>
-</projectDescription>
diff --git a/profiling/org.eclipse.linuxtools.profiling.snapshot/.settings/org.eclipse.jdt.core.prefs b/profiling/org.eclipse.linuxtools.profiling.snapshot/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 0c40926..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.snapshot/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,109 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
-org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
-org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
-org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
-org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.doc.comment.support=enabled
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
-org.eclipse.jdt.core.compiler.problem.deadCode=warning
-org.eclipse.jdt.core.compiler.problem.deprecation=warning
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
-org.eclipse.jdt.core.compiler.problem.emptyStatement=warning
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
-org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
-org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning
-org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=disabled
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=public
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning
-org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
-org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
-org.eclipse.jdt.core.compiler.problem.missingJavadocComments=warning
-org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag
-org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
-org.eclipse.jdt.core.compiler.problem.nullReference=warning
-org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
-org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
-org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
-org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
-org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
-org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
-org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
-org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning
-org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
-org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=disabled
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=disabled
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=enabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/profiling/org.eclipse.linuxtools.profiling.snapshot/META-INF/MANIFEST.MF b/profiling/org.eclipse.linuxtools.profiling.snapshot/META-INF/MANIFEST.MF
deleted file mode 100644
index ab4840f..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.snapshot/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,15 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Snapshot Profiling Plugin
-Bundle-SymbolicName: org.eclipse.linuxtools.profiling.snapshot; singleton:=true
-Bundle-Version: 1.1.0.qualifier
-Bundle-Vendor: Eclipse
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.linuxtools.profiling.provider;bundle-version="1.1.0",
- org.eclipse.debug.ui;bundle-version="3.8.0",
- org.eclipse.ui.ide;bundle-version="3.8.0"
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Import-Package: org.eclipse.cdt.core.model,
- org.eclipse.cdt.launch,
- org.eclipse.linuxtools.profiling.launch
diff --git a/profiling/org.eclipse.linuxtools.profiling.snapshot/about.html b/profiling/org.eclipse.linuxtools.profiling.snapshot/about.html
deleted file mode 100644
index c258ef5..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.snapshot/about.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About</title>
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 5, 2006</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-
-</body>
-</html> \ No newline at end of file
diff --git a/profiling/org.eclipse.linuxtools.profiling.snapshot/build.properties b/profiling/org.eclipse.linuxtools.profiling.snapshot/build.properties
deleted file mode 100644
index 95ab5a9..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.snapshot/build.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = plugin.xml,\
- META-INF/,\
- .,\
- about.html
diff --git a/profiling/org.eclipse.linuxtools.profiling.snapshot/plugin.xml b/profiling/org.eclipse.linuxtools.profiling.snapshot/plugin.xml
deleted file mode 100644
index 52e4d2e..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.snapshot/plugin.xml
+++ /dev/null
@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
- <extension
- id="org.eclipse.linuxtools.profiling.snapshot.launch"
- name="Profile As Snapshot"
- point="org.eclipse.debug.ui.launchShortcuts">
- <shortcut
- class="org.eclipse.linuxtools.profiling.snapshot.launch.SnapshotLaunchShortcut"
- id="org.eclipse.linuxtools.profiling.snapshot"
- label="Profile As Snapshot"
- modes="profile">
-
- <contextualLaunch>
- <enablement>
- <with
- variable="selection">
- <count
- value="1">
- </count>
- <iterate>
- <or>
- <instanceof
- value="org.eclipse.cdt.core.model.IBinary">
- </instanceof>
- <instanceof
- value="org.eclipse.cdt.core.model.ICProject">
- </instanceof>
- <test
- property="org.eclipse.cdt.launch.isExecutable">
- </test>
- <test
- property="org.eclipse.cdt.launch.isCProject">
- </test>
- <and>
- <instanceof
- value="org.eclipse.ui.IFileEditorInput">
- </instanceof>
- <adapt
- type="org.eclipse.core.resources.IResource">
- <adapt
- type="org.eclipse.cdt.core.model.ICElement">
- </adapt>
- </adapt>
- </and>
- </or>
- </iterate>
- </with>
- </enablement>
- </contextualLaunch>
- </shortcut>
- </extension>
- <extension
- point="org.eclipse.debug.ui.launchConfigurationTabGroups">
- <launchConfigurationTabGroup
- class="org.eclipse.linuxtools.profiling.snapshot.SnapshotLaunchConfigurationTabGroup"
- id="org.eclipse.linuxtools.profiling.snapshot.launchConfigurationTabGroup"
- type="org.eclipse.linuxtools.profiling.snapshot.launchConfigurationType">
- </launchConfigurationTabGroup>
- </extension>
- <extension
- point="org.eclipse.debug.core.launchConfigurationTypes">
- <launchConfigurationType
- delegate="org.eclipse.linuxtools.profiling.snapshot.launch.SnapshotLaunchConfigurationDelegate"
- id="org.eclipse.linuxtools.profiling.snapshot.launchConfigurationType"
- modes="profile"
- name="Profile As Snapshot"
- public="true"
- sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
- sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
- </launchConfigurationType>
- </extension>
- <extension
- point="org.eclipse.ui.preferencePages">
- <page
- category="org.eclipse.linuxtools.profiling.provider.MainPreferencePage"
- class="org.eclipse.linuxtools.profiling.snapshot.SnapshotPreferencesPage"
- id="org.eclipse.linuxtools.profiling.snapshot.preferences"
- name="Snapshot">
- </page>
- </extension>
-
-
-</plugin>
diff --git a/profiling/org.eclipse.linuxtools.profiling.snapshot/pom.xml b/profiling/org.eclipse.linuxtools.profiling.snapshot/pom.xml
deleted file mode 100644
index 3f977c4..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.snapshot/pom.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (C) 2011, Red Hat, Inc.
-
- All rights reserved. This program and the accompanying materials
- are made available under the terms of the Eclipse Public License v1.0
- which accompanies this distribution, and is available at
- http://www.eclipse.org/legal/epl-v10.html
--->
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <artifactId>linuxtools-profiling-parent</artifactId>
- <groupId>org.eclipse.linuxtools.profiling</groupId>
- <version>1.2.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>org.eclipse.linuxtools.profiling.snapshot</artifactId>
- <version>1.1.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
- <name>Linux Tools Profiling Snapshot Launch Plug-in</name>
-
- <build>
- <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 -->
- <resources>
- <resource>
- <directory>src</directory>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-source-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotConstants.java b/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotConstants.java
deleted file mode 100644
index c2a460a..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotConstants.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.profiling.snapshot;
-
-
-/**
- * Container class for various constants
- */
-public class SnapshotConstants {
-
- /**
- * Plug-in name
- */
- public static final String PLUGIN_NAME = "Snapshot"; //$NON-NLS-1$
-
- /**
- * Plug-in id
- */
- public static final String PLUGIN_ID = "org.eclipse.linuxtools.profiling.snapshot"; //$NON-NLS-1$
-
- /**
- * Plug-in id of snapshot launch configuration type
- */
- public static final String PLUGIN_CONFIG_ID = "org.eclipse.linuxtools.profiling.snapshot.launchConfigurationType"; //$NON-NLS-1$
-
- /**
- * Type of profiling this plug-in supports
- */
- public static final String PROFILING_TYPE = "snapshot"; //$NON-NLS-1$
-
-}
diff --git a/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotLaunchConfigurationTabGroup.java b/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotLaunchConfigurationTabGroup.java
deleted file mode 100644
index f775360..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotLaunchConfigurationTabGroup.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.profiling.snapshot;
-
-import java.util.ArrayList;
-
-import org.eclipse.debug.ui.AbstractLaunchConfigurationTab;
-import org.eclipse.linuxtools.internal.profiling.provider.ProviderLaunchConfigurationTabGroup;
-
-/**
- * The tab group for this plug-in's launch configuration.
- *
- */
-public class SnapshotLaunchConfigurationTabGroup extends
- ProviderLaunchConfigurationTabGroup {
-
- @Override
- public AbstractLaunchConfigurationTab[] getProfileTabs() {
- ArrayList<AbstractLaunchConfigurationTab> tabs = new ArrayList<AbstractLaunchConfigurationTab>();
- tabs.add(new SnapshotOptionsTab());
-
- return tabs.toArray(new AbstractLaunchConfigurationTab [] {});
- }
-
-}
diff --git a/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotOptionsTab.java b/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotOptionsTab.java
deleted file mode 100644
index 2a8a1d4..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotOptionsTab.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.profiling.snapshot;
-
-import org.eclipse.linuxtools.internal.profiling.provider.ProviderOptionsTab;
-
-/**
- * The options tab used for this plug-in's launch configuration tab group.
- *
- */
-public class SnapshotOptionsTab extends ProviderOptionsTab {
-
- public String getName() {
- return SnapshotConstants.PLUGIN_NAME;
- }
-
- @Override
- protected String getProfilingType() {
- return SnapshotConstants.PROFILING_TYPE;
- }
-
-} \ No newline at end of file
diff --git a/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotPreferencesPage.java b/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotPreferencesPage.java
deleted file mode 100644
index 6861a41..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/SnapshotPreferencesPage.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.linuxtools.profiling.snapshot;
-
-import org.eclipse.linuxtools.internal.profiling.provider.AbstractProviderPreferencesPage;
-
-/**
- * The preferences page for this plug-in.
- *
- */
-public class SnapshotPreferencesPage extends AbstractProviderPreferencesPage {
-
- @Override
- public String getProfilingType() {
- return SnapshotConstants.PROFILING_TYPE;
- }
-} \ No newline at end of file
diff --git a/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/launch/SnapshotLaunchConfigurationDelegate.java b/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/launch/SnapshotLaunchConfigurationDelegate.java
deleted file mode 100644
index 9200f85..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/launch/SnapshotLaunchConfigurationDelegate.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.profiling.snapshot.launch;
-
-import org.eclipse.linuxtools.internal.profiling.provider.launch.ProviderLaunchConfigurationDelegate;
-import org.eclipse.linuxtools.profiling.snapshot.SnapshotConstants;
-
-/**
- * The launch configuration delegate for this plug-in.
- *
- */
-public class SnapshotLaunchConfigurationDelegate extends
- ProviderLaunchConfigurationDelegate {
-
- @Override
- protected String getPluginID() {
- return SnapshotConstants.PLUGIN_ID;
- }
-
- @Override
- public String getProfilingType() {
- return SnapshotConstants.PROFILING_TYPE;
- }
-}
diff --git a/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/launch/SnapshotLaunchShortcut.java b/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/launch/SnapshotLaunchShortcut.java
deleted file mode 100644
index 72501b8..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.snapshot/src/org/eclipse/linuxtools/profiling/snapshot/launch/SnapshotLaunchShortcut.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.profiling.snapshot.launch;
-
-import org.eclipse.linuxtools.internal.profiling.provider.launch.ProviderLaunchShortcut;
-import org.eclipse.linuxtools.profiling.snapshot.SnapshotConstants;
-
-/**
- * The launch shortcut for this plug-in.
- *
- */
-public class SnapshotLaunchShortcut extends ProviderLaunchShortcut {
-
- @Override
- protected String getLaunchConfigID() {
- return SnapshotConstants.PLUGIN_CONFIG_ID;
- }
-
- @Override
- public String getProfilingType() {
- return SnapshotConstants.PROFILING_TYPE;
- }
-
-}
diff --git a/profiling/org.eclipse.linuxtools.profiling.time/.classpath b/profiling/org.eclipse.linuxtools.profiling.time/.classpath
deleted file mode 100644
index 64c5e31..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.time/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/profiling/org.eclipse.linuxtools.profiling.time/.project b/profiling/org.eclipse.linuxtools.profiling.time/.project
deleted file mode 100644
index a88113b..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.time/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.linuxtools.profiling.time</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/profiling/org.eclipse.linuxtools.profiling.time/.settings/org.eclipse.jdt.core.prefs b/profiling/org.eclipse.linuxtools.profiling.time/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index a3903c7..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.time/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,105 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
-org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
-org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
-org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
-org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.doc.comment.support=enabled
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
-org.eclipse.jdt.core.compiler.problem.deadCode=warning
-org.eclipse.jdt.core.compiler.problem.deprecation=warning
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
-org.eclipse.jdt.core.compiler.problem.emptyStatement=warning
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=warning
-org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
-org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning
-org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=disabled
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=disabled
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=public
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning
-org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
-org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
-org.eclipse.jdt.core.compiler.problem.missingJavadocComments=warning
-org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag
-org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning
-org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
-org.eclipse.jdt.core.compiler.problem.nullReference=warning
-org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
-org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.parameterAssignment=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
-org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
-org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
-org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
-org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
-org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
-org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning
-org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=warning
-org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=warning
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=warning
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=warning
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=disabled
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=disabled
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=enabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/profiling/org.eclipse.linuxtools.profiling.time/META-INF/MANIFEST.MF b/profiling/org.eclipse.linuxtools.profiling.time/META-INF/MANIFEST.MF
deleted file mode 100644
index 9ad9b69..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.time/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,16 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Version: 1.2.0.qualifier
-Bundle-Name: Time Profiling Plugin
-Bundle-SymbolicName: org.eclipse.linuxtools.profiling.time;singleton:=true
-Bundle-Vendor: Eclipse
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Require-Bundle: org.eclipse.core.runtime,
- org.eclipse.linuxtools.profiling.provider;bundle-version="1.1.0",
- org.eclipse.ui;bundle-version="3.103.0",
- org.eclipse.debug.ui;bundle-version="3.8.0",
- org.eclipse.ui.ide;bundle-version="3.8.0"
-Import-Package: org.eclipse.cdt.core.model,
- org.eclipse.cdt.launch,
- org.eclipse.linuxtools.internal.profiling.launch,
- org.eclipse.linuxtools.profiling.launch
diff --git a/profiling/org.eclipse.linuxtools.profiling.time/about.html b/profiling/org.eclipse.linuxtools.profiling.time/about.html
deleted file mode 100644
index c258ef5..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.time/about.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About</title>
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 5, 2006</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-
-</body>
-</html> \ No newline at end of file
diff --git a/profiling/org.eclipse.linuxtools.profiling.time/build.properties b/profiling/org.eclipse.linuxtools.profiling.time/build.properties
deleted file mode 100644
index 95ab5a9..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.time/build.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = plugin.xml,\
- META-INF/,\
- .,\
- about.html
diff --git a/profiling/org.eclipse.linuxtools.profiling.time/plugin.xml b/profiling/org.eclipse.linuxtools.profiling.time/plugin.xml
deleted file mode 100644
index cd0d9fb..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.time/plugin.xml
+++ /dev/null
@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
- <extension
- id="org.eclipse.linuxtools.profiling.callgraph.launch"
- name="Profile As Callgraph"
- point="org.eclipse.debug.ui.launchShortcuts">
- <shortcut
- class="org.eclipse.linuxtools.profiling.time.launch.TimeLaunchShortcut"
- id="org.eclipse.linuxtools.profiling.time"
- label="Profile As Time"
- modes="profile">
-
- <contextualLaunch>
- <enablement>
- <with
- variable="selection">
- <count
- value="1">
- </count>
- <iterate>
- <or>
- <instanceof
- value="org.eclipse.cdt.core.model.IBinary">
- </instanceof>
- <instanceof
- value="org.eclipse.cdt.core.model.ICProject">
- </instanceof>
- <test
- property="org.eclipse.cdt.launch.isExecutable">
- </test>
- <test
- property="org.eclipse.cdt.launch.isCProject">
- </test>
- <and>
- <instanceof
- value="org.eclipse.ui.IFileEditorInput">
- </instanceof>
- <adapt
- type="org.eclipse.core.resources.IResource">
- <adapt
- type="org.eclipse.cdt.core.model.ICElement">
- </adapt>
- </adapt>
- </and>
- </or>
- </iterate>
- </with>
- </enablement>
- </contextualLaunch>
- </shortcut>
- </extension>
- <extension
- point="org.eclipse.debug.ui.launchConfigurationTabGroups">
- <launchConfigurationTabGroup
- class="org.eclipse.linuxtools.profiling.time.TimeLaunchConfigurationTabGroup"
- id="org.eclipse.linuxtools.profiling.time.launchConfigurationTabGroup"
- type="org.eclipse.linuxtools.profiling.time.launchConfigurationType">
- </launchConfigurationTabGroup>
- </extension>
- <extension
- point="org.eclipse.debug.core.launchConfigurationTypes">
- <launchConfigurationType
- delegate="org.eclipse.linuxtools.profiling.time.launch.TimeLaunchConfigurationDelegate"
- id="org.eclipse.linuxtools.profiling.time.launchConfigurationType"
- modes="profile"
- name="Profile as Time"
- public="true"
- sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
- sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
- </launchConfigurationType>
- </extension>
- <extension
- point="org.eclipse.ui.preferencePages">
- <page
- category="org.eclipse.linuxtools.profiling.provider.MainPreferencePage"
- class="org.eclipse.linuxtools.profiling.time.TimePreferencesPage"
- id="org.eclipse.linuxtools.profiling.time.preferences"
- name="Time">
- </page>
- </extension>
-
-
-</plugin>
diff --git a/profiling/org.eclipse.linuxtools.profiling.time/pom.xml b/profiling/org.eclipse.linuxtools.profiling.time/pom.xml
deleted file mode 100644
index 01f19c1..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.time/pom.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (C) 2011, Red Hat, Inc.
-
- All rights reserved. This program and the accompanying materials
- are made available under the terms of the Eclipse Public License v1.0
- which accompanies this distribution, and is available at
- http://www.eclipse.org/legal/epl-v10.html
--->
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <artifactId>linuxtools-profiling-parent</artifactId>
- <groupId>org.eclipse.linuxtools.profiling</groupId>
- <version>1.2.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>org.eclipse.linuxtools.profiling.time</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
- <name>Linux Tools Profiling Time Launch Plug-in</name>
-
-</project>
diff --git a/profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/TimeConstants.java b/profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/TimeConstants.java
deleted file mode 100644
index 90551a2..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/TimeConstants.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.profiling.time;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class TimeConstants {
-
- /**
- * Plug-in name
- */
- public static final String PLUGIN_NAME = "Time"; //$NON-NLS-1$
-
- /**
- * Plug-in id
- */
- public static final String PLUGIN_ID = "org.eclipse.linuxtools.profiling.time"; //$NON-NLS-1$
-
- /**
- * Plug-in id of snapshot launch configuration type
- */
- public static final String PLUGIN_CONFIG_ID = "org.eclipse.linuxtools.profiling.time.launchConfigurationType"; //$NON-NLS-1$
-
- /**
- * Type of profiling this plug-in supports
- */
- public static final String PROFILING_TYPE = "time"; //$NON-NLS-1$
-}
diff --git a/profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/TimeLaunchConfigurationTabGroup.java b/profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/TimeLaunchConfigurationTabGroup.java
deleted file mode 100644
index 1a312a7..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/TimeLaunchConfigurationTabGroup.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.profiling.time;
-
-import java.util.ArrayList;
-
-import org.eclipse.debug.ui.AbstractLaunchConfigurationTab;
-import org.eclipse.linuxtools.internal.profiling.provider.ProviderLaunchConfigurationTabGroup;
-
-/**
- * The tab group for this plug-in's launch configuration dialog menu.
- *
- */
-public class TimeLaunchConfigurationTabGroup extends
- ProviderLaunchConfigurationTabGroup {
-
- @Override
- public AbstractLaunchConfigurationTab[] getProfileTabs() {
- ArrayList<AbstractLaunchConfigurationTab> tabs = new ArrayList<AbstractLaunchConfigurationTab>();
- tabs.add(new TimeOptionsTab());
-
- return tabs.toArray(new AbstractLaunchConfigurationTab [] {});
- }
-
-}
diff --git a/profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/TimeOptionsTab.java b/profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/TimeOptionsTab.java
deleted file mode 100644
index f18c07a..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/TimeOptionsTab.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.profiling.time;
-
-import org.eclipse.linuxtools.internal.profiling.provider.ProviderOptionsTab;
-
-/**
- * The options tab used for this plug-in's launch configuration tab group.
- *
- */
-public class TimeOptionsTab extends ProviderOptionsTab {
-
- public String getName() {
- return TimeConstants.PLUGIN_NAME;
- }
-
- @Override
- protected String getProfilingType() {
- return TimeConstants.PROFILING_TYPE;
- }
-}
diff --git a/profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/TimePreferencesPage.java b/profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/TimePreferencesPage.java
deleted file mode 100644
index 68d8ea5..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/TimePreferencesPage.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.profiling.time;
-
-import org.eclipse.linuxtools.internal.profiling.provider.AbstractProviderPreferencesPage;
-
-/**
- * The preferences page for this plug-in, contributing to the global profiling
- * preference page.
- *
- */
-public class TimePreferencesPage extends AbstractProviderPreferencesPage {
-
- @Override
- protected String getProfilingType() {
- return TimeConstants.PROFILING_TYPE;
- }
-}
diff --git a/profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/launch/TimeLaunchConfigurationDelegate.java b/profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/launch/TimeLaunchConfigurationDelegate.java
deleted file mode 100644
index 07699c4..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/launch/TimeLaunchConfigurationDelegate.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.profiling.time.launch;
-
-import org.eclipse.linuxtools.internal.profiling.provider.launch.ProviderLaunchConfigurationDelegate;
-import org.eclipse.linuxtools.profiling.time.TimeConstants;
-
-/**
- * The launch configuration delegate for time profiling plug-ins.
- *
- */
-public class TimeLaunchConfigurationDelegate extends
- ProviderLaunchConfigurationDelegate {
-
- @Override
- protected String getPluginID() {
- return TimeConstants.PLUGIN_ID;
- }
-
- @Override
- public String getProfilingType() {
- return TimeConstants.PROFILING_TYPE;
- }
-
-}
diff --git a/profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/launch/TimeLaunchShortcut.java b/profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/launch/TimeLaunchShortcut.java
deleted file mode 100644
index 2c56922..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.time/src/org/eclipse/linuxtools/profiling/time/launch/TimeLaunchShortcut.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.profiling.time.launch;
-
-import org.eclipse.linuxtools.internal.profiling.provider.launch.ProviderLaunchShortcut;
-import org.eclipse.linuxtools.profiling.time.TimeConstants;
-
-/**
- * The launch shortcut for time profiling type plug-ins.
- *
- */
-public class TimeLaunchShortcut extends ProviderLaunchShortcut {
-
- @Override
- protected String getLaunchConfigID() {
- return TimeConstants.PLUGIN_CONFIG_ID;
- }
-
- @Override
- public String getProfilingType() {
- return TimeConstants.PROFILING_TYPE;
- }
-
-}
diff --git a/profiling/pom.xml b/profiling/pom.xml
index 157ae23..d258d2e 100644
--- a/profiling/pom.xml
+++ b/profiling/pom.xml
@@ -74,9 +74,7 @@
<module>org.eclipse.linuxtools.profiling.launch.remote</module>
<module>org.eclipse.linuxtools.profiling.provider</module>
<module>org.eclipse.linuxtools.profiling.remote-feature</module>
- <module>org.eclipse.linuxtools.profiling.snapshot</module>
<module>org.eclipse.linuxtools.profiling.tests</module>
- <module>org.eclipse.linuxtools.profiling.time</module>
<module>org.eclipse.linuxtools.profiling.ui</module>
<module>org.eclipse.linuxtools.profiling.ui.capability</module>
<module>org.eclipse.linuxtools.rdt.proxy</module>
diff --git a/systemtap/org.eclipse.linuxtools.callgraph.launch/plugin.xml b/systemtap/org.eclipse.linuxtools.callgraph.launch/plugin.xml
index c68df09..1415ba0 100644
--- a/systemtap/org.eclipse.linuxtools.callgraph.launch/plugin.xml
+++ b/systemtap/org.eclipse.linuxtools.callgraph.launch/plugin.xml
@@ -99,10 +99,10 @@
delegate="org.eclipse.linuxtools.internal.callgraph.launch.SystemTapLaunchConfigurationDelegate"
id="org.eclipse.linuxtools.callgraph.launch.provider"
name="Callgraph"
- priority="1"
+ priority="3"
shortcut="org.eclipse.linuxtools.internal.callgraph.launch.LaunchStapGraph"
tabgroup="org.eclipse.linuxtools.internal.callgraph.launch.SystemTapLaunchConfigurationTabGroup"
- type="time">
+ type="timing">
</provider>
</extension>