problem with Messages.InputValidator?

Hi,

I can't get the Messages.InputValidator to work.

com.intellij.openapi.ui.Messages.showInputDialog
( "question"
, "header"
, com.intellij.openapi.ui.Messages.getQuestionIcon()
, "default"
, new com.intellij.openapi.ui.Messages.InputValidator() {
public boolean checkInput( String s ) {
return true;
}
public boolean canClose( String s ) {
return true;
}
}
) );

results in the following error:

Error: line (.) cannot resolve symbol class InputValidator




I've tried compiling with all my installed jdk's.. none seem to like te
construction (or any variant of code trying to use the InputValidator
interface)

Please help...

Aiko

0
3 comments
Avatar
Permanently deleted user

Erwin Tratar wrote:

looks like the same problem as in http://www.intellij.net/forums/thread.jsp?forum=6&thread=10810&tstart=0&trange=30

Yes, please post this as a bug.

--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

0
Avatar
Permanently deleted user

posted as:

http://www.intellij.net/tracker/idea/viewSCR?publicId=6265


Erb wrote:

Erwin Tratar wrote:

>> looks like the same problem as in
>> http://www.intellij.net/forums/thread.jsp?forum=6&thread=10810&tstart=0&trange=30
>>


Yes, please post this as a bug.


0

Please sign in to leave a comment.