Java Code Examples for com.intellij.CommonBundle#getErrorTitle()
The following examples show how to use
com.intellij.CommonBundle#getErrorTitle() .
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: CustomFileTypeEditor.java From consulo with Apache License 2.0 | 5 votes |
public void applyEditorTo(AbstractFileType type) throws ConfigurationException { if (myFileTypeName.getText().trim().length() == 0) { throw new ConfigurationException(IdeBundle.message("error.name.cannot.be.empty"), CommonBundle.getErrorTitle()); } else if (myFileTypeDescr.getText().trim().length() == 0) { myFileTypeDescr.setText(myFileTypeName.getText()); } type.setName(myFileTypeName.getText()); type.setDescription(myFileTypeDescr.getText()); type.setSyntaxTable(getSyntaxTable()); }
Example 2
Source File: CreateDirectoryOrPackageHandler.java From consulo with Apache License 2.0 | 5 votes |
private void showErrorDialog(String message) { String title = CommonBundle.getErrorTitle(); Icon icon = Messages.getErrorIcon(); if (myDialogParent != null) { Messages.showMessageDialog(myDialogParent, message, title, icon); } else { Messages.showMessageDialog(myProject, message, title, icon); } }
Example 3
Source File: NewWeFileActionBase.java From weex-language-support with MIT License | 4 votes |
@Override protected String getErrorTitle() { return CommonBundle.getErrorTitle(); }
Example 4
Source File: NewVueActionBase.java From vue-for-idea with BSD 3-Clause "New" or "Revised" License | 4 votes |
protected String getErrorTitle() { return CommonBundle.getErrorTitle(); }
Example 5
Source File: AbstractCreateElementActionBase.java From attic-polygene-java with Apache License 2.0 | 4 votes |
protected String getErrorTitle() { return CommonBundle.getErrorTitle(); }
Example 6
Source File: NewBashFileAction.java From BashSupport with Apache License 2.0 | 4 votes |
protected String getErrorTitle() { return CommonBundle.getErrorTitle(); }
Example 7
Source File: CreateFromTemplateAction.java From consulo with Apache License 2.0 | 4 votes |
protected String getErrorTitle() { return CommonBundle.getErrorTitle(); }