Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-jsf-dev] Extension point in Visual Page editor of JSF

Can you expand a bit on what you are trying to do and what extension points you would like?  The Visual page editor already has extensive extension points for extending such things as the context menus used on the design canvas.

--Cam

--- Original Message ---
> 
> 
> <head>
> <meta http-equiv=Content-Type content="text/html; charset=us-ascii">
> 
> <!--[if gte mso 9]><xml>
>  <o:shapedefaults v:ext="edit" spidmax="1026" />
> </xml><![endif]--><!--[if gte mso 9]><xml>
>  <o:shapelayout v:ext="edit">
>   <o:idmap v:ext="edit" data="1" />
>  </o:shapelayout></xml><![endif]-->
> </head>
> 
> 
> 
> <div class=Section1>
> 
> <p class=MsoNormal><font size=2 face=Arial><span
> style='font-size:10.0pt;
> font-family:Arial'>Hi,<o:p></o:p></span></font></p>
> 
> <p class=MsoNormal><font size=2 face=Arial><span
> style='font-size:10.0pt;
> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
> 
> <p class=MsoNormal><font size=2 face=Arial><span
> style='font-size:10.0pt;
> font-family:Arial'>I am trying to add some features in the
> palette of &nbsp;the
> Visual page editor of JSF which is provided as part of
> WTP.<o:p></o:p></span></font></p>
> 
> <p class=MsoNormal><font size=2 face=Arial><span
> style='font-size:10.0pt;
> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
> 
> <p class=MsoNormal><font size=2 face=Arial><span
> style='font-size:10.0pt;
> font-family:Arial'>For example I need to add extra option in
> the right click of
> command button, so that I can browse all the beans and their
> methods (in a tree
> format) available in the project.<o:p></o:p></span></font></p>
> 
> <p class=MsoNormal><font size=2 face=Arial><span
> style='font-size:10.0pt;
> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
> 
> <p class=MsoNormal><font size=2 face=Arial><span
> style='font-size:10.0pt;
> font-family:Arial'>Once a particular method is available the
> underlying jsf
> code should change to incorporate the method name in the command
> tag like <o:p></o:p></span></font></p>
> 
> <p class=MsoNormal><font size=2 face=Arial><span
> style='font-size:10.0pt;
> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
> 
> <p class=MsoNormal><font size=2 face=Arial><span
> style='font-size:10.0pt;
> font-family:Arial'>&lt;h:commandButton
> action=&quot;#{whistleblowerBean.getPerson}&quot;&gt;&lt;/h:commandButton&gt;&nbsp;&nbsp;
> (Seam Specific action binding)<o:p></o:p></span></font></p>
> 
> <p class=MsoNormal><font size=2 face=Arial><span
> style='font-size:10.0pt;
> font-family:Arial'>&nbsp;<o:p></o:p></span></font></p>
> 
> <p class=MsoNormal><font size=2 face=Arial><span
> style='font-size:10.0pt;
> font-family:Arial'>I have implemented it by changing the
> org.eclipse.jst.pagedesigner.jsf.ui
> &amp; &nbsp;org.eclipse.jst.pagedesigner plugin code, but it
> would be a cleaner
> and extensible approach if I can do it through extension point
> mechanism<o:p></o:p></span></font></p>
> 
> <p class=MsoNormal><font size=2 face=Arial><span
> style='font-size:10.0pt;
> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
> 
> <p class=MsoNormal><font size=2 face=Arial><span
> style='font-size:10.0pt;
> font-family:Arial'>If anyone can provide some help on extension
> point approach,
> it would be greatly appreciated<o:p></o:p></span></font></p>
> 
> <p class=MsoNormal><font size=2 face=Arial><span
> style='font-size:10.0pt;
> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
> 
> <p class=MsoNormal><font size=2 face=Arial><span
> style='font-size:10.0pt;
> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
> 
> <p class=MsoNormal><font size=2 face=Arial><span
> style='font-size:10.0pt;
> font-family:Arial'>Neeraj Bhatt<o:p></o:p></span></font></p>
> 
> </div>
> 
> 
> 
> 
> 
> 
> --------_______________________________________________
> wtp-jsf-dev mailing list
> wtp-jsf-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/wtp-jsf-dev
> 



Back to the top