Difference between ScalableFreeformRootEditPart and ScalableRootEditPart? [message #230793] |
Sat, 17 February 2007 12:56 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03922 seconds