<?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, Android, and whatever else!!!</description>
	<lastBuildDate>Sat, 01 Oct 2011 11:33:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Santlal</title>
		<link>http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/comment-page-1/#comment-15197</link>
		<dc:creator>Santlal</dc:creator>
		<pubDate>Sat, 01 Oct 2011 11:33:01 +0000</pubDate>
		<guid isPermaLink="false">http://whatwouldnickdo.com/wordpress/?p=370#comment-15197</guid>
		<description>Hello
I am using above example with gwt 2.3 I does not prevent context menu . Could anyone please help me. Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hello<br />
I am using above example with gwt 2.3 I does not prevent context menu . Could anyone please help me. Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/comment-page-1/#comment-3669</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Mon, 27 Sep 2010 13:53:14 +0000</pubDate>
		<guid isPermaLink="false">http://whatwouldnickdo.com/wordpress/?p=370#comment-3669</guid>
		<description>Thank, man! This really helped.</description>
		<content:encoded><![CDATA[<p>Thank, man! This really helped.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daghan</title>
		<link>http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/comment-page-1/#comment-3510</link>
		<dc:creator>Daghan</dc:creator>
		<pubDate>Sun, 19 Sep 2010 06:37:33 +0000</pubDate>
		<guid isPermaLink="false">http://whatwouldnickdo.com/wordpress/?p=370#comment-3510</guid>
		<description>I am using GWT 2.1.0 M3 and I think the code below is bit more concise and shorter (it is MVP style)

public class BrowserPresenter implements ContextMenuHandler {
	private BrowserView view;  // a composite widget
	
	public BrowserPresenter(Widget _view) {
		view = (BrowserView) _view;
		view.browserTree.addDomHandler(this, ContextMenuEvent.getType());
	}
	
	@Override
	public void onContextMenu(ContextMenuEvent event) {
		event.stopPropagation();     //This will stop the event from being propagated to parent elements.
		event.preventDefault();        // because cancelBubble(Boolean) is deprecated
		Window.alert(&quot;replace this line with your popup function &quot;);
	}</description>
		<content:encoded><![CDATA[<p>I am using GWT 2.1.0 M3 and I think the code below is bit more concise and shorter (it is MVP style)</p>
<p>public class BrowserPresenter implements ContextMenuHandler {<br />
	private BrowserView view;  // a composite widget</p>
<p>	public BrowserPresenter(Widget _view) {<br />
		view = (BrowserView) _view;<br />
		view.browserTree.addDomHandler(this, ContextMenuEvent.getType());<br />
	}</p>
<p>	@Override<br />
	public void onContextMenu(ContextMenuEvent event) {<br />
		event.stopPropagation();     //This will stop the event from being propagated to parent elements.<br />
		event.preventDefault();        // because cancelBubble(Boolean) is deprecated<br />
		Window.alert(&#8220;replace this line with your popup function &#8220;);<br />
	}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: holter</title>
		<link>http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/comment-page-1/#comment-2980</link>
		<dc:creator>holter</dc:creator>
		<pubDate>Mon, 30 Aug 2010 13:42:21 +0000</pubDate>
		<guid isPermaLink="false">http://whatwouldnickdo.com/wordpress/?p=370#comment-2980</guid>
		<description>Hi Nick, thanks for the code. Save a lot of time. One small comment.

In IE8   did not work.
I had to use an explicte script (stolen from another site...).


function mycontextmenu()
{
	return false;
}
document.oncontextmenu = mycontextmenu;


Then suppression of the context menu in IE worked as well as in FireFox.</description>
		<content:encoded><![CDATA[<p>Hi Nick, thanks for the code. Save a lot of time. One small comment.</p>
<p>In IE8   did not work.<br />
I had to use an explicte script (stolen from another site&#8230;).</p>
<p>function mycontextmenu()<br />
{<br />
	return false;<br />
}<br />
document.oncontextmenu = mycontextmenu;</p>
<p>Then suppression of the context menu in IE worked as well as in FireFox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/comment-page-1/#comment-2905</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Tue, 24 Aug 2010 12:39:35 +0000</pubDate>
		<guid isPermaLink="false">http://whatwouldnickdo.com/wordpress/?p=370#comment-2905</guid>
		<description>Yep.  I&#039;ve read Wicket in Action and it&#039;s one of the better In Action books.  Personally I think Wicket is a great idea as far as a framework and is my choice if I have to start on a new webapp from scratch.</description>
		<content:encoded><![CDATA[<p>Yep.  I&#8217;ve read Wicket in Action and it&#8217;s one of the better In Action books.  Personally I think Wicket is a great idea as far as a framework and is my choice if I have to start on a new webapp from scratch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: australian iphone apps</title>
		<link>http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/comment-page-1/#comment-2902</link>
		<dc:creator>australian iphone apps</dc:creator>
		<pubDate>Tue, 24 Aug 2010 08:43:12 +0000</pubDate>
		<guid isPermaLink="false">http://whatwouldnickdo.com/wordpress/?p=370#comment-2902</guid>
		<description>Good one! I’ve read a few of the “in Action” books lately and if anyone is looking at the Apache Wicket framework I’d highly recommend Wicket in Action.</description>
		<content:encoded><![CDATA[<p>Good one! I’ve read a few of the “in Action” books lately and if anyone is looking at the Apache Wicket framework I’d highly recommend Wicket in Action.</p>
]]></content:encoded>
	</item>
	<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>
</channel>
</rss>

