类org.eclipse.ui.internal.ide.StatusUtil源码实例Demo

下面列出了怎么用org.eclipse.ui.internal.ide.StatusUtil的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: Pydev   文件: CopyFilesAndFoldersOperation.java
private void display(InvocationTargetException e) {
    // CoreExceptions are collected above, but unexpected runtime
    // exceptions and errors may still occur.
    IDEWorkbenchPlugin.getDefault().getLog()
            .log(StatusUtil.newStatus(IStatus.ERROR, MessageFormat.format("Exception in {0}.performCopy(): {1}", //$NON-NLS-1$
                    new Object[] { getClass().getName(), e.getTargetException() }), null));
    displayError(NLS.bind(IDEWorkbenchMessages.CopyFilesAndFoldersOperation_internalError, e.getTargetException()
            .getMessage()));
}
 
 类所在包
 同包方法