I created my own GWT component that inherits from composite and I managed to add it to my palette.Then i creates the XML file to specify the method invocation, but it does not work.
to do that i use this toturiel in NewComponentsToturiel.pdf and DesignerCustomizationAPI.PDF
the code of custum component is:
I did not understand, when I created my costum button how he knows there is a xml file that corresponds?
Beside, in other meaning How it work the relation between Mybutton.java and Mybutton.wbp-component.xml knowing that not in same folder.
The xml file must be named Mybutton.wbp-component.xml and it should be in the same folder where the .class file is. Normally it is the subfolder of bin folder, in your case bin/com/sqsdqs/client. (The xml file could be also placed in wbp-meta folder, but for testing /bin is easier).
It works for me, and it should generally work. I don't know how can I help you more. Check all the names for the correct spelling. Remember about reopening the editor window, or better restarting Eclipse after placing the file in the appropriate directory, so GWT Designer can see the xml file. You can also try to put the xml file beside Mybutton.class file, which should be located at <project>/war/WEB-INF/classes/com/sqsdqs/client, but wbp-meta location is better for GWT.