<div>Dear.<STRONG><EM>Magda</EM></STRONG></div> <div><STRONG><EM>I have this problem and I try for solving this error but I can't....</EM></STRONG></div> <div><STRONG><EM>what is your opinion?</EM></STRONG></div> <div><STRONG><EM>I think, using from vc++ for this subject</EM></STRONG></div> <div><STRONG><EM></EM></STRONG><BR><BR><B><I>Magda Fayan <mfayan@gmail.com></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"> <DIV>Hello,</DIV> <DIV> </DIV> <DIV>I have tried to use these methods, however it always gives me the same message: Invalid Number of Parameters. </DIV> <DIV> </DIV> <DIV>The code below shows you what I am trying to do. The parameter "Atom" is the element kind. </DIV> <DIV><BR> </DIV> <DIV> <EM>public void invokeEx(JBuilder builder, JBuilderObject focus, Collection selected, int intParam) {</EM></DIV> <DIV><EM></EM> </DIV>
<DIV><EM> JBuilderModel mdl=(JBuilderModel)focus;<BR> JBuilderAtom a=mdl.createNewAtom("Atom");<BR> javax.swing.JOptionPane.showMessageDialog(null,"Created a="+a);</EM></DIV> <DIV><EM></EM> </DIV> <DIV><EM>}</EM></DIV> <DIV><EM></EM> </DIV> <DIV>Can anyone please help me to find out what am I doing wrong?</DIV> <DIV>The error message is attached below.</DIV> <DIV> </DIV> <DIV>Thanks in advance,</DIV> <DIV> </DIV> <DIV>Magda</DIV> <DIV> </DIV> <DIV><SPAN class=gmail_quote>On 12/12/06, <B class=gmail_sendername>Zoltan Molnar</B> <<A onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:zolmol@isis.vanderbilt.edu" target=_blank>zolmol@isis.vanderbilt.edu </A>> wrote:</SPAN> <BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc
1px solid"> <DIV> <DIV><SPAN><FONT face=Arial color=#0000ff size=2>Hi,</FONT></SPAN></DIV> <DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN><FONT face=Arial color=#0000ff size=2>You have to use the:</FONT></SPAN></DIV> <DIV><SPAN></SPAN><SPAN><FONT face=Arial color=#0000ff size=2><FONT color=#ff0000>public JBuilderModel createNewModel(String partName)</FONT></FONT></SPAN></DIV> <DIV><SPAN><FONT face=Arial color=#0000ff size=2><FONT color=#ff0000>public JBuilderAtom createNewAtom(String partName)</FONT></FONT></SPAN></DIV> <DIV><SPAN><FONT face=Arial color=#ff0000 size=2>public JBuilderModelReference createNewModelReference(String refPartName, JBuilderObject refTo)</FONT></SPAN></DIV> <DIV><SPAN><FONT face=Arial color=#ff0000 size=2>public JBuilderConnection createNewConnection(String connName, JBuilderObject source, JBuilderObject destination)</FONT></SPAN></DIV> <DIV><SPAN><FONT face=Arial color=#ff0000
size=2></FONT></SPAN> </DIV> <DIV><SPAN><FONT face=Arial color=#0000ff size=2> methods of JBuilderModel found in JBuilderModel.java.</FONT></SPAN></DIV> <DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN><FONT face=Arial color=#0000ff size=2>Zoli</FONT></SPAN></DIV> <DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px"> <DIV></DIV> <DIV lang=en-us dir=ltr align=left><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> <A onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:gme-users-bounces@list.isis.vanderbilt.edu" target=_blank>gme-users-bounces@list.isis.vanderbilt.edu</A> [mailto:<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:gme-users-bounces@list.isis.vanderbilt.edu" target=_blank>gme-users-bounces@list.isis.vanderbilt.edu </A>] <B>On Behalf Of </B>seyamak karimi<BR><B>Sent:</B> Sunday, December 10, 2006 9:27 AM<BR><B>To:</B> gme-users<BR><B>Subject:</B> [gme-users] help<BR><BR></FONT></DIV> <DIV>Dear GME users </DIV> <DIV>Hi All </DIV> <DIV>Please help me about write BON for adding atom to model without drag and drop atom from partbrowser of GME. </DIV> <DIV><FONT color=#ff0000><STRONG>Note</STRONG></FONT>: I designed my metamodel and I can create my model using GUI of the GME and drag and drop atom from partbrowser but I want design my model with BON(to prefer java interface) and without drag and drop atom from partbrowser of GME and I try writing a BON(java interface) for this context but I can't successful. </DIV> <DIV>please see my attach file </DIV><B> <DIV><FONT color=#0000ff>Please help me and send sample code</FONT></DIV></B><FONT
color=#0000ff></FONT></BLOCKQUOTE></DIV> <DIV>Best regards </DIV> <DIV>s.karimi </DIV> <div> <HR SIZE=1> Cheap Talk? <A onclick="return top.js.OpenExtLink(window,event,this)" href="http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com" target=_blank>Check out</A> Yahoo! Messenger's low PC-to-Phone call rates. <div></div><BR>_______________________________________________<BR>gme-users mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:gme-users@list.isis.vanderbilt.edu" target=_blank>gme-users@list.isis.vanderbilt.edu </A><BR><A onclick="return top.js.OpenExtLink(window,event,this)" href="http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users" target=_blank>http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users</A><BR><BR><BR> <div></div> <div></div> <div></div> <div></div> <div></div></BLOCKQUOTE></DIV><BR>_______________________________________________<BR>gme-users
mailing list<BR>gme-users@list.isis.vanderbilt.edu<BR>http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users<BR></BLOCKQUOTE><BR><p> 
<hr size=1>Cheap Talk? <a href="http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">Check out</a> Yahoo! Messenger's low PC-to-Phone call rates.