IProcess process = console.getProcess();
setEnabled(true);
KeySequence binding = KeyBindingHelper
.getCommandKeyBinding("org.python.pydev.debug.ui.actions.relaunchLastAction");
String str = binding != null ? "(" + binding.format() + " when on Pydev editor)" : "(unbinded)";
if (process.canTerminate()) {
this.setImageDescriptor(PydevPlugin.getImageCache().getDescriptor(UIConstants.RELAUNCH));
this.setToolTipText("Restart the current launch. " + str);
} else {
this.setImageDescriptor(PydevPlugin.getImageCache().getDescriptor(UIConstants.RELAUNCH1));