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 174233
Collapse All | Expand All

(-)ui/org/eclipse/debug/ui/InspectPopupDialog.java (-1 / +2 lines)
Lines 86-92 Link Here
86
     * Creates a new inspect popup.
86
     * Creates a new inspect popup.
87
     * 
87
     * 
88
     * @param shell The parent shell
88
     * @param shell The parent shell
89
     * @param anchor point at which to anchor the popup in Display coordinates
89
     * @param anchor point at which to anchor the popup in Display coordinates. Since
90
     *  3.3 <code>null</code> indicates a default location should be used.
90
     * @param commandId The command id to be used for persistence of 
91
     * @param commandId The command id to be used for persistence of 
91
     * the dialog (possibly <code>null</code>)
92
     * the dialog (possibly <code>null</code>)
92
     * @param expression The expression being inspected
93
     * @param expression The expression being inspected
(-)ui/org/eclipse/debug/ui/DebugPopup.java (-1 / +5 lines)
Lines 63-69 Link Here
63
    /**
63
    /**
64
     * Constructs a new popup dialog of type <code>PopupDialog.INFOPOPUPRESIZE_SHELLSTYLE</code>
64
     * Constructs a new popup dialog of type <code>PopupDialog.INFOPOPUPRESIZE_SHELLSTYLE</code>
65
     * @param parent The parent shell
65
     * @param parent The parent shell
66
     * @param anchor point at which to anchor the popup dialog in Display coordinate space
66
     * @param anchor point at which to anchor the popup dialog in Display coordinate space.
67
     * 	Since 3.3, <code>null</code> can be specified to use a default anchor point
67
     * @param commandId The command id to be used for persistence of 
68
     * @param commandId The command id to be used for persistence of 
68
     *  the dialog, or <code>null</code>
69
     *  the dialog, or <code>null</code>
69
     */
70
     */
Lines 159-164 Link Here
159
     * @return the initial location of the shell
160
     * @return the initial location of the shell
160
     */
161
     */
161
    protected Point getInitialLocation(Point initialSize) {
162
    protected Point getInitialLocation(Point initialSize) {
163
    	if (fAnchor == null) {
164
    		return super.getInitialLocation(initialSize);
165
    	}
162
        Point point = fAnchor;
166
        Point point = fAnchor;
163
        Rectangle monitor = getShell().getMonitor().getClientArea();
167
        Rectangle monitor = getShell().getMonitor().getClientArea();
164
        if (monitor.width < point.x + initialSize.x) {
168
        if (monitor.width < point.x + initialSize.x) {

Return to bug 174233