Created
February 9, 2012 23:57
-
-
Save zaki50/1784445 to your computer and use it in GitHub Desktop.
SWT でエラーダイアログを出すコードのための eclipse の code template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
${:import(org.eclipse.swt.widgets.MessageBox)}final MessageBox ${message:newName(org.eclipse.swt.widgets.MessageBox)} = new MessageBox(getShell(), SWT.NULL | SWT.ICON_ERROR); | |
${message:newName(org.eclipse.swt.widgets.MessageBox)}.setMessage("${cursor}"); | |
${message:newName(org.eclipse.swt.widgets.MessageBox)}.open(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment