String values in the property sheet [message #607784] |
Tue, 17 May 2005 15:08 |
Elena Demeter 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
|
|
|
Powered by
FUDForum. Page generated in 0.03244 seconds