aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Georgi2012-07-18 15:13:58 (EDT)
committerPawel Piech2012-07-18 15:13:58 (EDT)
commiteb1377719b70d2785cb1dea595e7411eec73730e (patch)
tree7daf76e1235e505f5b77f157cab2767f0f666a84
parent8dfb9f847ad6559c6ce651d510e95607c5924f56 (diff)
downloadeclipse.platform.debug-eb1377719b70d2785cb1dea595e7411eec73730e.zip
eclipse.platform.debug-eb1377719b70d2785cb1dea595e7411eec73730e.tar.gz
eclipse.platform.debug-eb1377719b70d2785cb1dea595e7411eec73730e.tar.bz2
Bug 385400 - System property for debug toolbar visibility not initialized
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java
index 7a9502b..3a21e01 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java
@@ -1412,6 +1412,10 @@ public class LaunchView extends AbstractDebugView
* @see org.eclipse.ui.IPartListener2#partActivated(org.eclipse.ui.IWorkbenchPartReference)
*/
public void partActivated(IWorkbenchPartReference partRef) {
+ // Ensure that the system property matches the debug toolbar state.
+ // Bug 385400
+ System.setProperty(IDebugUIConstants.DEBUG_VIEW_TOOBAR_VISIBLE,
+ Boolean.toString(isDebugToolbarShownInPerspective(getSite().getPage().getPerspective())) );
}
/* (non-Javadoc)