Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [Data Binding] Re: Widget [org.eclipse.swt.custom.StyledText] is not supported.
[Data Binding] Re: Widget [org.eclipse.swt.custom.StyledText] is not supported. [message #331339] Tue, 02 September 2008 15:15 Go to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Francis ANDRE wrote:
> Hello
>
> got this exception
>
> Exception in thread "main" java.lang.IllegalArgumentException: Widget
> [org.eclipse.swt.custom.Styled
> Text] is not supported.
> at
> org.eclipse.jface.databinding.swt.SWTObservables.observeText (SWTObservables.java:217)
>
> at databinding.view.View.createShell(View.java:76)
> at databinding.driver.IBM3270$1.run(IBM3270.java:23)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>
> at databinding.driver.IBM3270.main(IBM3270.java:20)
>
>
> Why StyledText is not supported while Text is?? (May be it is a stupid
> question but I am a little perplex since a StyledText is somewhat a Text
> too)

I'm copying this to the eclipse.platform newsgroup where Data Binding
questions are usually directed.
Have you looked for or entered a feature request in Bugzilla for that?
It looks like TextObservableValue (which is what
SWTObservables.observeText() delegates to) only relies on
addVerifyListener(), getText(), and setText(), so on the surface it
seems that StyledText support should be doable.
You could always write your own StyledTextObservableValue, of course and
contribute that to the project.

If you enter a feature request into Bugzilla, please post the link here.

Eric
Re: [Data Binding] Re: Widget [org.eclipse.swt.custom.StyledText] is not supported. [message #331467 is a reply to message #331339] Mon, 08 September 2008 23:33 Go to previous message
Boris Bokowski is currently offline Boris BokowskiFriend
Messages: 272
Registered: July 2009
Senior Member
This is on the table for 3.5, see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=131435

"Eric Rizzo" <eclipse-news@rizzoweb.com> wrote in message
news:g9jl7l$qnn$1@build.eclipse.org...
> Francis ANDRE wrote:
>> Hello
>>
>> got this exception
>>
>> Exception in thread "main" java.lang.IllegalArgumentException: Widget
>> [org.eclipse.swt.custom.Styled
>> Text] is not supported.
>> at
>> org.eclipse.jface.databinding.swt.SWTObservables.observeText (SWTObservables.java:217)
>> at databinding.view.View.createShell(View.java:76)
>> at databinding.driver.IBM3270$1.run(IBM3270.java:23)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>> at databinding.driver.IBM3270.main(IBM3270.java:20)
>>
>>
>> Why StyledText is not supported while Text is?? (May be it is a stupid
>> question but I am a little perplex since a StyledText is somewhat a Text
>> too)
>
> I'm copying this to the eclipse.platform newsgroup where Data Binding
> questions are usually directed.
> Have you looked for or entered a feature request in Bugzilla for that? It
> looks like TextObservableValue (which is what SWTObservables.observeText()
> delegates to) only relies on addVerifyListener(), getText(), and
> setText(), so on the surface it seems that StyledText support should be
> doable.
> You could always write your own StyledTextObservableValue, of course and
> contribute that to the project.
>
> If you enter a feature request into Bugzilla, please post the link here.
>
> Eric
Previous Topic:PDE headless build - Target definition
Next Topic:clipboard paste fails in eclipse 3.4.0
Goto Forum:
  


Current Time: Sun Jun 30 09:44:12 GMT 2024

Powered by FUDForum. Page generated in 0.03806 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top