| Author |
Message |
|
|
Post subject: Add Bean
Posted: Jan 29, 2009 - 09:13 PM
|
|
Joined: Jan 29, 2009
Posts: 1
|
|
Hi,
I have a problem, mabye it is just me who does not understand this. I have a jar containing visual java beans. In netbeans I can go to tools and do "add from jar", which gives me the option to add custom components from an external jar. I MyEclipse I suppose the "Choose Bean" should do the same, but I can not make it work. I click the "Choose Bean" node and get a dialog, but I can not add anything here. I have added my Jar to the "Build Path" in my eclipse as an external jar. The bean I want to add is a simple button in com.rsutils.swingtest.TestButton, but when I type this (com.rsutils.swingtest.TestButton) into the "Choose Bean" dialog nothing hapen. I can add this in Netbeans just fine. What an I missing.
Thanks
Rob |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Add Bean
Posted: Jan 30, 2009 - 04:11 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8012
|
|
Rob,
Can you PM me a sample jar file so that I can test this at my end. You can hit the PM button at the bottom of my post and send me the jar. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: adding bean to matisse palette
Posted: Oct 06, 2009 - 12:19 PM
|
|
Veteran Member


Joined: Dec 17, 2004
Posts: 2
|
|
Hi @ll,
is there anything new on this topic? I'am using 7.5-20090609 am winXP prof. I get the 'choose bean' dialog too. Nothing happens after entering a class. On Netbeans the Beans are working fine in Matisse. |
|
|
| |
|
|
|
 |
|
|
Post subject: A workaround
Posted: Oct 06, 2009 - 01:27 PM
|
|
Veteran Member


Joined: Dec 17, 2004
Posts: 2
|
|
The following instructions allow to use a custom component in matisse, but do not add annything to the palette:
- add a component to your form as dummy from matisse palette (javax.swing.JTextField for example)
- close the form in myeclise IDE
- open the .java-File in an external Texteditor (i use JEdit).
- Replace the type of the dummy field with the type of the bean you want to use (decalaration and instantiation)
- change the setter of the value of the component accordingly or simply remove it.
- save the file
- open .form-File in an external Editor
- replace the type assignments of the component, identified by the variable name
- correct the value assignment of the component, esp. the type.
- save the form.
- reopen form in myeclise IDE. The component should now be displayed. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: A workaround
Posted: Oct 08, 2009 - 11:27 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8012
|
|
Thank you for posting this workaround. I have filed a PR for investigation and we will try to fix this asap. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: A workaround
Posted: Feb 04, 2011 - 03:40 PM
|
|
Joined: Feb 04, 2011
Posts: 1
|
|
| support-nipun wrote: | | Thank you for posting this workaround. I have filed a PR for investigation and we will try to fix this asap. |
Is there now a process for adding a jar? |
_________________ Brett
PepsiCo Developer
|
| |
|
|
|
 |
|
|