Created
February 3, 2012 23:24
-
-
Save fikovnik/1733662 to your computer and use it in GitHub Desktop.
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
public Object execute(ExecutionEvent event) throws ExecutionException { | |
InputDialog dlg = new InputDialog( | |
HandlerUtil.getActiveShellChecked(event), "Title", | |
"Enter text", "Initial value", null); | |
if (dlg.open() == Window.OK) { | |
// User clicked OK; run perl | |
String input = dlg.getValue(); | |
// TODO:do something with value | |
} | |
return null; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment