Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Inserting an argument after instantiating a class
Inserting an argument after instantiating a class [message #606249] Tue, 05 April 2005 07:44
Eclipse UserFriend
Hello,

I would like to make it possible for a user to select arguments for the
instantiating a class from the “Property Sheet” after a dropping a
component from the palette.



For example:



1. I drop a MyJButton on the JFrame. The following code will be generated:



myJButton = new MyJButton();



2. I change the property (e.g. "arguments") from <none> to “en”, the text
“english” will be inserted


myJButton = new MyJButton(“english”);




Could you give me a tip how I can implement it :-)



Thank you in advance

Elena
Previous Topic:Trouble running VE with Eclipse 3.0.2
Next Topic:Cannot get VE editor menus to show up in 3.0.2
Goto Forum:
  


Current Time: Mon Jun 16 19:12:09 EDT 2025

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

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

Back to the top