Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-08-12 16:59:08 +0000
committerUwe Stieber2012-08-12 16:59:08 +0000
commit8e75b57e4a49282013a4d70d8844373bbe623c96 (patch)
treeefa7351f6390519ef1d2725f77f6e355255dbb5a /target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.serial
parent87db079b512afec89f418e1b2797d9da2127e112 (diff)
downloadorg.eclipse.tcf-8e75b57e4a49282013a4d70d8844373bbe623c96.tar.gz
org.eclipse.tcf-8e75b57e4a49282013a4d70d8844373bbe623c96.tar.xz
org.eclipse.tcf-8e75b57e4a49282013a4d70d8844373bbe623c96.zip
Target Explorer: Bug 378625 - [Terminals] Cannot open two tabs to the same host in one view
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.serial')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.serial/src/org/eclipse/tcf/te/ui/terminals/serial/launcher/SerialLauncherDelegate.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.serial/src/org/eclipse/tcf/te/ui/terminals/serial/launcher/SerialLauncherDelegate.java b/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.serial/src/org/eclipse/tcf/te/ui/terminals/serial/launcher/SerialLauncherDelegate.java
index eb03def86..b68ce071b 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.serial/src/org/eclipse/tcf/te/ui/terminals/serial/launcher/SerialLauncherDelegate.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.serial/src/org/eclipse/tcf/te/ui/terminals/serial/launcher/SerialLauncherDelegate.java
@@ -12,6 +12,7 @@ package org.eclipse.tcf.te.ui.terminals.serial.launcher;
import java.text.DateFormat;
import java.util.Date;
+import org.eclipse.core.runtime.Assert;
import org.eclipse.osgi.util.NLS;
import org.eclipse.tcf.te.runtime.interfaces.callback.ICallback;
import org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer;
@@ -50,6 +51,8 @@ public class SerialLauncherDelegate extends AbstractLauncherDelegate {
*/
@Override
public void execute(IPropertiesContainer properties, ICallback callback) {
+ Assert.isNotNull(properties);
+
// Set the terminal tab title
String terminalTitle = getTerminalTitle(properties);
if (terminalTitle != null) {

Back to the top