Java Code Examples for org.eclipse.ui.internal.ide.IDEWorkbenchMessages#WorkbenchAction_internalError

The following examples show how to use org.eclipse.ui.internal.ide.IDEWorkbenchMessages#WorkbenchAction_internalError . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RenameResourceAndCloseEditorAction.java    From translationstudio8 with GNU General Public License v2.0 4 votes vote down vote up
void displayError(String message) {
	if (message == null) {
		message = IDEWorkbenchMessages.WorkbenchAction_internalError;
	}
	MessageDialog.openError(shellProvider.getShell(), getProblemsTitle(), message);
}
 
Example 2
Source File: RenameResourceAndCloseEditorAction.java    From tmxeditor8 with GNU General Public License v2.0 4 votes vote down vote up
void displayError(String message) {
	if (message == null) {
		message = IDEWorkbenchMessages.WorkbenchAction_internalError;
	}
	MessageDialog.openError(shellProvider.getShell(), getProblemsTitle(), message);
}
 
Example 3
Source File: WorkspaceAction.java    From Pydev with Eclipse Public License 1.0 3 votes vote down vote up
/**
 * Opens an error dialog to display the given message.
 * <p>
 * Note that this method must be called from UI thread.
 * </p>
 *
 * @param message the message
 */
void displayError(String message) {
    if (message == null) {
        message = IDEWorkbenchMessages.WorkbenchAction_internalError;
    }
    MessageDialog.openError(shell, getProblemsTitle(), message);
}