Plugin Development: submit a customized form
Posted: Tue Apr 17, 2012 12:36 am
I need to gather input from the user, and I would like to gather the information via a form that has text fields and perhaps other swing elements like combo-boxes, etc... I would like the user to be able to access the form via the menu bar, and once they have filled out the form and click on a submit button it should then execute my custom logic.
From the documentation, it is clear that I should have a class that extends WorkspaceAccessPluginExtension so that I can customize the menu to include my new menu item. However, the documentation is not very clear on whether it would be possible to create a custom form with elements SWING like elements such as textfields, combo-boxes, and a submit button to gather user input and then run an Action upon submission of the form.
Any help and pointers to some existing examples would be great, thanks ahead of time.
---Thu
From the documentation, it is clear that I should have a class that extends WorkspaceAccessPluginExtension so that I can customize the menu to include my new menu item. However, the documentation is not very clear on whether it would be possible to create a custom form with elements SWING like elements such as textfields, combo-boxes, and a submit button to gather user input and then run an Action upon submission of the form.
Any help and pointers to some existing examples would be great, thanks ahead of time.
---Thu