Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Logic example and scalableFreeform
Logic example and scalableFreeform [message #154640] Wed, 20 October 2004 15:09 Go to next message
Eclipse UserFriend
Originally posted by: boby.vt.edu

Hi,
I am trying to develop a GEF app based on flow example
(org.eclipse.gef.examples.flow). i noticed that if i use
ScalableFreeformRootEditPart instead of ScalableRootEditPart as the
RootEditPart the figures dont come in the viewer. I wanted to use
ScalableFreeformRootEditPart bcoz i need an outline. When i looked at
the logic example, it uses ScalableFreeformRootEditPart. Does anyone
know how to use ScalableFreeformRootEditPart and still make the flow
example work?

Thanks
Re: Logic example and scalableFreeform [message #154726 is a reply to message #154640] Thu, 21 October 2004 15:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

"Boby George" <boby@vt.edu> wrote in message
news:cl5uov$90q$1@eclipse.org...
> Hi,
> I am trying to develop a GEF app based on flow example
> (org.eclipse.gef.examples.flow). i noticed that if i use
> ScalableFreeformRootEditPart instead of ScalableRootEditPart as the
> RootEditPart the figures dont come in the viewer. I wanted to use
> ScalableFreeformRootEditPart bcoz i need an outline. When i looked at
> the logic example, it uses ScalableFreeformRootEditPart. Does anyone
> know how to use ScalableFreeformRootEditPart and still make the flow
> example work?

Freeform is used when you want to have an XY layout which allows negative
coordinates. The flow example doesn't have this requirement.

A freeform root expects that the contents editpart provide a FreeformFigure.
Behavior is undefined otherwise.

>
> Thanks
Re: Logic example and scalableFreeform [message #154789 is a reply to message #154640] Thu, 21 October 2004 17:55 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
And you don't need a freeform part to create an outline. The flow example
simply didn't bother with it because it wasn't pertinent to what the example
was trying to demonstrate.

"Boby George" <boby@vt.edu> wrote in message
news:cl5uov$90q$1@eclipse.org...
> Hi,
> I am trying to develop a GEF app based on flow example
> (org.eclipse.gef.examples.flow). i noticed that if i use
> ScalableFreeformRootEditPart instead of ScalableRootEditPart as the
> RootEditPart the figures dont come in the viewer. I wanted to use
> ScalableFreeformRootEditPart bcoz i need an outline. When i looked at
> the logic example, it uses ScalableFreeformRootEditPart. Does anyone
> know how to use ScalableFreeformRootEditPart and still make the flow
> example work?
>
> Thanks
Previous Topic:extending GraphicalEditorWithPalette
Next Topic:Are there any eclipse plugin to visual design Draw2D figure?
Goto Forum:
  


Current Time: Fri Apr 26 03:16:50 GMT 2024

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

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

Back to the top