Home » Eclipse Projects » GEF » something about api
something about api [message #49535] |
Sun, 15 December 2002 04:04  |
Eclipse User |
|
|
|
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 #49684 is a reply to message #49567] |
Sun, 15 December 2002 17:20   |
Eclipse User |
|
|
|
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 09:28  |
Eclipse User |
|
|
|
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
>
>
|
|
|
Goto Forum:
Current Time: Wed May 07 11:28:34 EDT 2025
Powered by FUDForum. Page generated in 0.06614 seconds
|