Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Difference between ScalableFreeformRootEditPart and ScalableRootEditPart?
Difference between ScalableFreeformRootEditPart and ScalableRootEditPart? [message #230793] Sat, 17 February 2007 12:56 Go to next message
Eclipse UserFriend
Originally posted by: unidad.gmx.net

Hi!

What is the difference between a ScalableFreeformRootEditPart
and a ScalableRootEditPart?

Is it the only thing, that I may move items to negative coordinates
with a ScalableFreeformRootEditPart?

My problem is, that I have got an editor with a
ScalableFreeformRootEditPart. Now I'm building a save-image-action,
that needs access to the RootEditParts Zoomanager and
the RootEditParts Layers.

ScalableFreeformRootEditPart doesn't provide public-access to these
properties. ScalableRootEditPart does.

Also I would like to have a negative-coordinates-support, I think I have
to switch to ScalableRootEditPart to realize my save-image-action.
Or is there maybe another solution to access Zoomanager and Layers with
a ScalableFreeformRootEditPart?

Greetings, Hermann
Re: Difference between ScalableFreeformRootEditPart and ScalableRootEditPart? [message #230824 is a reply to message #230793] Mon, 19 February 2007 22:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lamont_gilbert.rigidsoftware.com

On Sat, 17 Feb 2007 13:56:00 +0100, Hermann Maier wrote:

> Hi!
>
> What is the difference between a ScalableFreeformRootEditPart and a
> ScalableRootEditPart?
>
> Is it the only thing, that I may move items to negative coordinates with a
> ScalableFreeformRootEditPart?
>
> My problem is, that I have got an editor with a
> ScalableFreeformRootEditPart. Now I'm building a save-image-action, that
> needs access to the RootEditParts Zoomanager and the RootEditParts Layers.
>
> ScalableFreeformRootEditPart doesn't provide public-access to these
> properties. ScalableRootEditPart does.
>
> Also I would like to have a negative-coordinates-support, I think I have
> to switch to ScalableRootEditPart to realize my save-image-action. Or is
> there maybe another solution to access Zoomanager and Layers with a
> ScalableFreeformRootEditPart?
>
> Greetings, Hermann


Its been a while but IIRC, the freeform does not have 'size' and it takes
its size from its children sort of. The non-freeform one has size and
does not get resized based on children. So if you are not careful where
you put the children they wont be visible.

I believe that is how it was.


CL
Re: Difference between ScalableFreeformRootEditPart and ScalableRootEditPart? [message #230849 is a reply to message #230824] Tue, 20 February 2007 08:04 Go to previous message
Eclipse UserFriend
Originally posted by: unidad.gmx.net

Hi!

CL 'dnoyeB' Gilbert schrieb:
> Its been a while but IIRC, the freeform does not have 'size' and it
takes
> its size from its children sort of. The non-freeform one has size and
> does not get resized based on children. So if you are not careful where
> you put the children they wont be visible.
>
> I believe that is how it was.

Thanks! That sounds good.
So I don't need the FreeformEditPart.

Greetings, Hermann
Previous Topic:Forcing IFigure to recreate itself
Next Topic:GEF connection
Goto Forum:
  


Current Time: Fri Apr 26 10:57:37 GMT 2024

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

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

Back to the top