Bug 172655 [ErrorHandling] [StatusHandling] Hooking into JFace dialogs
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/ErrorDialog.java
}
        });
        copyItem.setText(JFaceResources.getString("copy")); 
        list.setMenu(copyMenu);
        listCreated = true;
        return list;
    }
    /*
     * (non-Javadoc) Method declared on Window.
     */
    /**
     * Extends <code>Window.open()</code>. Opens an error dialog to display
     * the error. If you specified a mask to filter the displaying of these
     * children, the error dialog will only be displayed if there is at least
     * one child status matching the mask.
     */
    public int open() {
        if (!AUTOMATED_MODE && shouldDisplay(status, displayMask)) {
            return super.open();
        }
        setReturnCode(OK);
        return OK;
    }
    /**
     * Opens an error dialog to display the given error. Use this method if the
     * error object being displayed does not contain child items, or if you wish
     * to display all such items without filtering.
     * 
     * @param parent
     *            the parent shell of the dialog, or <code>null</code> if none