Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » modify static field
modify static field [message #130921] Thu, 14 September 2006 18:13 Go to next message
hung is currently offline hungFriend
Messages: 117
Registered: July 2009
Senior Member
Hello,

Does anyone know how to modify a static field of the current editing
file? for example, if I have a class looks like this :


class Test extends MyComposite
{
public static String name = "test";

....
}

if the user modifies some properties of Test, I need to change the
static field "name" to something else too. Could this be done? Thanks.
Re: modify static field [message #130937 is a reply to message #130921] Thu, 14 September 2006 18:38 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Do you mean through the VE? If so, then no there is no current way to do
that.

Hung Lam wrote:
> Hello,
>
> Does anyone know how to modify a static field of the current editing
> file? for example, if I have a class looks like this :
>
>
> class Test extends MyComposite
> {
> public static String name = "test";
>
> ....
> }
>
> if the user modifies some properties of Test, I need to change the
> static field "name" to something else too. Could this be done? Thanks.
Re: modify static field [message #614619 is a reply to message #130921] Thu, 14 September 2006 18:38 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Do you mean through the VE? If so, then no there is no current way to do
that.

Hung Lam wrote:
> Hello,
>
> Does anyone know how to modify a static field of the current editing
> file? for example, if I have a class looks like this :
>
>
> class Test extends MyComposite
> {
> public static String name = "test";
>
> ....
> }
>
> if the user modifies some properties of Test, I need to change the
> static field "name" to something else too. Could this be done? Thanks.
Previous Topic:modify static field
Next Topic:NEW TUTORIALS NEEDED
Goto Forum:
  


Current Time: Thu Apr 18 18:37:47 GMT 2024

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

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

Back to the top