Skip to main content



      Home
Home » Eclipse Projects » GEF » [contribution] Hello Gef 4, minimalist GEF code sample with bendable connections posted on EclipseWi
[contribution] Hello Gef 4, minimalist GEF code sample with bendable connections posted on EclipseWi [message #32556] Wed, 16 October 2002 11:24 Go to next message
Eclipse UserFriend
Hello:

Just posted "Hello Gef 4" example at
http://eclipsewiki.swiki.net/50#hellogef4.

Note that all "Hello Gef #" examples are independent from each other, they
can be all installed without any problem since they belong to different
packages and are activated using different file extensions.

What's new in "Hello Gef 4" example:
- Create/move/delete bend points in connections
- Manhattan router is not compatible with bendpoints, so it is deactivated
by default, but it can be re-enabled using a simple boolean value and
recompilation
- Undo/Redo is now fully fonctional

What will be next:

Hello Gef 5 - add support to move the end point of a connection from one
node to another
Hello Gef 6 - node / connection deletion support
Hello Gef 7 - add a palette to allow creation of nodes & connections

If any suggession, please post in this newsgroup!

Alex.
Re: [contribution] Hello Gef 4, minimalist GEF code sample with bendable connections posted on Eclip [message #32591 is a reply to message #32556] Wed, 16 October 2002 12:21 Go to previous messageGo to next message
Eclipse UserFriend
How many levels of undo/redo you support? The logic editor example only has
1 level undo/redo. can you do multiple level of undo/redo?
Thanks.

"Alexandre Vermeerbergen" <ave@ds-fr.com> wrote in message
news:aojupj$i1l$1@rogue.oti.com...
> Hello:
>
> Just posted "Hello Gef 4" example at
> http://eclipsewiki.swiki.net/50#hellogef4.
>
> Note that all "Hello Gef #" examples are independent from each other, they
> can be all installed without any problem since they belong to different
> packages and are activated using different file extensions.
>
> What's new in "Hello Gef 4" example:
> - Create/move/delete bend points in connections
> - Manhattan router is not compatible with bendpoints, so it is deactivated
> by default, but it can be re-enabled using a simple boolean value and
> recompilation
> - Undo/Redo is now fully fonctional
>
> What will be next:
>
> Hello Gef 5 - add support to move the end point of a connection from one
> node to another
> Hello Gef 6 - node / connection deletion support
> Hello Gef 7 - add a palette to allow creation of nodes & connections
>
> If any suggession, please post in this newsgroup!
>
> Alex.
>
>
Re: [contribution] Hello Gef 4, minimalist GEF code sample with bendable connections posted on Eclip [message #32660 is a reply to message #32591] Wed, 16 October 2002 15:47 Go to previous messageGo to next message
Eclipse UserFriend
"Hal" <otaconss2@hotmail.com> wrote in message
news:aok25l$kio$1@rogue.oti.com...
> How many levels of undo/redo you support? The logic editor example only
has
> 1 level undo/redo. can you do multiple level of undo/redo?
> Thanks.

I disagree : Hello Gef 4 *and* the Logical Diagram Editor support more than
1 level of undo/redo!
This is based on the command stack and GEF's command interface that ask
implementation to support undo/redo...

Try again, or explain better what you mean, please !

Alex.
Re: [contribution] Hello Gef 4, minimalist GEF code sample with bendable connections posted on Eclip [message #33044 is a reply to message #32660] Wed, 16 October 2002 19:24 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for clarify that.

Another question: Can you bend a connection NOT just in the middle of it? In
the example, you can only bend it in the middle. Can you implement it so
that you can click anywhere on the connection and then bend it?

Thanks.

"Alexandre Vermeerbergen" <ave@ds-fr.com> wrote in message
news:aoke6s$sh0$1@rogue.oti.com...
>
> "Hal" <otaconss2@hotmail.com> wrote in message
> news:aok25l$kio$1@rogue.oti.com...
> > How many levels of undo/redo you support? The logic editor example only
> has
> > 1 level undo/redo. can you do multiple level of undo/redo?
> > Thanks.
>
> I disagree : Hello Gef 4 *and* the Logical Diagram Editor support more
than
> 1 level of undo/redo!
> This is based on the command stack and GEF's command interface that ask
> implementation to support undo/redo...
>
> Try again, or explain better what you mean, please !
>
> Alex.
>
>
Re: [contribution] Hello Gef 4, minimalist GEF code sample with bendable connections posted on Eclip [message #33149 is a reply to message #33044] Thu, 17 October 2002 03:11 Go to previous message
Eclipse UserFriend
"Hal" <otaconss2@hotmail.com> wrote in message
news:aokqvo$3lf$1@rogue.oti.com...
> Thanks for clarify that.
>
> Another question: Can you bend a connection NOT just in the middle of it?
In
> the example, you can only bend it in the middle. Can you implement it so
> that you can click anywhere on the connection and then bend it?

That question was already mentionned in the group.

Anyway, I don't see the usefulness of starting a bendpoint anywhere, since
when you move the bendpoint along the connection line (assuming the
connection was never bended), its relative position changes, and then you
move it anywhere you whould have moved it if started at this new relative
position....

Could you explain the interest of having inital bendpoint position at mouse
location? I'm not sure that usability would be improved with your proposal,
but if you give convincing explanation, why not...?
Previous Topic:Bug somewhere in AbstractTreeEditPart (I think)
Next Topic:How to contribute to GEF Developer FAQ?
Goto Forum:
  


Current Time: Fri May 09 05:24:01 EDT 2025

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

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

Back to the top