Community
Participate
Working Groups
import org.eclipse.debug.core.DebugException;
import org.eclipse.debug.internal.ui.viewers.AsynchronousTreeViewer;
import org.eclipse.debug.internal.ui.views.AbstractViewerState;
import org.eclipse.debug.internal.ui.views.variables.VariablesView;
import org.eclipse.jdt.debug.core.IJavaVariable;
import org.eclipse.jdt.internal.debug.ui.IJDIPreferencesConstants;
import org.eclipse.jdt.internal.debug.ui.JDIDebugUIPlugin;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.StructuredViewer;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerFilter;
/**
* Shows non-final static variables
}
return true;
public void run(IAction action) {
// VariablesView view = (VariablesView) getView();
// AbstractViewerState state = view.getViewerState();
super.run(action);
// state.restoreState((AsynchronousTreeViewer) getStructuredViewer());
*
* @return the memento of the expanded and selected items in the viewer
*/
protected AbstractViewerState getViewerState() {
public AbstractViewerState getViewerState() {
return new ViewerState(getVariablesViewer());