Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Grunberg2013-09-06 14:57:22 +0000
committerJeff Johnston2013-09-10 18:00:56 +0000
commitb5e1405debea41a6d2324f9ca359362b25b8a6fe (patch)
treeb6c76dd60a9b0cd04c40597fd81e39483bea3e19 /oprofile/org.eclipse.linuxtools.oprofile.launch.tests
parent28493a69101caa2acb9cb6573cb1c2eba554707e (diff)
downloadorg.eclipse.linuxtools-b5e1405debea41a6d2324f9ca359362b25b8a6fe.tar.gz
org.eclipse.linuxtools-b5e1405debea41a6d2324f9ca359362b25b8a6fe.tar.xz
org.eclipse.linuxtools-b5e1405debea41a6d2324f9ca359362b25b8a6fe.zip
Do not repeatedly inform user about insufficient permissions.
When a launch configuration for OProfile is created there should not be repeated attempts to inform the user that they have insufficient permissions to run opcontrol. It is enough to bring up the error dialog when the configuration is launched. Change-Id: Ic50750df77850f0d6f5f6a5bf9dc556097fc25d6 Reviewed-on: https://git.eclipse.org/r/16193 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> IP-Clean: Jeff Johnston <jjohnstn@redhat.com> Tested-by: Jeff Johnston <jjohnstn@redhat.com>
Diffstat (limited to 'oprofile/org.eclipse.linuxtools.oprofile.launch.tests')
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.launch.tests/src/org/eclipse/linuxtools/oprofile/launch/tests/utils/OprofileTestingEventConfigTab.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.launch.tests/src/org/eclipse/linuxtools/oprofile/launch/tests/utils/OprofileTestingEventConfigTab.java b/oprofile/org.eclipse.linuxtools.oprofile.launch.tests/src/org/eclipse/linuxtools/oprofile/launch/tests/utils/OprofileTestingEventConfigTab.java
index d442147f4e..38854e82c6 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.launch.tests/src/org/eclipse/linuxtools/oprofile/launch/tests/utils/OprofileTestingEventConfigTab.java
+++ b/oprofile/org.eclipse.linuxtools.oprofile.launch.tests/src/org/eclipse/linuxtools/oprofile/launch/tests/utils/OprofileTestingEventConfigTab.java
@@ -40,11 +40,6 @@ public class OprofileTestingEventConfigTab extends AbstractEventConfigTab {
}
@Override
- protected boolean hasPermissions(IProject project) {
- return true;
- }
-
- @Override
protected IProject getOprofileProject() {
return project;
}

Back to the top