Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 120634
Collapse All | Expand All

(-)ui/org/eclipse/jdt/internal/debug/ui/actions/ShowStaticVariablesAction.java (-1 / +18 lines)
Lines 12-21 Link Here
12
12
13
13
14
import org.eclipse.debug.core.DebugException;
14
import org.eclipse.debug.core.DebugException;
15
import org.eclipse.debug.internal.ui.viewers.AsynchronousTreeViewer;
16
import org.eclipse.debug.internal.ui.views.AbstractViewerState;
17
import org.eclipse.debug.internal.ui.views.variables.VariablesView;
15
import org.eclipse.jdt.debug.core.IJavaVariable;
18
import org.eclipse.jdt.debug.core.IJavaVariable;
16
import org.eclipse.jdt.internal.debug.ui.IJDIPreferencesConstants;
19
import org.eclipse.jdt.internal.debug.ui.IJDIPreferencesConstants;
17
import org.eclipse.jdt.internal.debug.ui.JDIDebugUIPlugin;
20
import org.eclipse.jdt.internal.debug.ui.JDIDebugUIPlugin;
21
import org.eclipse.jface.action.IAction;
22
import org.eclipse.jface.preference.IPreferenceStore;
23
import org.eclipse.jface.viewers.ISelection;
24
import org.eclipse.jface.viewers.StructuredViewer;
18
import org.eclipse.jface.viewers.Viewer;
25
import org.eclipse.jface.viewers.Viewer;
26
import org.eclipse.jface.viewers.ViewerFilter;
19
27
20
/**
28
/**
21
 * Shows non-final static variables
29
 * Shows non-final static variables
Lines 49-53 Link Here
49
			} 
57
			} 
50
		}
58
		}
51
		return true;
59
		return true;
52
	}	
60
	}
61
62
    public void run(IAction action) {
63
//        VariablesView view = (VariablesView) getView();
64
//        AbstractViewerState state = view.getViewerState();
65
        super.run(action);
66
//        state.restoreState((AsynchronousTreeViewer) getStructuredViewer());
67
    }	
68
    
69
    
53
}
70
}
(-)ui/org/eclipse/debug/internal/ui/views/variables/VariablesView.java (-1 / +1 lines)
Lines 1466-1472 Link Here
1466
	 * 
1466
	 * 
1467
	 * @return the memento of the expanded and selected items in the viewer
1467
	 * @return the memento of the expanded and selected items in the viewer
1468
	 */
1468
	 */
1469
	protected AbstractViewerState getViewerState() {
1469
	public AbstractViewerState getViewerState() {
1470
		return new ViewerState(getVariablesViewer());
1470
		return new ViewerState(getVariablesViewer());
1471
	}
1471
	}
1472
	
1472
	

Return to bug 120634