#638 cannot add many methods to the bean class

Let's say you have an CMP bean (not fully defined), you have fully defined an ejb-jar.xml.
Your bean class doesn't have many CMP fields declared (declared in the ejb-jar.xml).
So you have a "CMP field 'foo' getter is not defined" error. Your class name is red
and you have an intention action there. Alt-Enter. Let's say you have many missing
CMP fields and you want to add them all at once. You can select them but if you press
Enter only one (the very first one in the list) will be added. Expected: all selected entries
to be added.


Timur Zambalayev



2 comments
Comment actions Permalink

Unfortunately,
invoking many intention actions at once is not possible now, since there
maybe mutually exclusive actions (e.g. 'make findByX return Remote' and
'make findByX return Collection')

--
regards,
Alexey Kudravtsev.
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"


"Timur Zambalayev" <invalid@invalid.com> wrote in message
news:ahrire$nh1$1@is.intellij.net...

Let's say you have an CMP bean (not fully defined), you have fully defined

an ejb-jar.xml.

Your bean class doesn't have many CMP fields declared (declared in the

ejb-jar.xml).

So you have a "CMP field 'foo' getter is not defined" error. Your class

name is red

and you have an intention action there. Alt-Enter. Let's say you have many

missing

CMP fields and you want to add them all at once. You can select them but

if you press

Enter only one (the very first one in the list) will be added. Expected:

all selected entries

to be added.

>
>

Timur Zambalayev

>
>
>


0
Comment actions Permalink

Then maybe you shouldn't allow multiple selection.
Or even better during the selection don't allow to select mutually exclusive elements
(based on the order of the selection).


"Alexey Kudravtsev" <cdr@intellij.com> wrote in message news:ahrl20$q57$1@is.intellij.net...

Unfortunately,
invoking many intention actions at once is not possible now, since there
maybe mutually exclusive actions (e.g. 'make findByX return Remote' and
'make findByX return Collection')

>

--
regards,
Alexey Kudravtsev.
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

>
>

"Timur Zambalayev" <invalid@invalid.com> wrote in message
news:ahrire$nh1$1@is.intellij.net...

Let's say you have an CMP bean (not fully defined), you have fully defined

an ejb-jar.xml.

Your bean class doesn't have many CMP fields declared (declared in the

ejb-jar.xml).

So you have a "CMP field 'foo' getter is not defined" error. Your class

name is red

and you have an intention action there. Alt-Enter. Let's say you have many

missing

CMP fields and you want to add them all at once. You can select them but

if you press

Enter only one (the very first one in the list) will be added. Expected:

all selected entries

to be added.

>
>

Timur Zambalayev

>
>
>

>
>


0

Please sign in to leave a comment.