Commit c414654c authored by Adam Knapp's avatar Adam Knapp
Browse files

Using global constants



Change-Id: Ie97e8fed21c37508b8ebec6c41dea81edcbf3cce
Signed-off-by: default avatarAdam Knapp <adam.knapp@sigmatechnology.se>
parent 83326a24
......@@ -10,6 +10,7 @@ package org.eclipse.titan.executor.executors.jni;
import org.eclipse.core.resources.IProject;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.eclipse.titan.executor.tabpages.maincontroller.JNIMainControllerTab;
import org.eclipse.titan.executor.views.executormonitor.ExecutorMonitorView;
/**
* @author Kristof Szabados
......@@ -19,7 +20,7 @@ public final class LaunchShortcut extends org.eclipse.titan.executor.executors.L
@Override
/** {@inheritDoc} */
protected String getConfigurationId() {
return "org.eclipse.titan.executor.executors.jni.LaunchConfigurationDelegate";
return ExecutorMonitorView.JNI_MODE_LAUNCHCONFIGURATION_ID;
}
@Override
......
......@@ -10,6 +10,7 @@ package org.eclipse.titan.executor.executors.jni;
import org.eclipse.core.resources.IProject;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.eclipse.titan.executor.tabpages.maincontroller.JNIMainControllerTab;
import org.eclipse.titan.executor.views.executormonitor.ExecutorMonitorView;
/**
* @author Kristof Szabados
......@@ -18,7 +19,7 @@ public final class LaunchShortcutConfig extends org.eclipse.titan.executor.execu
@Override
/** {@inheritDoc} */
protected String getConfigurationId() {
return "org.eclipse.titan.executor.executors.jni.LaunchConfigurationDelegate";
return ExecutorMonitorView.JNI_MODE_LAUNCHCONFIGURATION_ID;
}
@Override
......
......@@ -10,6 +10,7 @@ package org.eclipse.titan.executor.executors.mctr.cli;
import org.eclipse.core.resources.IProject;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.eclipse.titan.executor.tabpages.maincontroller.MctrCliMainControllerTab;
import org.eclipse.titan.executor.views.executormonitor.ExecutorMonitorView;
/**
* @author Kristof Szabados
......@@ -19,7 +20,7 @@ public final class LaunchShortcut extends org.eclipse.titan.executor.executors.L
@Override
/** {@inheritDoc} */
protected String getConfigurationId() {
return "org.eclipse.titan.executor.executors.mctr.cli.LaunchConfigurationDelegate";
return ExecutorMonitorView.MCTR_CLI_MODE_LAUNCHCONFIGURATION_ID;
}
@Override
......
......@@ -10,6 +10,7 @@ package org.eclipse.titan.executor.executors.mctr.cli;
import org.eclipse.core.resources.IProject;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.eclipse.titan.executor.tabpages.maincontroller.MctrCliMainControllerTab;
import org.eclipse.titan.executor.views.executormonitor.ExecutorMonitorView;
/**
* @author Kristof Szabados
......@@ -18,7 +19,7 @@ public final class LaunchShortcutConfig extends org.eclipse.titan.executor.execu
@Override
/** {@inheritDoc} */
protected String getConfigurationId() {
return "org.eclipse.titan.executor.executors.mctr.cli.LaunchConfigurationDelegate";
return ExecutorMonitorView.MCTR_CLI_MODE_LAUNCHCONFIGURATION_ID;
}
@Override
......
......@@ -10,6 +10,7 @@ package org.eclipse.titan.executor.executors.single;
import org.eclipse.core.resources.IProject;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.eclipse.titan.executor.tabpages.maincontroller.SingleMainControllerTab;
import org.eclipse.titan.executor.views.executormonitor.ExecutorMonitorView;
/**
* @author Kristof Szabados
......@@ -20,7 +21,7 @@ public final class LaunchShortcut extends org.eclipse.titan.executor.executors.L
@Override
/** {@inheritDoc} */
protected String getConfigurationId() {
return "org.eclipse.titan.executor.executors.single.LaunchConfigurationDelegate";
return ExecutorMonitorView.SINGLE_MODE_LAUNCHCONFIGURATION_ID;
}
@Override
......
......@@ -10,6 +10,7 @@ package org.eclipse.titan.executor.executors.single;
import org.eclipse.core.resources.IProject;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.eclipse.titan.executor.tabpages.maincontroller.SingleMainControllerTab;
import org.eclipse.titan.executor.views.executormonitor.ExecutorMonitorView;
/**
* @author Kristof Szabados
......@@ -18,7 +19,7 @@ public final class LaunchShortcutConfig extends org.eclipse.titan.executor.execu
@Override
/** {@inheritDoc} */
protected String getConfigurationId() {
return "org.eclipse.titan.executor.executors.single.LaunchConfigurationDelegate";
return ExecutorMonitorView.SINGLE_MODE_LAUNCHCONFIGURATION_ID;
}
@Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment