Author |
Message
|
blackwhites |
Posted: Sun Feb 08, 2009 10:11 pm Post subject: About Customer node file chooser GUI problem |
|
|
Novice
Joined: 23 Jan 2009 Posts: 10
|
Hi ,I developed a customer node, in this node GUI ,I want to add a FileChooser function in the GUI ,but I don't find any property defined in my msgnode file,it only provide like textbox,table controls in the GUI .SO can anyone can tell me how to add a file chooser box in the GUI ? |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Feb 09, 2009 4:00 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
blackwhites |
Posted: Mon Feb 09, 2009 5:51 am Post subject: |
|
|
Novice
Joined: 23 Jan 2009 Posts: 10
|
Can you explain more ?As I know FileChooser will use this class org.eclipse.swt.widgets.FileDialog,but in msgnode properties there is no place to configure this control, I can add some simple property lilke textbox etc. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Feb 09, 2009 6:24 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You'll need to write code to do this.
You can't just configure things in msgnode.properties.
I haven't specifically tried to do exactly this. |
|
Back to top |
|
 |
elvis_gn |
Posted: Mon Feb 09, 2009 7:23 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi blackwhites,
I've tried simpler things like drop down menus with dynamic names(like MQInput node automatically populating available message set names), that itself was not possible, so I really doubt you could extend it for FileChooser.
Perhaps someone from the labs could answer this.
Regards. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Feb 09, 2009 10:29 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
To be more specific, you have to write a class that uses the PropertyEditor API and implements the IPropertyEditor interface.. |
|
Back to top |
|
 |
|