Bug 174213 [ViewMgmt] add attribute to close a sticky view in all open perspectives
Currently, when you open a sticky view, it remains open when you switch perspectives. However, when you close a sticky view, it only closes the sticky view in the current active perspective. Could we add an attribute to the contribution to specify that the sticky view be closed in all other open perspectives? Use case: Based on usability feedback for our product, users are getting very confused when they see the help view reappear when they change perspectives, after having closed the help view. They are expecting that when they close it in one perspective, it closes it in all other open perspectives, not just the active perspective.
bundles/org.eclipse.ui/src/org/eclipse/ui/internal/UIPreferenceInitializer.java
/*******************************************************************************
 * Copyright (c) 2000, 2007 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *     Kiryl Kazakevich, Intel - bug 88359
 *******************************************************************************/
package org.eclipse.ui.internal;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.core.runtime.preferences.DefaultScope;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
import org.eclipse.core.runtime.preferences.IScopeContext;
import org.eclipse.core.runtime.preferences.InstanceScope;
import org.eclipse.core.runtime.preferences.IEclipsePreferences.NodeChangeEvent;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.IWorkbenchPreferenceConstants;
import org.eclipse.ui.internal.StartupThreading.StartupRunnable;
import org.eclipse.ui.keys.IBindingService;
import org.eclipse.ui.themes.IThemeManager;