|
Lines 119-124
import org.eclipse.ui.IWorkbenchPart;
Link Here
|
| 119 |
import org.eclipse.ui.IWorkbenchPartReference; |
119 |
import org.eclipse.ui.IWorkbenchPartReference; |
| 120 |
import org.eclipse.ui.IWorkbenchWindow; |
120 |
import org.eclipse.ui.IWorkbenchWindow; |
| 121 |
import org.eclipse.ui.PartInitException; |
121 |
import org.eclipse.ui.PartInitException; |
|
|
122 |
import org.eclipse.ui.PlatformUI; |
| 122 |
import org.eclipse.ui.WorkbenchException; |
123 |
import org.eclipse.ui.WorkbenchException; |
| 123 |
import org.eclipse.ui.XMLMemento; |
124 |
import org.eclipse.ui.XMLMemento; |
| 124 |
import org.eclipse.ui.actions.SelectionListenerAction; |
125 |
import org.eclipse.ui.actions.SelectionListenerAction; |
|
Lines 133-138
import org.eclipse.ui.part.Page;
Link Here
|
| 133 |
import org.eclipse.ui.part.ShowInContext; |
134 |
import org.eclipse.ui.part.ShowInContext; |
| 134 |
import org.eclipse.ui.progress.IWorkbenchSiteProgressService; |
135 |
import org.eclipse.ui.progress.IWorkbenchSiteProgressService; |
| 135 |
import org.eclipse.ui.progress.UIJob; |
136 |
import org.eclipse.ui.progress.UIJob; |
|
|
137 |
import org.eclipse.ui.services.IEvaluationService; |
| 136 |
import org.eclipse.ui.texteditor.IUpdate; |
138 |
import org.eclipse.ui.texteditor.IUpdate; |
| 137 |
|
139 |
|
| 138 |
public class LaunchView extends AbstractDebugView |
140 |
public class LaunchView extends AbstractDebugView |
|
Lines 1062-1071
public class LaunchView extends AbstractDebugView
Link Here
|
| 1062 |
} else { |
1064 |
} else { |
| 1063 |
removeDebugToolbarActions(tbm); |
1065 |
removeDebugToolbarActions(tbm); |
| 1064 |
} |
1066 |
} |
| 1065 |
getViewSite().getActionBars().updateActionBars(); |
|
|
| 1066 |
|
1067 |
|
| 1067 |
// Update system property used by contributed actions. |
1068 |
// Update system property used by contributed actions. |
| 1068 |
System.setProperty(IDebugUIConstants.DEBUG_VIEW_TOOBAR_VISIBLE, Boolean.toString(show)); |
1069 |
System.setProperty(IDebugUIConstants.DEBUG_VIEW_TOOBAR_VISIBLE, Boolean.toString(show)); |
|
|
1070 |
|
| 1071 |
// Request re-evaluation of property "org.eclipse.debug.ui.isDebugViewToolbarVisible" |
| 1072 |
// to update contributed toolbar commands. |
| 1073 |
IEvaluationService exprService = (IEvaluationService) PlatformUI.getWorkbench().getService(IEvaluationService.class); |
| 1074 |
if (exprService != null) { |
| 1075 |
exprService.requestEvaluation("org.eclipse.debug.ui.isDebugViewToolbarVisible"); //$NON-NLS-1$ |
| 1076 |
} |
| 1077 |
|
| 1078 |
|
| 1079 |
getViewSite().getActionBars().updateActionBars(); |
| 1069 |
} |
1080 |
} |
| 1070 |
|
1081 |
|
| 1071 |
|
1082 |
|