Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Choose Bean
Choose Bean [message #139387] Sun, 29 July 2007 05:27 Go to next message
Eclipse User
Originally posted by: spac.quick.cz

Hi,
I downloaded VE for Elipse 3.3 from Erik Hecht and "Choose Bean" button
doesnt work as before. After pressing I can place my visual classes into
object being edited. Is possible to make it working again?

Thank you.
Re: Choose Bean [message #139398 is a reply to message #139387] Sun, 29 July 2007 13:18 Go to previous messageGo to next message
Erik Hecht is currently offline Erik Hecht
Messages: 61
Registered: July 2009
Member
This is a multi-part message in MIME format.
--------------070806080509070107060207
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 7bit

Hello Petr,

i found the Bug, but I'm sorry I can't build a new Version within the
next 2 week. I have to do a lot of other things.

So please wait until the next Update.


Greetings
Erik

post scritpum:
I attached the patch to this posting.




Petr Podzimek schrieb:
> Hi,
> I downloaded VE for Elipse 3.3 from Erik Hecht and "Choose Bean" button
> doesnt work as before. After pressing I can place my visual classes into
> object being edited. Is possible to make it working again?
>
> Thank you.


--------------070806080509070107060207
Content-Type: text/plain;
name="ChooseBeanSelector.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="ChooseBeanSelector.txt"

### Eclipse Workspace Patch 1.0
#P org.eclipse.ve.java.core
Index: core/org/eclipse/ve/internal/java/choosebean/ChooseBeanSelec tor.java
============================================================ =======
RCS file: /cvsroot/tools/org.eclipse.ve.java.core/core/org/eclipse/ve/ internal/java/choosebean/ChooseBeanSelector.java,v
retrieving revision 1.13
diff -u -r1.13 ChooseBeanSelector.java
--- core/org/eclipse/ve/internal/java/choosebean/ChooseBeanSelec tor.java 2 Dec 2005 16:31:20 -0000 1.13
+++ core/org/eclipse/ve/internal/java/choosebean/ChooseBeanSelec tor.java 29 Jul 2007 13:15:07 -0000
@@ -26,7 +26,7 @@

public Object[] getNewObjectAndType(CreationTool creationTool, org.eclipse.gef.EditDomain domain) {
EditDomain ed = (EditDomain) domain;
- return ChooseBeanDialog.getChooseBeanResults(ed, null, null);
+ return ChooseBeanDialog.getChooseBeanResults(ed, null, "**");
}

}

--------------070806080509070107060207--
Re: Choose Bean [message #139442 is a reply to message #139387] Tue, 31 July 2007 15:01 Go to previous messageGo to next message
Eclipse User
Originally posted by: kristof.boden.trispark.com

Hi,
I noticed a problem with the combobox cell editor in eclipse 3.3 when I
try to select an existing object in the property sheet. Instead of
adding the code to set the selected object as a member, the property
returns to its original value. On the other hand, if I use the "Choose
Bean" selector to create a new member object, everything works fine.
Is anyone else experiencing this problem?

Regards
Kristof

Petr Podzimek schreef:
> Hi,
> I downloaded VE for Elipse 3.3 from Erik Hecht and "Choose Bean" button
> doesnt work as before. After pressing I can place my visual classes into
> object being edited. Is possible to make it working again?
>
> Thank you.
Re: Choose Bean [message #143035 is a reply to message #139442] Wed, 14 November 2007 12:16 Go to previous message
Eclipse User
Originally posted by: please.nospam.org

Is there a solution for this around. I have the same problem. Some
references can't be choosen from the combobox. After the selection the
choosen value disapears. No source code gets generated.
It would be great to have a solution for this.
Greetings,
Richard
Re: Choose Bean [message #616334 is a reply to message #139387] Sun, 29 July 2007 13:18 Go to previous message
Erik Hecht is currently offline Erik Hecht
Messages: 61
Registered: July 2009
Member
This is a multi-part message in MIME format.
--------------070806080509070107060207
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 7bit

Hello Petr,

i found the Bug, but I'm sorry I can't build a new Version within the
next 2 week. I have to do a lot of other things.

So please wait until the next Update.


Greetings
Erik

post scritpum:
I attached the patch to this posting.




Petr Podzimek schrieb:
> Hi,
> I downloaded VE for Elipse 3.3 from Erik Hecht and "Choose Bean" button
> doesnt work as before. After pressing I can place my visual classes into
> object being edited. Is possible to make it working again?
>
> Thank you.


--------------070806080509070107060207
Content-Type: text/plain;
name="ChooseBeanSelector.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="ChooseBeanSelector.txt"

### Eclipse Workspace Patch 1.0
#P org.eclipse.ve.java.core
Index: core/org/eclipse/ve/internal/java/choosebean/ChooseBeanSelec tor.java
============================================================ =======
RCS file: /cvsroot/tools/org.eclipse.ve.java.core/core/org/eclipse/ve/ internal/java/choosebean/ChooseBeanSelector.java,v
retrieving revision 1.13
diff -u -r1.13 ChooseBeanSelector.java
--- core/org/eclipse/ve/internal/java/choosebean/ChooseBeanSelec tor.java 2 Dec 2005 16:31:20 -0000 1.13
+++ core/org/eclipse/ve/internal/java/choosebean/ChooseBeanSelec tor.java 29 Jul 2007 13:15:07 -0000
@@ -26,7 +26,7 @@

public Object[] getNewObjectAndType(CreationTool creationTool, org.eclipse.gef.EditDomain domain) {
EditDomain ed = (EditDomain) domain;
- return ChooseBeanDialog.getChooseBeanResults(ed, null, null);
+ return ChooseBeanDialog.getChooseBeanResults(ed, null, "**");
}

}

--------------070806080509070107060207--
Re: Choose Bean [message #616343 is a reply to message #139387] Tue, 31 July 2007 15:01 Go to previous message
Kristof Boden is currently offline Kristof Boden
Messages: 5
Registered: July 2009
Junior Member
Hi,
I noticed a problem with the combobox cell editor in eclipse 3.3 when I
try to select an existing object in the property sheet. Instead of
adding the code to set the selected object as a member, the property
returns to its original value. On the other hand, if I use the "Choose
Bean" selector to create a new member object, everything works fine.
Is anyone else experiencing this problem?

Regards
Kristof

Petr Podzimek schreef:
> Hi,
> I downloaded VE for Elipse 3.3 from Erik Hecht and "Choose Bean" button
> doesnt work as before. After pressing I can place my visual classes into
> object being edited. Is possible to make it working again?
>
> Thank you.
Re: Choose Bean [message #616877 is a reply to message #139442] Wed, 14 November 2007 12:16 Go to previous message
Eclipse User
Originally posted by: please.nospam.org

Is there a solution for this around. I have the same problem. Some
references can't be choosen from the combobox. After the selection the
choosen value disapears. No source code gets generated.
It would be great to have a solution for this.
Greetings,
Richard
Previous Topic:Adding feature of control-lock
Next Topic:VE tested with Eclipse 3.4
Goto Forum:
  


Current Time: Sun Oct 26 03:51:33 GMT 2014

Powered by FUDForum. Page generated in 0.01685 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software