<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<!-- MHonArc v2.6.10 -->
	<channel>
		<title>news.eclipse.technology.rap</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/maillist.html</link>
		<description>NewsGroup: news.eclipse.technology.rap</description>
		<language>en-us</language>
		<pubDate>Fri, 18 Sep 2009 15:23:42 GMT</pubDate>
		<lastBuildDate>Fri, 18 Sep 2009 15:23:42 GMT</lastBuildDate>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<generator>MHonArc RSS 2.0 RCFile</generator>
		<managingEditor>webmaster@eclipse.org (Webmaster)</managingEditor>
		<webMaster>webmaster@eclipse.org (Webmaster)</webMaster>
		<image>
			<title>news.eclipse.technology.rap</title>
			<url>http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/eclipse_home_header.jpg</url>
			<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/maillist.html</link>
		</image>
 

	<item>
		<title>[ews.eclipse.technology.rap] Re: FileUpload provided from .jar	(plugin)- the jar</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07529.html</link>
		<description> Attachment: org.eclipse.rwt.widgets.upload_1.0.0.200909181754.jar Description: Binary data </description>
		<content:encoded><![CDATA[<pre>
</pre><p><strong>Attachment:
<a href="binBvW9AMjKMM.bin" ><tt>org.eclipse.rwt.widgets.upload_1.0.0.200909181754.jar</tt></a></strong><br>
<em>Description:</em> Binary data</p>
]]></content:encoded>
		<pubDate>Fri, 18 Sep 2009 15:11:33 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07529.html</guid>
		<author>a.pavlov@xxxxxxx (Aleksandar Pavlov)</author>
	</item>
	<item>
		<title>[ews.eclipse.technology.rap] Re: FileUpload provided from .jar	(plugin)</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07528.html</link>
		<description> </description>
		<content:encoded><![CDATA[<pre>Hello again,
here is a new formulation of my question:
What should one do in order to run the upload demo without the rest of
the projects opened in the workspace. The rest of the projects are:
rwt.widgets.upload, commons-io and commons-fileupload.

What I did is that I found commons-io.jar and commons-fileupload.jar,
added them to a lib folder in the widget.upload project and removed the
dependencies. Then jarred the whole thing and added it to the upload.demo.

And on start it shows error:

Could not evaluate javascript response:
TypeError: org.eclipse.rwt.widgets.Upload is not a constructor

The console is full with &quot;Active&quot; and &quot;Resolved&quot; statuses.
I will attach the generated .jar file, if you wish to reproduce the problem.

I believe that I have some conceptual mistake, and I hope that I can
learn from it.

Thanks in advance.

Greetings,
Aleks




Benjamin Muskalla wrote:
&gt; Hi,
&gt; 
&gt; yep, manifest looks good (that's the one that comes with the upload
&gt; widget).
&gt; What are your current problem in using the widget? Do you still get the
&gt; javascript error? If yes, please check if the bundle starts correctly
&gt; (start RAP with -console and check the bundle state with &quot;ss&quot;). Are all
&gt; dependencies satisfied?
&gt; 
&gt; Note, there is a demo project that shows how to use the widget.
&gt; 
&gt; Regards,
&gt;   Ben
&gt; 

</pre>]]></content:encoded>
		<pubDate>Fri, 18 Sep 2009 15:10:30 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07528.html</guid>
		<author>a.pavlov@xxxxxxx (Aleksandar Pavlov)</author>
	</item>
	<item>
		<title>[ews.eclipse.technology.rap] Re: How to add CoolBarItems to the	business design?</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07527.html</link>
		<description>I'm sorry, this message is a mess. Again: Just found out that command contribution works correctly, I first used a controlContribution. It seems that control contributions are not displayed in the business design, but I'm not sure whether I'M using it corr...</description>
		<content:encoded><![CDATA[<pre>I'm sorry, this message is a mess. Again:

Just found out that command contribution works correctly, I first used a
controlContribution. It seems that control contributions are not
displayed in the business design, but I'm not sure whether I'M using it
correctly. However, to be more specific, I would like to add a
Label to the collbar dispalying the currently logged in User.

Any hints how I could do that?

My first approach was to add a controlcontribution and using a Label
there. For the standard desing, that worked, but i wasn't able to layout it.


&gt; Just found out that command contribution work correctly, if first used a
&gt; controlContribution. However, to be more specific, I would like to add a
&gt; Label to the collbar sipalying the currently logged in User.
&gt; 
&gt; Any hints how I could do that?
&gt; 
&gt; 
&gt;&gt; Hi I'm currently playing around with the business design example and
&gt;&gt; would like to add coolbar items. In the standard design, I see the Items
&gt;&gt; I contributed via the org.eclipse.menus extension point. In the business
&gt;&gt; design, there arent any? What else do have to do to add Items to the
&gt;&gt; coolbar in the business design?
&gt;&gt;
&gt;&gt; TIA,
&gt;&gt;
&gt;&gt; Tom

</pre>]]></content:encoded>
		<pubDate>Fri, 18 Sep 2009 14:20:06 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07527.html</guid>
		<author>t.haskes@xxxxxxx (Thomas Haskes)</author>
	</item>
	<item>
		<title>[ews.eclipse.technology.rap] Re: How to add CoolBarItems to the	business design?</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07526.html</link>
		<description>Just found out that command contribution work correctly, if first used a controlContribution. However, to be more specific, I would like to add a Label to the collbar sipalying the currently logged in User. Any hints how I could do that? </description>
		<content:encoded><![CDATA[<pre>Just found out that command contribution work correctly, if first used a
controlContribution. However, to be more specific, I would like to add a
Label to the collbar sipalying the currently logged in User.

Any hints how I could do that?


&gt; Hi I'm currently playing around with the business design example and
&gt; would like to add coolbar items. In the standard design, I see the Items
&gt; I contributed via the org.eclipse.menus extension point. In the business
&gt; design, there arent any? What else do have to do to add Items to the
&gt; coolbar in the business design?
&gt; 
&gt; TIA,
&gt; 
&gt; Tom

</pre>]]></content:encoded>
		<pubDate>Fri, 18 Sep 2009 14:07:21 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07526.html</guid>
		<author>t.haskes@xxxxxxx (Thomas Haskes)</author>
	</item>
	<item>
		<title>[ews.eclipse.technology.rap] How to add CoolBarItems to the	business design?</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07525.html</link>
		<description>Hi I'm currently playing around with the business design example and would like to add coolbar items. In the standard design, I see the Items I contributed via the org.eclipse.menus extension point. In the business design, there arent any? What else do hav...</description>
		<content:encoded><![CDATA[<pre>Hi I'm currently playing around with the business design example and
would like to add coolbar items. In the standard design, I see the Items
I contributed via the org.eclipse.menus extension point. In the business
design, there arent any? What else do have to do to add Items to the
coolbar in the business design?

TIA,

Tom

</pre>]]></content:encoded>
		<pubDate>Fri, 18 Sep 2009 13:45:05 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07525.html</guid>
		<author>t.haskes@xxxxxxx (Thomas Haskes)</author>
	</item>
	<item>
		<title>[ews.eclipse.technology.rap] Re: NPE from	ResourceTranslatorHelper$TranslatorAlgorithm</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07524.html</link>
		<description> -- Benjamin Muskalla | EclipseSource Karlsruhe http://www.eclipsesource.com | http://twitter.com/eclipsesource </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi Dmitry,</pre><br>
<pre style="margin: 0em;">do you have a small snippet to reproduce?</pre><br>
<pre style="margin: 0em;">Regards,
  Ben</pre><br>
<tt>Dmitry Pryadkin wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">I forget to mention, this happens only if running on Tomcat</pre><br>
<tt>Dmitry Pryadkin wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Greetings,</pre><br>
<tt>This NPE is being thrown if I request the &quot;bundle_id&quot; attribute from 
ConfigurationElement.</tt><br>
<br>
<tt>java.lang.NullPointerException<br>
    at 
org.eclipse.ui.internal.ResourceTranslatorHelper$TranslatorAlgorithm.getResourceBundle(ResourceTranslatorHelper.java:85) </tt><br>
<br>
<tt>    at 
org.eclipse.ui.internal.ResourceTranslatorHelper$TranslatorAlgorithm.run(ResourceTranslatorHelper.java:59) </tt><br>
<br>
<tt>    at 
org.eclipse.core.runtime.RegistryFactory.translate(RegistryFactory.java:155) </tt><br>
<br>
<tt>    at 
org.eclipse.core.internal.registry.ConfigurationElement.getAttribute(ConfigurationElement.java:90) </tt><br>
<br>
<tt>    at 
org.eclipse.core.internal.registry.ConfigurationElementHandle.getAttribute(ConfigurationElementHandle.java:34) </tt><br>
<br>
<pre style="margin: 0em;">    at
myActivator.start</pre><br>
<pre style="margin: 0em;">Regards,
Dmitry
</pre></blockquote></blockquote><pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;">--
Benjamin Muskalla | EclipseSource Karlsruhe
<a  href="http://www.eclipsesource.com">http://www.eclipsesource.com</a> | <a  href="http://twitter.com/eclipsesource">http://twitter.com/eclipsesource</a></pre><br>
]]></content:encoded>
		<pubDate>Fri, 18 Sep 2009 09:11:24 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07524.html</guid>
		<author>bmuskalla@xxxxxxx (Benjamin Muskalla)</author>
	</item>
	<item>
		<title>[ews.eclipse.technology.rap] Re: Selection not working after Dialog	posted</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07523.html</link>
		<description> -- Benjamin Muskalla | EclipseSource Karlsruhe http://www.eclipsesource.com | http://twitter.com/eclipsesource </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi Stuart,</pre><br>
<tt>note that most dialogs in Eclipse have some data set (eg. Workbench 
shell has the WorkbenchWindow, OpenView Shell has the OpenViewDialog, etc).<br>
Which shell do you get after closing the dialog? Maybe the title or the 
parent gives you any information what shell object you get at that point.</tt><br>
<br>
<tt>Maybe there is another shell that gets the Activate event instead of the 
WorkbenchWindow shell.</tt><br>
<br>
<pre style="margin: 0em;">Regards,
  Ben</pre><br>
<tt>Stuart Pond wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">All,</pre><br>
<tt>I can not isolate it down to reproducible example to file a bug.  
However, I was able to following in the debugger that the 
CurrentSelectionProvider.updateWindows method is getting a bogus shell 
object in the event.  The shell object is suppose to have a handle to 
the workbenchWindow in its getData() method. But it does not.  This is 
why the source provider is never hooked up again to the selection service.</tt><br>
<br>
<tt>I suspect the listener is listening to the wrong shell, one that has 
already been disposed.  Any ideas where to look next?</tt><br>
<br>
<tt>-Stu Pond<br>
&quot;Ivan Furnadjiev&quot; &lt;ivan@xxxxxxxxxxxxxxxxx&gt; wrote in message 
<a  href="news:h887bf$9id$1@xxxxxxxxxxxxxxxxxxxx">news:h887bf$9id$1@xxxxxxxxxxxxxxxxxxxx</a>
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi Stu,</pre><br>
<tt>if you have a snippet to reproduce your scenario, please file a 
bugzilla [1]. The fix for bug 245100 is included in the 1.2 release.</tt><br>
<br>
<pre style="margin: 0em;">[1] <a  href="http://wiki.eclipse.org/RAP_Bug_Reporting_Howto">http://wiki.eclipse.org/RAP_Bug_Reporting_Howto</a></pre><br>
<pre style="margin: 0em;">Best,
Ivan</pre><br>
<tt>Stuart Pond wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>Hmmm...  This does sound like a similar if not exactly the same 
problem. However, I am using the release version of RAP 1.2.  Is it 
possible the fix did not make it into the release?  Or the fix was 
not complete?</tt><br>
<br>
<tt>-Stu Pond<br>
&quot;Ivan Furnadjiev&quot; &lt;ivan@xxxxxxxxxxxxxxxxx&gt; wrote in message 
<a  href="news:h87llh$ke1$1@xxxxxxxxxxxxxxxxxxxx">news:h87llh$ke1$1@xxxxxxxxxxxxxxxxxxxx</a>
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi Stu,</pre><br>
<tt>your description points me to this bug, which has been fixed in 1.2M7:<br>
245100: Selection changes are not always propagated (ISourceProvider 
Framework)<br>
<a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=245100">https://bugs.eclipse.org/bugs/show_bug.cgi?id=245100</a><br>
Which version of RAP do you use?</tt><br>
<br>
<pre style="margin: 0em;">Best,
Ivan</pre><br>
<tt>Stuart Pond wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">All,</pre><br>
<tt>I have large RCP application we are attempting to run in RAP.  We 
notice that once we put up any dialog (e.g. Help-&gt;About, or 
Window-&gt;Show View, Other, etc). then selection is not being 
processed the Eclipse command/expression engine properly.  Other 
parts of the application (other Views ) still remain able to 
respond to changes in the selection service just fine.  However all 
the command handlers that have enabledWhen expression see 
expression as being null.  Also any Command Handler that uses 
HandlerUtil.getCurrentSelection(evt) returns null even though I 
know something is selected.</tt><br>
<br>
<tt>The other killer is that when I hit maximize window on my RAP 
application then selection starts being processed again by the 
command/expression engine correctly until any dialog is shown again 
and then it stops working again.</tt><br>
<br>
<tt>Of course when I try to re-create this with RCP Mail Template 
application, I am unable.  So I would not be surprised there is 
something in our code crossing wires here with Eclipse.</tt><br>
<br>
<pre style="margin: 0em;">Any pointers where to look or to check would be greatly appreciated.</pre><br>
<pre style="margin: 0em;">Thanks,</pre><br>
<tt>Stu Pond
</tt></blockquote></blockquote><br>
</blockquote></blockquote><br>
</blockquote><pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;">--
Benjamin Muskalla | EclipseSource Karlsruhe
<a  href="http://www.eclipsesource.com">http://www.eclipsesource.com</a> | <a  href="http://twitter.com/eclipsesource">http://twitter.com/eclipsesource</a></pre><br>
]]></content:encoded>
		<pubDate>Fri, 18 Sep 2009 09:09:55 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07523.html</guid>
		<author>bmuskalla@xxxxxxx (Benjamin Muskalla)</author>
	</item>


	<item>
		<title>[ews.eclipse.technology.rap] Re: Selection not working after Dialog	posted</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07522.html</link>
		<description> </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi Stu,</pre><br>
<tt>looking into the code, if the 
CurrentSelectionSourceProvider#updateWindows is called with non null 
argument, the object is a WorkbenchWindow. Anyway... without a snippet 
to reproduce it, we can't do much about it.</tt><br>
<br>
<pre style="margin: 0em;">Best,
Ivan</pre><br>
<tt>Stuart Pond wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">All,</pre><br>
<tt>I can not isolate it down to reproducible example to file a bug.  
However, I was able to following in the debugger that the 
CurrentSelectionProvider.updateWindows method is getting a bogus shell 
object in the event.  The shell object is suppose to have a handle to 
the workbenchWindow in its getData() method. But it does not.  This is 
why the source provider is never hooked up again to the selection 
service.</tt><br>
<br>
<tt>I suspect the listener is listening to the wrong shell, one that has 
already been disposed.  Any ideas where to look next?</tt><br>
<br>
<tt>-Stu Pond<br>
&quot;Ivan Furnadjiev&quot; &lt;ivan@xxxxxxxxxxxxxxxxx&gt; wrote in message 
<a  href="news:h887bf$9id$1@xxxxxxxxxxxxxxxxxxxx">news:h887bf$9id$1@xxxxxxxxxxxxxxxxxxxx</a>
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi Stu,</pre><br>
<tt>if you have a snippet to reproduce your scenario, please file a 
bugzilla [1]. The fix for bug 245100 is included in the 1.2 release.</tt><br>
<br>
<pre style="margin: 0em;">[1] <a  href="http://wiki.eclipse.org/RAP_Bug_Reporting_Howto">http://wiki.eclipse.org/RAP_Bug_Reporting_Howto</a></pre><br>
<pre style="margin: 0em;">Best,
Ivan</pre><br>
<tt>Stuart Pond wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>Hmmm...  This does sound like a similar if not exactly the same 
problem. However, I am using the release version of RAP 1.2.  Is it 
possible the fix did not make it into the release?  Or the fix was 
not complete?</tt><br>
<br>
<tt>-Stu Pond<br>
&quot;Ivan Furnadjiev&quot; &lt;ivan@xxxxxxxxxxxxxxxxx&gt; wrote in message 
<a  href="news:h87llh$ke1$1@xxxxxxxxxxxxxxxxxxxx">news:h87llh$ke1$1@xxxxxxxxxxxxxxxxxxxx</a>
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi Stu,</pre><br>
<tt>your description points me to this bug, which has been fixed in 1.2M7:<br>
245100: Selection changes are not always propagated 
(ISourceProvider Framework)<br>
<a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=245100">https://bugs.eclipse.org/bugs/show_bug.cgi?id=245100</a><br>
Which version of RAP do you use?</tt><br>
<br>
<pre style="margin: 0em;">Best,
Ivan</pre><br>
<tt>Stuart Pond wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">All,</pre><br>
<tt>I have large RCP application we are attempting to run in RAP.  We 
notice that once we put up any dialog (e.g. Help-&gt;About, or 
Window-&gt;Show View, Other, etc). then selection is not being 
processed the Eclipse command/expression engine properly.  Other 
parts of the application (other Views ) still remain able to 
respond to changes in the selection service just fine.  However 
all the command handlers that have enabledWhen expression see 
expression as being null.  Also any Command Handler that uses 
HandlerUtil.getCurrentSelection(evt) returns null even though I 
know something is selected.</tt><br>
<br>
<tt>The other killer is that when I hit maximize window on my RAP 
application then selection starts being processed again by the 
command/expression engine correctly until any dialog is shown 
again and then it stops working again.</tt><br>
<br>
<tt>Of course when I try to re-create this with RCP Mail Template 
application, I am unable.  So I would not be surprised there is 
something in our code crossing wires here with Eclipse.</tt><br>
<br>
<pre style="margin: 0em;">Any pointers where to look or to check would be greatly appreciated.</pre><br>
<pre style="margin: 0em;">Thanks,</pre><br>
<tt>Stu Pond
</tt></blockquote></blockquote><br>
</blockquote></blockquote><br>
</blockquote><br>
]]></content:encoded>
		<pubDate>Thu, 17 Sep 2009 18:29:34 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07522.html</guid>
		<author>ivan@xxxxxxx (Ivan Furnadjiev)</author>
	</item>
	<item>
		<title>[ews.eclipse.technology.rap] Re: Selection not working after Dialog	posted</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07521.html</link>
		<description>All, I can not isolate it down to reproducible example to file a bug. However, I was able to following in the debugger that the CurrentSelectionProvider.updateWindows method is getting a bogus shell object in the event. The shell object is suppose to have ...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">All,</pre><br>
<tt>I can not isolate it down to reproducible example to file a bug.  However, I 
was able to following in the debugger that the 
CurrentSelectionProvider.updateWindows method is getting a bogus shell 
object in the event.  The shell object is suppose to have a handle to the 
workbenchWindow in its getData() method. But it does not.  This is why the 
source provider is never hooked up again to the selection service.</tt><br>
<br>
<tt>I suspect the listener is listening to the wrong shell, one that has already 
been disposed.  Any ideas where to look next?</tt><br>
<br>
<tt>-Stu Pond<br>
&quot;Ivan Furnadjiev&quot; &lt;ivan@xxxxxxxxxxxxxxxxx&gt; wrote in message 
<a  href="news:h887bf$9id$1@xxxxxxxxxxxxxxxxxxxx">news:h887bf$9id$1@xxxxxxxxxxxxxxxxxxxx</a>
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi Stu,</pre><br>
<tt>if you have a snippet to reproduce your scenario, please file a bugzilla 
[1]. The fix for bug 245100 is included in the 1.2 release.</tt><br>
<br>
<pre style="margin: 0em;">[1] <a  href="http://wiki.eclipse.org/RAP_Bug_Reporting_Howto">http://wiki.eclipse.org/RAP_Bug_Reporting_Howto</a></pre><br>
<pre style="margin: 0em;">Best,
Ivan</pre><br>
<tt>Stuart Pond wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>Hmmm...  This does sound like a similar if not exactly the same problem. 
However, I am using the release version of RAP 1.2.  Is it possible the 
fix did not make it into the release?  Or the fix was not complete?</tt><br>
<br>
<tt>-Stu Pond<br>
&quot;Ivan Furnadjiev&quot; &lt;ivan@xxxxxxxxxxxxxxxxx&gt; wrote in message 
<a  href="news:h87llh$ke1$1@xxxxxxxxxxxxxxxxxxxx">news:h87llh$ke1$1@xxxxxxxxxxxxxxxxxxxx</a>
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi Stu,</pre><br>
<tt>your description points me to this bug, which has been fixed in 1.2M7:<br>
245100: Selection changes are not always propagated (ISourceProvider 
Framework)<br>
<a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=245100">https://bugs.eclipse.org/bugs/show_bug.cgi?id=245100</a><br>
Which version of RAP do you use?</tt><br>
<br>
<pre style="margin: 0em;">Best,
Ivan</pre><br>
<tt>Stuart Pond wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">All,</pre><br>
<tt>I have large RCP application we are attempting to run in RAP.  We 
notice that once we put up any dialog (e.g. Help-&gt;About, or 
Window-&gt;Show View, Other, etc). then selection is not being processed 
the Eclipse command/expression engine properly.  Other parts of the 
application (other Views ) still remain able to respond to changes in 
the selection service just fine.  However all the command handlers that 
have enabledWhen expression see expression as being null.  Also any 
Command Handler that uses HandlerUtil.getCurrentSelection(evt) returns 
null even though I know something is selected.</tt><br>
<br>
<tt>The other killer is that when I hit maximize window on my RAP 
application then selection starts being processed again by the 
command/expression engine correctly until any dialog is shown again and 
then it stops working again.</tt><br>
<br>
<tt>Of course when I try to re-create this with RCP Mail Template 
application, I am unable.  So I would not be surprised there is 
something in our code crossing wires here with Eclipse.</tt><br>
<br>
<pre style="margin: 0em;">Any pointers where to look or to check would be greatly appreciated.</pre><br>
<pre style="margin: 0em;">Thanks,</pre><br>
<tt>Stu Pond
</tt></blockquote></blockquote><br>
</blockquote></blockquote><pre style="margin: 0em;"><br></pre><br>
]]></content:encoded>
		<pubDate>Thu, 17 Sep 2009 18:06:14 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07521.html</guid>
		<author>Stuart.Pond@xxxxxxx (Stuart Pond)</author>
	</item>
	<item>
		<title>[ews.eclipse.technology.rap] Re: Table with multiline columns</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07520.html</link>
		<description>Hi Cheney, you could try a ContentProvider like this: private static class MultilineContentProvider extends ArrayContentProvider { public Object[] getElements(final Object inputElement) { if (inputElement instanceof List&amp;lt;?&amp;gt;) { final List&amp;lt;Object; elements =...</description>
		<content:encoded><![CDATA[<pre>Hi Cheney,

you could try a ContentProvider like this:

private static class MultilineContentProvider extends 
ArrayContentProvider {
	public Object[] getElements(final Object inputElement) {
		if (inputElement instanceof List&lt;?&gt;) {
			final List&lt;Object&gt; elements = new 
LinkedList&lt;Object&gt;();
			final List&lt;Object&gt; list = (List&lt;Object&gt;) 
inputElement;
			for (int i = 0; i &lt; list.size(); i++) {
				final Object pos = list.get(i);
				final String[] lines = WordUtils.wrap
(pos.toString(),
						100, &quot;\n&quot;, true).split
(&quot;\n&quot;);
				elements.add(lines[0]);
					// Other lines
				for (int j = 1; j &lt; lines.length; j++) {
					elements.add(lines[j]);
				}
			}
			return elements.toArray();
		}
		return super.getElements(inputElement);
	}
}


The code is not tested, since I removed the application specific party of 
our application. So all places where Object is used was a business 
specific class containing the data to present, but it should be quite 
simple to adopt.
The WordUtils class is from commons-lang and wraps the content to display 
at 100 characters.

HTH
Markus


Am Thu, 17 Sep 2009 08:16:08 +0000 schrieb Cheney Chen:

&gt; Hi Austin and Markus,
&gt; 
&gt; I also need a table with multiline columns, but I can't implement it.Can
&gt; you give me some hints or some exactly simple code?
&gt; 
&gt; Thanks,
&gt; Cheney
&gt; 
&gt; On Tue, 21 Jul 2009 07:44:50 +0000, Markus Wolf wrote:
&gt; 
&gt;&gt; Hello Austin,
&gt;&gt; 
&gt;&gt; I helped myself with the problem by implementing a ContentProvider and
&gt;&gt; LabelProvider which splits up the long text into multiple table rows.
&gt;&gt; The input is wrapped by the ContentProvider and then send as model-
&gt;&gt; elements to the table viewer. This aproach works quite well but it is
&gt;&gt; not possible to have TableEditors with this. That the only drawback we
&gt;&gt; have.
&gt;&gt; 
&gt;&gt; But thanks for your input. :)
&gt;&gt; 
&gt;&gt; Markus
&gt;&gt; 
&gt;&gt; 
&gt;&gt;&gt; There is a way to have some semblance of multi-line table rows in a
&gt;&gt;&gt; TableViewer if you don't mind a bit of hacking.
&gt;&gt;&gt; 
&gt;&gt;&gt; I have a small experimental implementation that will interpret '\n'
&gt;&gt;&gt; characters in the text that is returned from the LabelProvider.  It is
&gt;&gt;&gt; limited in ability, and it is unconventional, but if you need the
&gt;&gt;&gt; multi-line tables that bad you may find it helpful.
&gt;&gt;&gt; 
&gt;&gt;&gt; Caveats:
&gt;&gt;&gt; 1. You must manually set the row height on the TableViewer. 2. The row
&gt;&gt;&gt; height will be consistent for all rows. 3. The text will be left
&gt;&gt;&gt; justified.
&gt;&gt;&gt; 4. Overflow is cut off.
&gt;&gt;&gt; 
&gt;&gt;&gt; 
&gt;&gt;&gt; If you are still interested I can post it.





-- 
NMMN - New Media Markets &amp; Networks GmbH
Langbehnstrasse 6, 22761 Hamburg
Gesch&#xC3;ftsf&#xC3;hrung: Kfm. Michael Sch&#xC3;tt
Finanzamt HH-Altona - UStID DE 812 699 852 - HRB 71102 Hamburg
HypoVereinsbank   -   BLZ 200 300 00   -   Konto-Nr. 156 29 82

<a  href="http://www.nmmn.com">http://www.nmmn.com</a>
Tel.: +49 40 284 118-0  -  Fax: +49 40 284118-999
Softwareentwicklung LLynch: -720

</pre>]]></content:encoded>
		<pubDate>Thu, 17 Sep 2009 10:13:09 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.rap/msg07520.html</guid>
		<author>markus.wolf@xxxxxxx (Markus Wolf)</author>
	</item>

 
	</channel>
	</rss>
<!-- MHonArc v2.6.10 -->
