|
|
Re: any suggestion for an 'ExpandAnimatedFigure' [message #203377 is a reply to message #203205] |
Mon, 21 November 2005 19:32 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
The palette does this when expanding/collapsing drawers. Basically, what
you need to do is, when told to layout, you determine what the final layout
is going to be (capture the final sizes, but don't paint them), and then
based on a timer pro-rate the size of the figure until it's fully
expanded/collapsed. See PaletteToolbarLayout#layout() for reference.
We have an animation helper in the works that'll help you with this. It
will probably be in 3.2M3 (Dec. 23rd).
"FreeGroup" <a.herz@FreeGroup.de> wrote in message
news:dlocnq$peu$1@news.eclipse.org...
> ok - ok ....
>
> there is no idea/suggestion
>
> ...I have made an non animated Figure. *sniff*
>
> FreeGroup wrote:
> > Hi
> >
>
> > I need an expandable IFigure object like:
> >
> > +--------------+
> > | AnyTable >> |
> > +--------------+
> > +--------------+
> >
> > press on the >> will be expand the object
> > to
> >
> > +--------------+
> > | AnyTable >> |
> > +--------------+
> > | VARCHAR x.. |
> > | VARCHAR y.. |
> > | VARCHAR z.. |
> > +--------------+
> >
> >
> > I want expand the object animated and smooth. Has anyone an suggestion
> > to implement this in a GEF Editor?
> >
> >
> > Thanks
> >
> > Andreas
|
|
|
Re: any suggestion for an 'ExpandAnimatedFigure' [message #203385 is a reply to message #203377] |
Mon, 21 November 2005 20:01 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
Sorry, I meant 3.2M4.
"Pratik Shah" <none@unknown.com> wrote in message
news:dlt7ce$67s$1@news.eclipse.org...
> The palette does this when expanding/collapsing drawers. Basically, what
> you need to do is, when told to layout, you determine what the final
layout
> is going to be (capture the final sizes, but don't paint them), and then
> based on a timer pro-rate the size of the figure until it's fully
> expanded/collapsed. See PaletteToolbarLayout#layout() for reference.
>
> We have an animation helper in the works that'll help you with this. It
> will probably be in 3.2M3 (Dec. 23rd).
>
> "FreeGroup" <a.herz@FreeGroup.de> wrote in message
> news:dlocnq$peu$1@news.eclipse.org...
> > ok - ok ....
> >
> > there is no idea/suggestion
> >
> > ...I have made an non animated Figure. *sniff*
> >
> > FreeGroup wrote:
> > > Hi
> > >
> >
> > > I need an expandable IFigure object like:
> > >
> > > +--------------+
> > > | AnyTable >> |
> > > +--------------+
> > > +--------------+
> > >
> > > press on the >> will be expand the object
> > > to
> > >
> > > +--------------+
> > > | AnyTable >> |
> > > +--------------+
> > > | VARCHAR x.. |
> > > | VARCHAR y.. |
> > > | VARCHAR z.. |
> > > +--------------+
> > >
> > >
> > > I want expand the object animated and smooth. Has anyone an suggestion
> > > to implement this in a GEF Editor?
> > >
> > >
> > > Thanks
> > >
> > > Andreas
>
>
|
|
|
|
Re: any suggestion for an 'ExpandAnimatedFigure' [message #204308 is a reply to message #202787] |
Thu, 01 December 2005 19:40 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Animation has been recently released to the Draw2d plug-in. The palette has
been modified to use the new utilities. Also, the logic example demos it
when changing connection routers for hte diagram.
It should be in an integration build any day now.
"FreeGroup" <a.herz@FreeGroup.de> wrote in message
news:dl5ku4$nb7$1@news.eclipse.org...
> Hi
>
> I need an expandable IFigure object like:
>
> +--------------+
> | AnyTable >> |
> +--------------+
> +--------------+
>
> press on the >> will be expand the object
> to
>
> +--------------+
> | AnyTable >> |
> +--------------+
> | VARCHAR x.. |
> | VARCHAR y.. |
> | VARCHAR z.. |
> +--------------+
>
>
> I want expand the object animated and smooth. Has anyone an suggestion
> to implement this in a GEF Editor?
>
>
> Thanks
>
> Andreas
|
|
|
Powered by
FUDForum. Page generated in 0.03375 seconds