<?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.platform</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/maillist.html</link>
		<description>NewsGroup: news.eclipse.platform</description>
		<language>en-us</language>
		<pubDate>Sat, 21 Feb 2009 14:28:01 GMT</pubDate>
		<lastBuildDate>Sat, 21 Feb 2009 14:28:01 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.platform</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.platform/maillist.html</link>
		</image>
 

	<item>
		<title>[news.eclipse.platform] Re: Get InputStream for resource defined in	extension point.</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80133.html</link>
		<description>Ok ... I just found the solution myself. Bundle bundle = Platform.getBundle(element.getContributor().getName()); URL descriptorUrl = bundle.getResource(element.getAttribute(&amp;quot;descriptor&amp;quot;)); From there on it's trivial. Kai Kai Schlamp schrieb: </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Ok ... I just found the solution myself.</pre><br>
<pre style="margin: 0em;">Bundle bundle = Platform.getBundle(element.getContributor().getName());
URL descriptorUrl = bundle.getResource(element.getAttribute(&quot;descriptor&quot;));</pre><br>
<pre style="margin: 0em;">From there on it's trivial.</pre><br>
<pre style="margin: 0em;">Kai</pre><br>
<tt>Kai Schlamp schrieb:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hello.</pre><br>
<tt>I have a custom extension point that defines the attribute &quot;descriptor&quot; 
which is of type &quot;resource&quot;.<br>
How do I now get an InputStream of that resource.<br>
I can access the attribute itself with<br>
String descriptor = element.getAttribute(&quot;descriptor&quot;);<br>
What to do next to get an InputStream for this descriptor resource?</tt><br>
<br>
<pre style="margin: 0em;">Best regards,
Kai
</pre></blockquote><br>
]]></content:encoded>
		<pubDate>Sat, 21 Feb 2009 14:09:41 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80133.html</guid>
		<author>schlamp@xxxxxxx (Kai Schlamp)</author>
	</item>
	<item>
		<title>[news.eclipse.platform] Get InputStream for resource defined in	extension point.</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80132.html</link>
		<description>Hello. I have a custom extension point that defines the attribute &amp;quot;descriptor&amp;quot; which is of type &amp;quot;resource&amp;quot;. How do I now get an InputStream of that resource. I can access the attribute itself with String descriptor = element.getAttribute(&amp;quot;descriptoruot;); ...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hello.</pre><br>
<tt>I have a custom extension point that defines the attribute &quot;descriptor&quot; 
which is of type &quot;resource&quot;.<br>
How do I now get an InputStream of that resource.<br>
I can access the attribute itself with<br>
String descriptor = element.getAttribute(&quot;descriptor&quot;);<br>
What to do next to get an InputStream for this descriptor resource?</tt><br>
<br>
<pre style="margin: 0em;">Best regards,
Kai</pre><br>
]]></content:encoded>
		<pubDate>Sat, 21 Feb 2009 13:54:46 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80132.html</guid>
		<author>schlamp@xxxxxxx (Kai Schlamp)</author>
	</item>
	<item>
		<title>[news.eclipse.platform] Re: SelectionProvider is not set in the	WindowSelectionService</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80131.html</link>
		<description>Hi, I've used the &amp;quot;activeMenuSelection&amp;quot; and it works well, thanks you Paul and Tom. But i'm trying to understand how the &amp;quot;selection&amp;quot; works. I have a view with a viewer which contributes to the selection service as selection provider. And i have created ano...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi,</pre><br>
<tt>I've used the &quot;activeMenuSelection&quot; and it works well, thanks you Paul and 
Tom. But i'm trying to understand how the &quot;selection&quot; works. I have a view 
with a viewer which contributes to the selection service as selection 
provider. And i have created another view which listens to this provider. 
I would like to display in this view the same menu items which appear in 
the pop up menu of the first view when i do a selection in that part. I 
would to use the extension point &quot;org.eclipse.expressions.definitions&quot; 
where i defined the rules which allow to display the menu item or not. But 
this time, i use the &quot;selection&quot; variable to know the selection in the 
first view. And it does not work properly, i need to re-activate the first 
view to make it work correctly. I'm wondering how can i do this correctly.<br>
Moreover i use in the first view a &quot;dynamic selection provider&quot; because i 
have several viewers. But i don't think it is linked to my problem.</tt><br>
<br>
<pre style="margin: 0em;">Maghen.</pre><br>
<br>
]]></content:encoded>
		<pubDate>Sat, 21 Feb 2009 08:53:07 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80131.html</guid>
		<author>maghen.calinghee@xxxxxxx (Maghen Calinghee)</author>
	</item>


	<item>
		<title>[news.eclipse.platform] Re: [Databinding] Problem with	AggregateValidationStatus</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80130.html</link>
		<description> </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Try using an IValueChangeListener instead of IChangeListener:</pre><br>
<pre style="margin: 0em;">aggregateValidationStatus.addValueChangeListener(
  new IValueChangeListener() {
    public void handleValueChange(ValueChangeEvent event) {
      event.getObservableValue().getValue();
    }
  } );</pre><br>
<pre style="margin: 0em;">Matthew</pre><br>
<tt>Kai Schlamp wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>So, Schroedinger's cat ... nice analogy ... I hope my 
AggregateValidationStatus doesn't contain any transitional states ;-)</tt><br>
<br>
<tt>And yes, it works now when calling getValue inside the change listener.<br>
Is there an easy way to get the AggregateValidationStatus from within 
the change listener? A &quot;(AggregateValidationStatus) event.getSource())&quot; 
results in a ClassCastException (java.lang.ClassCastException:<br>
org.eclipse.core.databinding.AggregateValidationStatus$1 cannot be<br>
cast to org.eclipse.core.databinding.AggregateValidationStatus).<br>
Do I really have to pass the AggregateValidationStatus to the change 
listener myself?</tt><br>
<br>
<pre style="margin: 0em;">Thank you,
Kai</pre><br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>Are you doing anything with the value of the 
AggregateValidationStatus? in the change listener?  AVS is backed by a 
ComputedValue which fires an event once and doesn't fire any more 
until you look at the new value. It's kind of like Schroedinger's 
cat--you don't get any more change events until you look in the safe.  
See ObservableTracker.getterCalled(IObservable).  Then see 
IObservableValue and look for methods tagged @TrackedGetter.</tt><br>
<br>
<tt>We do this to avoid an event storm if several observables are changed 
rapidly.  I think it will fix your problem just to call getValue() on 
the AVS inside the change listener.
</tt></blockquote><pre style="margin: 0em;"><br></pre><br>
<br>
</blockquote><br>
]]></content:encoded>
		<pubDate>Fri, 20 Feb 2009 21:39:40 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80130.html</guid>
		<author>matthall@xxxxxxx (Matthew Hall)</author>
	</item>
	<item>
		<title>[news.eclipse.platform] Re: How to create a plug-in that uses	reflection to find files with annotations ?</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80129.html</link>
		<description>&amp;quot;Julien Manankiandrianana&amp;quot; &amp;lt;jmananki@xxxxxxx&amp;gt; wrote in message news:02a826ca67b086a6cf4e4925b14c9027$1@xxxxxxxxxxxxxxxxxx As Rich says, it sounds like using JDT (either the AST or the Java Model, depending on the amount of detail you need) is the right ans...</description>
		<content:encoded><![CDATA[<pre>&quot;Julien Manankiandrianana&quot; &lt;jmananki@xxxxxxx&gt; wrote in message 
<a  href="news:02a826ca67b086a6cf4e4925b14c9027$1@xxxxxxxxxxxxxxxxxx">news:02a826ca67b086a6cf4e4925b14c9027$1@xxxxxxxxxxxxxxxxxx</a>
&gt;I have a set of .java files and I wanted to know if there's a way to get 
&gt;the annotated fields using the reflection. Is it possible somehow to create 
&gt;a model of a class from a java file and get every fields, methods, etc. ?
&gt;
&gt;&gt;Walter Harley wrote:
&gt;&gt; I think this is the same question that you already got answered on 
&gt;&gt; eclipse.tools.jdt?  If not, please clarify.

As Rich says, it sounds like using JDT (either the AST or the Java Model, 
depending on the amount of detail you need) is the right answer.  &quot;Create a 
model of a class from a Java file and get every field, method, etc.&quot; is 
precisely what the JDT does.

But I am still confused about why you're asking this question here in 
eclipse.platform when you also have an ongoing discussion about what seems 
to be the same topic in eclipse.tools.jdt. 



</pre>]]></content:encoded>
		<pubDate>Fri, 20 Feb 2009 19:40:05 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80129.html</guid>
		<author>eclipse@xxxxxxx (Walter Harley)</author>
	</item>
	<item>
		<title>[news.eclipse.platform] Re: [Databinding] Problem with	AggregateValidationStatus</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80128.html</link>
		<description>So, Schroedinger's cat ... nice analogy ... I hope my AggregateValidationStatus doesn't contain any transitional states ;-) And yes, it works now when calling getValue inside the change listener. Is there an easy way to get the AggregateValidationStatus fr...</description>
		<content:encoded><![CDATA[<tt>So, Schroedinger's cat ... nice analogy ... I hope my 
AggregateValidationStatus doesn't contain any transitional states ;-)</tt><br>
<br>
<tt>And yes, it works now when calling getValue inside the change listener.<br>
Is there an easy way to get the AggregateValidationStatus from within 
the change listener? A &quot;(AggregateValidationStatus) event.getSource())&quot; 
results in a ClassCastException (java.lang.ClassCastException:<br>
org.eclipse.core.databinding.AggregateValidationStatus$1 cannot be<br>
cast to org.eclipse.core.databinding.AggregateValidationStatus).<br>
Do I really have to pass the AggregateValidationStatus to the change 
listener myself?</tt><br>
<br>
<pre style="margin: 0em;">Thank you,
Kai</pre><br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>Are you doing anything with the value of the AggregateValidationStatus? 
in the change listener?  AVS is backed by a ComputedValue which fires an 
event once and doesn't fire any more until you look at the new value. 
It's kind of like Schroedinger's cat--you don't get any more change 
events until you look in the safe.  See 
ObservableTracker.getterCalled(IObservable).  Then see IObservableValue 
and look for methods tagged @TrackedGetter.</tt><br>
<br>
<tt>We do this to avoid an event storm if several observables are changed 
rapidly.  I think it will fix your problem just to call getValue() on 
the AVS inside the change listener.
</tt></blockquote><pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;"><br></pre><br>
]]></content:encoded>
		<pubDate>Fri, 20 Feb 2009 19:27:17 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80128.html</guid>
		<author>schlamp@xxxxxxx (Kai Schlamp)</author>
	</item>
	<item>
		<title>[news.eclipse.platform] How does eclipse handle linked java files	in an Ant build file?</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80127.html</link>
		<description>Hey, I moved this post from eclipse.platform.pde to here. I tried to export Ant build file using the Ant buildfiles export wizard. However, it seemed it did not handle linked java files. For example, I have a simple java project which contains a linked jav...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hey,</pre><br>
<pre style="margin: 0em;">I moved this post from eclipse.platform.pde to here.</pre><br>
<tt>I tried to export Ant build file using the Ant buildfiles export wizard. 
However, it seemed it did not handle linked java files. For example, I 
have a simple java project which contains a linked java file in the source 
folder. I export the Ant build file for this project. I check the 
generated Ant build file but did not find anything in the file which 
handles the linked java file. I ran it outside of eclipse and the linke 
file was not compiled. If there is a linked folder, I saw the generated 
Ant build file handled it correctly. I am not sure if this is a 
un-implemented feature? or it is not supposed to be supported?</tt><br>
<br>
<pre style="margin: 0em;">Thanks.</pre><br>
<br>
]]></content:encoded>
		<pubDate>Fri, 20 Feb 2009 19:16:34 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80127.html</guid>
		<author>zqiu@xxxxxxx (Raymond )</author>
	</item>
	<item>
		<title>[news.eclipse.platform] Re: [Databinding] Problem with	AggregateValidationStatus</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80126.html</link>
		<description>It doesn't work whatever text field I edit. handleChange is called once and after that not anymore. And even when using MERGED I get the same behavior. What do I have to do that handleChange method is called everytime the text field is modified? Have you t...</description>
		<content:encoded><![CDATA[<tt>Are you doing anything with the value of the AggregateValidationStatus? 
in the change listener?  AVS is backed by a ComputedValue which fires an 
event once and doesn't fire any more until you look at the new value. 
It's kind of like Schroedinger's cat--you don't get any more change 
events until you look in the safe.  See 
ObservableTracker.getterCalled(IObservable).  Then see IObservableValue 
and look for methods tagged @TrackedGetter.</tt><br>
<br>
<tt>We do this to avoid an event storm if several observables are changed 
rapidly.  I think it will fix your problem just to call getValue() on 
the AVS inside the change listener.</tt><br>
<br>
<pre style="margin: 0em;">Matthew</pre><br>
<tt>Kai Schlamp wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Comments below.</pre><br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>My guess is that because you are using MAX_SEVERITY you might not be 
editing the field that has the current max severity, (i.e. you are 
editing a field with a lower severity validation status.
</tt></blockquote><tt><br>It doesn't work whatever text field I edit. handleChange is called once 
and after that not anymore.<br>
And even when using MERGED I get the same behavior.<br>
What do I have to do that handleChange method is called everytime the 
text field is modified?</tt><br>
<br>
<br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>That leads me to my next question? I want to listen to whenever a 
validate method of the above added validator's was called. I need it 
to setPageComplete of a WizardPage (as all text fields together have 
an influence on that).
</tt></blockquote><tt><br>Have you tried WizardPageSupport.create(DataBindingContext, WizardPage)?
</tt></blockquote><tt><br>Sounds ok, but it does also some things I don't like (updates the error 
message). Also there are several other cases I need the 
AggregateValidationStatus to work.<br>
Any suggestions?</tt><br>
<br>
<pre style="margin: 0em;">By the way I am using Eclipse 3.5M5.</pre><br>
<tt>Kai
</tt></blockquote><br>
]]></content:encoded>
		<pubDate>Fri, 20 Feb 2009 18:51:32 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80126.html</guid>
		<author>matthall@xxxxxxx (Matthew Hall)</author>
	</item>
	<item>
		<title>[news.eclipse.platform] Radio tool item with pulldown menu</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80125.html</link>
		<description>Is it possible to have a pulldown menu associated with a radio toolbar button? The use case is something similar to the Plug-In Dependencies view, where radio buttons are used to toggle between table and tree modes. My tree mode actually has 6 variations (...</description>
		<content:encoded><![CDATA[<tt>Is it possible to have a pulldown menu associated with a radio toolbar 
button?</tt><br>
<br>
<tt>The use case is something similar to the Plug-In Dependencies view, 
where radio buttons are used to toggle between table and tree modes.  My 
tree mode actually has 6 variations (different grouping orders), so I 
was thinking that a pulldown menu on the tree button with it's own radio 
items would be a nice solution.</tt><br>
<br>
<pre style="margin: 0em;">Is that possible? Or any other suggestions?</pre><br>
<pre style="margin: 0em;">Thanks,
Will</pre><br>
]]></content:encoded>
		<pubDate>Fri, 20 Feb 2009 17:53:30 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80125.html</guid>
		<author>will.horn@xxxxxxx (Will Horn)</author>
	</item>
	<item>
		<title>[news.eclipse.platform] Re: [Databinding] Problem with	AggregateValidationStatus</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80124.html</link>
		<description>Comments below. It doesn't work whatever text field I edit. handleChange is called once and after that not anymore. And even when using MERGED I get the same behavior. What do I have to do that handleChange method is called everytime the text field is modi...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Comments below.</pre><br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>My guess is that because you are using MAX_SEVERITY you might not be 
editing the field that has the current max severity, (i.e. you are 
editing a field with a lower severity validation status.
</tt></blockquote><tt><br>It doesn't work whatever text field I edit. handleChange is called once 
and after that not anymore.<br>
And even when using MERGED I get the same behavior.<br>
What do I have to do that handleChange method is called everytime the 
text field is modified?</tt><br>
<br>
<br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>That leads me to my next question? I want to listen to whenever a 
validate method of the above added validator's was called. I need it 
to setPageComplete of a WizardPage (as all text fields together have 
an influence on that).
</tt></blockquote><tt><br>Have you tried WizardPageSupport.create(DataBindingContext, WizardPage)?
</tt></blockquote><tt><br>Sounds ok, but it does also some things I don't like (updates the error 
message). Also there are several other cases I need the 
AggregateValidationStatus to work.<br>
Any suggestions?</tt><br>
<br>
<pre style="margin: 0em;">By the way I am using Eclipse 3.5M5.</pre><br>
<pre style="margin: 0em;">Kai</pre><br>
]]></content:encoded>
		<pubDate>Fri, 20 Feb 2009 17:46:17 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platform/msg80124.html</guid>
		<author>schlamp@xxxxxxx (Kai Schlamp)</author>
	</item>

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