Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » any suggestion for an 'ExpandAnimatedFigure'
any suggestion for an 'ExpandAnimatedFigure' [message #202787] Sat, 12 November 2005 20:55 Go to next message
Andreas Herz is currently offline Andreas HerzFriend
Messages: 196
Registered: July 2009
Senior Member
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 #203205 is a reply to message #202787] Sat, 19 November 2005 23:31 Go to previous messageGo to next message
Andreas Herz is currently offline Andreas HerzFriend
Messages: 196
Registered: July 2009
Senior Member
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 #203377 is a reply to message #203205] Mon, 21 November 2005 19:32 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #203401 is a reply to message #203377] Mon, 21 November 2005 21:11 Go to previous messageGo to next message
Andreas Herz is currently offline Andreas HerzFriend
Messages: 196
Registered: July 2009
Senior Member
Pratik Shah wrote:
> 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).
>

hipp - perfect. :-))

I think I can wait for the AnimationHelper. .....I have enough
work items for this duration ;-)
Re: any suggestion for an 'ExpandAnimatedFigure' [message #204308 is a reply to message #202787] Thu, 01 December 2005 19:40 Go to previous message
Eclipse UserFriend
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
Previous Topic:about selection action
Next Topic:Simple question about polygon/shape borders
Goto Forum:
  


Current Time: Fri Apr 26 11:12:00 GMT 2024

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

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

Back to the top