<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: GWT Right-click Context Menu</title>
	<atom:link href="http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/feed/" rel="self" type="application/rss+xml" />
	<link>http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/</link>
	<description>Discussions on Programming, Linux, and whatever else.</description>
	<lastBuildDate>Tue, 27 Jul 2010 12:00:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Bipin</title>
		<link>http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/comment-page-1/#comment-1836</link>
		<dc:creator>Bipin</dc:creator>
		<pubDate>Sat, 19 Dec 2009 14:26:46 +0000</pubDate>
		<guid isPermaLink="false">http://whatwouldnickdo.com/wordpress/?p=370#comment-1836</guid>
		<description>Hi Nick,

I have done that disable thing by just adding action as null, and changing css for that perticular menu item.

Thank you,
Bipin Sutariya</description>
		<content:encoded><![CDATA[<p>Hi Nick,</p>
<p>I have done that disable thing by just adding action as null, and changing css for that perticular menu item.</p>
<p>Thank you,<br />
Bipin Sutariya</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bipin</title>
		<link>http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/comment-page-1/#comment-1835</link>
		<dc:creator>Bipin</dc:creator>
		<pubDate>Sat, 19 Dec 2009 14:24:52 +0000</pubDate>
		<guid isPermaLink="false">http://whatwouldnickdo.com/wordpress/?p=370#comment-1835</guid>
		<description>Hi,

Thank you for your reply on my question for menu disable. Now i need to implement Focus and UnFocus functionality in this same class. I tried it out but focus and unfocus event is not picking up by onBrowserEvent. 

Can you please suggest, how i can implement this?

Thank you,
Bipin</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thank you for your reply on my question for menu disable. Now i need to implement Focus and UnFocus functionality in this same class. I tried it out but focus and unfocus event is not picking up by onBrowserEvent. </p>
<p>Can you please suggest, how i can implement this?</p>
<p>Thank you,<br />
Bipin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/comment-page-1/#comment-1832</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Wed, 16 Dec 2009 22:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://whatwouldnickdo.com/wordpress/?p=370#comment-1832</guid>
		<description>Hi Marc,
Both are pretty close, but if I had to pick one I&#039;d go with GWT in Action.  I liked the structure and the order of topics a little better. I don&#039;t think I actually finished GWT in Practice but it&#039;s still on my desk and use it for reference.

 I&#039;ve read a few of the &quot;in Action&quot; books lately and if anyone is looking at the Apache Wicket framework I&#039;d highly recommend Wicket in Action.

-Nick</description>
		<content:encoded><![CDATA[<p>Hi Marc,<br />
Both are pretty close, but if I had to pick one I&#8217;d go with GWT in Action.  I liked the structure and the order of topics a little better. I don&#8217;t think I actually finished GWT in Practice but it&#8217;s still on my desk and use it for reference.</p>
<p> I&#8217;ve read a few of the &#8220;in Action&#8221; books lately and if anyone is looking at the Apache Wicket framework I&#8217;d highly recommend Wicket in Action.</p>
<p>-Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/comment-page-1/#comment-1831</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Tue, 15 Dec 2009 15:10:57 +0000</pubDate>
		<guid isPermaLink="false">http://whatwouldnickdo.com/wordpress/?p=370#comment-1831</guid>
		<description>Nice sample. You mention 2 books about GWT. Which one do you prefer and why?</description>
		<content:encoded><![CDATA[<p>Nice sample. You mention 2 books about GWT. Which one do you prefer and why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moochy</title>
		<link>http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/comment-page-1/#comment-1830</link>
		<dc:creator>Moochy</dc:creator>
		<pubDate>Mon, 14 Dec 2009 20:21:48 +0000</pubDate>
		<guid isPermaLink="false">http://whatwouldnickdo.com/wordpress/?p=370#comment-1830</guid>
		<description>King Context Sir!</description>
		<content:encoded><![CDATA[<p>King Context Sir!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/comment-page-1/#comment-1828</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Thu, 12 Nov 2009 13:11:11 +0000</pubDate>
		<guid isPermaLink="false">http://whatwouldnickdo.com/wordpress/?p=370#comment-1828</guid>
		<description>I&#039;m not sure if you can do that right out of the box.  If you need it you could probably subclass the MenuItem, add a &quot;disabled&quot; member, and change the style to match if (disabled == true).</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure if you can do that right out of the box.  If you need it you could probably subclass the MenuItem, add a &#8220;disabled&#8221; member, and change the style to match if (disabled == true).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bipin</title>
		<link>http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/comment-page-1/#comment-1827</link>
		<dc:creator>Bipin</dc:creator>
		<pubDate>Thu, 12 Nov 2009 05:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://whatwouldnickdo.com/wordpress/?p=370#comment-1827</guid>
		<description>It&#039;s nice example. I have implemented this in my project. I have some issue with MenuItem. can i disable perticular menuitem? I have that type of requirement...</description>
		<content:encoded><![CDATA[<p>It&#8217;s nice example. I have implemented this in my project. I have some issue with MenuItem. can i disable perticular menuitem? I have that type of requirement&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/comment-page-1/#comment-1825</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Sat, 24 Oct 2009 17:49:27 +0000</pubDate>
		<guid isPermaLink="false">http://whatwouldnickdo.com/wordpress/?p=370#comment-1825</guid>
		<description>Very cool!
My code is pre-1.6 and I&#039;ve been thinking about redoing with handlers, but just haven&#039;t had the time.</description>
		<content:encoded><![CDATA[<p>Very cool!<br />
My code is pre-1.6 and I&#8217;ve been thinking about redoing with handlers, but just haven&#8217;t had the time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jayend</title>
		<link>http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/comment-page-1/#comment-1824</link>
		<dc:creator>Jayend</dc:creator>
		<pubDate>Sat, 24 Oct 2009 08:20:25 +0000</pubDate>
		<guid isPermaLink="false">http://whatwouldnickdo.com/wordpress/?p=370#comment-1824</guid>
		<description>Following solved my problem. Not sure whether it is the right way

http://stackoverflow.com/questions/888917/suppress-control-click-context-menu-gwt-1-6</description>
		<content:encoded><![CDATA[<p>Following solved my problem. Not sure whether it is the right way</p>
<p><a href="http://stackoverflow.com/questions/888917/suppress-control-click-context-menu-gwt-1-6" rel="nofollow">http://stackoverflow.com/questions/888917/suppress-control-click-context-menu-gwt-1-6</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jayend</title>
		<link>http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/comment-page-1/#comment-1823</link>
		<dc:creator>Jayend</dc:creator>
		<pubDate>Sat, 24 Oct 2009 07:34:10 +0000</pubDate>
		<guid isPermaLink="false">http://whatwouldnickdo.com/wordpress/?p=370#comment-1823</guid>
		<description>Nick, i took your concept and did the same using handlers. 

I registered ContextMenuHandler, MouseupHandlers and also DoubleClickHandlers. I get the menu when i right click, but at the same time the browser contextMenu appears. i am not able to disable it. I am using FF 3.0.

  public void onContextMenu(ContextMenuEvent event) {
    event.stopPropagation();
    event.preventDefault();

  }

  @Override
  public void onMouseUp(MouseUpEvent event) {
    // Stop all default activities.
    event.stopPropagation();
    event.preventDefault();

    if (event.getNativeButton() == NativeEvent.BUTTON_RIGHT) {
      int x = event.getClientX();
      int y = event.getClientY();
      pp.setPopupPosition(x, y);
      pp.show();
    }

  }

  @Override
  public void onDoubleClick(DoubleClickEvent event) {
    event.stopPropagation();
    event.preventDefault();
  }</description>
		<content:encoded><![CDATA[<p>Nick, i took your concept and did the same using handlers. </p>
<p>I registered ContextMenuHandler, MouseupHandlers and also DoubleClickHandlers. I get the menu when i right click, but at the same time the browser contextMenu appears. i am not able to disable it. I am using FF 3.0.</p>
<p>  public void onContextMenu(ContextMenuEvent event) {<br />
    event.stopPropagation();<br />
    event.preventDefault();</p>
<p>  }</p>
<p>  @Override<br />
  public void onMouseUp(MouseUpEvent event) {<br />
    // Stop all default activities.<br />
    event.stopPropagation();<br />
    event.preventDefault();</p>
<p>    if (event.getNativeButton() == NativeEvent.BUTTON_RIGHT) {<br />
      int x = event.getClientX();<br />
      int y = event.getClientY();<br />
      pp.setPopupPosition(x, y);<br />
      pp.show();<br />
    }</p>
<p>  }</p>
<p>  @Override<br />
  public void onDoubleClick(DoubleClickEvent event) {<br />
    event.stopPropagation();<br />
    event.preventDefault();<br />
  }</p>
]]></content:encoded>
	</item>
</channel>
</rss>
