Skip to main content



      Home
Home » Archived » Visual Editor (VE) » JScrollBar not in 1.3?
JScrollBar not in 1.3? [message #68926] Sun, 24 October 2004 12:41 Go to next message
Eclipse UserFriend
Originally posted by: cdouglas.nospam.oz.net

I just tried to set values in a scrollbar in a JScrollPane for the first
time in VE. It attempts to set them via JScrollPane.ScrollBar (with lots
of errors generated). My docs talk about JScrollBar as a separate class.

I take it this is something new since 1.3 (which VE supports)?

This sure made a mess. I can't even get rid of the errored code through
the visual editor.

Got an estimate on 1.4 support, yet?

Chas Douglass
Re: JScrollBar not in 1.3? [message #70397 is a reply to message #68926] Mon, 08 November 2004 14:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

It's not 1.3 versus 1.4. The problem is that the default scroll bar that
JScrollPane uses is a protected non-static inner class. The VE's problem
is that it doesn't work on what we call implicit values. An implicit
value happens when you try to set a property of a property and the
original property was not set but was queried. Currently what we do is
we try to instantiate a new copy of the implicit property and then set
the inner property on it. But since the class of the property setting is
a protected non-static inner class we can't generate any good code for
it. What we generate fails.

This is something we must address in the next release of VE, implicit
properties.

--
Thanks,
Rich Kulp
Re: JScrollBar not in 1.3? [message #70793 is a reply to message #70397] Tue, 09 November 2004 12:18 Go to previous messageGo to next message
Eclipse UserFriend
Rich Kulp wrote:

> It's not 1.3 versus 1.4. The problem is that the default scroll bar that
> JScrollPane uses is a protected non-static inner class. The VE's problem
> is that it doesn't work on what we call implicit values. An implicit
> value happens when you try to set a property of a property and the
> original property was not set but was queried. Currently what we do is
> we try to instantiate a new copy of the implicit property and then set
> the inner property on it. But since the class of the property setting is
> a protected non-static inner class we can't generate any good code for
> it. What we generate fails.
>
> This is something we must address in the next release of VE, implicit
> properties.

Are we talking about Bug 48552 here or something different?


Thanks in advance,

Dave
--
Dave Orme
Eclipse Visual Editor Project Lead
Advanced Systems Concepts' Chief Architect
http://www.swtworkbench.com http://essentialdata.sf.net
Re: JScrollBar not in 1.3? [message #70901 is a reply to message #70793] Tue, 09 November 2004 13:23 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Yeah, this is 48552.


--
Thanks,
Rich Kulp
Re: JScrollBar not in 1.3? [message #602735 is a reply to message #68926] Mon, 08 November 2004 14:22 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

It's not 1.3 versus 1.4. The problem is that the default scroll bar that
JScrollPane uses is a protected non-static inner class. The VE's problem
is that it doesn't work on what we call implicit values. An implicit
value happens when you try to set a property of a property and the
original property was not set but was queried. Currently what we do is
we try to instantiate a new copy of the implicit property and then set
the inner property on it. But since the class of the property setting is
a protected non-static inner class we can't generate any good code for
it. What we generate fails.

This is something we must address in the next release of VE, implicit
properties.

--
Thanks,
Rich Kulp
Re: JScrollBar not in 1.3? [message #602853 is a reply to message #70397] Tue, 09 November 2004 12:18 Go to previous message
Eclipse UserFriend
Rich Kulp wrote:

> It's not 1.3 versus 1.4. The problem is that the default scroll bar that
> JScrollPane uses is a protected non-static inner class. The VE's problem
> is that it doesn't work on what we call implicit values. An implicit
> value happens when you try to set a property of a property and the
> original property was not set but was queried. Currently what we do is
> we try to instantiate a new copy of the implicit property and then set
> the inner property on it. But since the class of the property setting is
> a protected non-static inner class we can't generate any good code for
> it. What we generate fails.
>
> This is something we must address in the next release of VE, implicit
> properties.

Are we talking about Bug 48552 here or something different?


Thanks in advance,

Dave
--
Dave Orme
Eclipse Visual Editor Project Lead
Advanced Systems Concepts' Chief Architect
http://www.swtworkbench.com http://essentialdata.sf.net
Re: JScrollBar not in 1.3? [message #602883 is a reply to message #70793] Tue, 09 November 2004 13:23 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Yeah, this is 48552.


--
Thanks,
Rich Kulp
Previous Topic:layout property not shown for Shell
Next Topic:Cannot use VE ...
Goto Forum:
  


Current Time: Tue Jul 15 13:55:12 EDT 2025

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

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

Back to the top