Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » something about api
something about api [message #49535] Sun, 15 December 2002 09:04 Go to next message
Eclipse UserFriend
Originally posted by: vranganath.cox.net

Hi,

I am using GEF/Draw2d in one of my projects and it seems that the API
changed for Graphics class from the release 1121 to release 1210. And
this change breaks my build. So, I am wondering what is the best way to
track the API changes in GEF? Will things be posted on the web? Or
should one learn be erring?

waiting for reply,

--

Venkatesh Prasad Ranganath,
Dept. Computing and Information Science,
Kansas State University, US.
web: http://www.cis.ksu.edu/~rvprasad
Re: something about api [message #49567 is a reply to message #49535] Sun, 15 December 2002 16:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hudsonr.us.eye-bee-em.com

The changes to Graphics were announced on the mailing list.
The purpose of the change was to facilitate subclassing, by reducing the
number of methods you would have to override. Of course, this breaks people
who already spent the time to override every method.

Why did you subclass Graphics? We are releasing Zoom and Print versions of
Graphics soon.

"Venkatesh Prasad Ranganath" <vranganath@cox.net> wrote in message
news:3DFC45AC.7070104@cox.net...
> Hi,
>
> I am using GEF/Draw2d in one of my projects and it seems that the API
> changed for Graphics class from the release 1121 to release 1210. And
> this change breaks my build. So, I am wondering what is the best way to
> track the API changes in GEF? Will things be posted on the web? Or
> should one learn be erring?
>
> waiting for reply,
>
> --
>
> Venkatesh Prasad Ranganath,
> Dept. Computing and Information Science,
> Kansas State University, US.
> web: http://www.cis.ksu.edu/~rvprasad
>
>
Re: something about api [message #49684 is a reply to message #49567] Sun, 15 December 2002 22:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vranganath.cox.net

Randy Hudson wrote:

>The changes to Graphics were announced on the mailing list.
>The purpose of the change was to facilitate subclassing, by reducing the
>number of methods you would have to override. Of course, this breaks people
>who already spent the time to override every method.
>
>Why did you subclass Graphics? We are releasing Zoom and Print versions of
>Graphics soon.
>
>
Well, we did not subclass Graphics, rather used getStringExtent() which
has now been removed.
Anyways, it would be easy for the developers/users to follow the changes
if the changes were posted on the mailing list with a
specific heading say like [CHANGE] (similar to ANN).
Also, it is good to hear zoom is going to be available soon.

>"Venkatesh Prasad Ranganath" <vranganath@cox.net> wrote in message
>news:3DFC45AC.7070104@cox.net...
>
>
>>Hi,
>>
>>I am using GEF/Draw2d in one of my projects and it seems that the API
>>changed for Graphics class from the release 1121 to release 1210. And
>>this change breaks my build. So, I am wondering what is the best way to
>>track the API changes in GEF? Will things be posted on the web? Or
>>should one learn be erring?
>>
>>waiting for reply,
>>
>>--
>>
>>Venkatesh Prasad Ranganath,
>>Dept. Computing and Information Science,
>>Kansas State University, US.
>>web: http://www.cis.ksu.edu/~rvprasad
>>
>>
>>
>>
>
>
>
>


--

Venkatesh Prasad Ranganath,
Dept. Computing and Information Science,
Kansas State University, US.
web: http://www.cis.ksu.edu/~rvprasad
Re: something about api [message #49775 is a reply to message #49684] Mon, 16 December 2002 14:28 Go to previous message
Eclipse UserFriend
Originally posted by: hudsonr.us.eye-bee-em.com

It doesn't make sense to be measuring a String at the time of painting.
This information is usually more important during layout, such as when
calculating a figure's preferredSize.

The preferred means is to call FigureUtilities.stringExtent(... )

"Venkatesh Prasad Ranganath" <vranganath@cox.net> wrote in message
news:3DFD003B.9080102@cox.net...
> Randy Hudson wrote:
>
> >The changes to Graphics were announced on the mailing list.
> >The purpose of the change was to facilitate subclassing, by reducing the
> >number of methods you would have to override. Of course, this breaks
people
> >who already spent the time to override every method.
> >
> >Why did you subclass Graphics? We are releasing Zoom and Print versions
of
> >Graphics soon.
> >
> >
> Well, we did not subclass Graphics, rather used getStringExtent() which
> has now been removed.
> Anyways, it would be easy for the developers/users to follow the changes
> if the changes were posted on the mailing list with a
> specific heading say like [CHANGE] (similar to ANN).
> Also, it is good to hear zoom is going to be available soon.
>
> >"Venkatesh Prasad Ranganath" <vranganath@cox.net> wrote in message
> >news:3DFC45AC.7070104@cox.net...
> >
> >
> >>Hi,
> >>
> >>I am using GEF/Draw2d in one of my projects and it seems that the API
> >>changed for Graphics class from the release 1121 to release 1210. And
> >>this change breaks my build. So, I am wondering what is the best way to
> >>track the API changes in GEF? Will things be posted on the web? Or
> >>should one learn be erring?
> >>
> >>waiting for reply,
> >>
> >>--
> >>
> >>Venkatesh Prasad Ranganath,
> >>Dept. Computing and Information Science,
> >>Kansas State University, US.
> >>web: http://www.cis.ksu.edu/~rvprasad
> >>
> >>
> >>
> >>
> >
> >
> >
> >
>
>
> --
>
> Venkatesh Prasad Ranganath,
> Dept. Computing and Information Science,
> Kansas State University, US.
> web: http://www.cis.ksu.edu/~rvprasad
>
>
Previous Topic:documentation?
Next Topic:vertical text in Draw2D Graphics?
Goto Forum:
  


Current Time: Fri Dec 27 01:33:24 GMT 2024

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

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

Back to the top