Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » String values in the property sheet
String values in the property sheet [message #607784] Tue, 17 May 2005 15:08
Elena Demeter is currently offline Elena DemeterFriend
Messages: 152
Registered: July 2009
Senior Member
Hello,



In the property sheet of the VE it is possible to set properties by
selecting a variable from a combo box. This is not possible if the value
is a string. Here is an example:




Public class MyButton extends JButton {


…


Public void setRessource(String s) { …}


}


In this case there is a line "ressource" in the property sheet and I can
type a string e.g myRessource. The VE inserts a line
myButton.setRessource("myRessource").



I would like to have a possibility to select a variable of String type.


Could you give me a hint how I can find out what String variables exist in
the code in order to give the user a possibility to select one variable
from a combo box. Can a customizer be helpful?


I would like that VE inserts a variable name. Here is an example:

String mRes = "ABC";
myButton.setRessource(mRes);



Thanks in advance
Elena
Previous Topic:One question about SWT Applicaiton run in Linux FC2.
Next Topic:VE N20050516 problems with M7
Goto Forum:
  


Current Time: Fri Apr 19 23:03:02 GMT 2024

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

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

Back to the top