Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to put multiple editors in an editor
How to put multiple editors in an editor [message #231110] Mon, 26 February 2007 22:26 Go to next message
Eclipse User
Originally posted by: sumitabh.kansal.embarcadero.com

Hello,

I have a requirement where a design model needs to be opened in an editor.
This model can contain multiple items, these are all design items being
represented in GEF layouts (each something similar to table schema).

So in my editor I want to show all these items in a tree kind of structure
grouped by their type on the left side of a SashForm and on the right side
I want to show the layout of the item in TabItems form for each type.

I am trying to use FlyoutPaletteComposite, but when the editor opens, the
palette is all collapsed and the viewer area is very small, when I click
on the button on Flyout Palette then everything resizes properly. But as
soon as I move the divider of sash pane, it again gets distorted.

Also none of the actions - Delete, Alignment Actions etc. are working.

I have tried all this using views - that works perfectly. But the need for
opening more than one design model is forcing me to move to this editor
inside an editor kind of layout.

Can someone please help me in going in right direction.

Thanks,
Sumitabh
Re: How to put multiple editors in an editor [message #231167 is a reply to message #231110] Wed, 28 February 2007 06:07 Go to previous message
Eclipse User
Originally posted by: none.unknown.com

You can use the MultiPageEditorPart for the graphical forms of different
types. Caveat lector: MPEP is known to have some problems (search this
newsgroup). As for the tree, that's what the outline view is for.

"Sumitabh Kansal" <sumitabh.kansal@embarcadero.com> wrote in message
news:cd0a98dd42b3c4a95e860b976dd0c704$1@www.eclipse.org...
> Hello,
>
> I have a requirement where a design model needs to be opened in an editor.
> This model can contain multiple items, these are all design items being
> represented in GEF layouts (each something similar to table schema).
>
> So in my editor I want to show all these items in a tree kind of structure
> grouped by their type on the left side of a SashForm and on the right side
> I want to show the layout of the item in TabItems form for each type.
>
> I am trying to use FlyoutPaletteComposite, but when the editor opens, the
> palette is all collapsed and the viewer area is very small, when I click
> on the button on Flyout Palette then everything resizes properly. But as
> soon as I move the divider of sash pane, it again gets distorted.
>
> Also none of the actions - Delete, Alignment Actions etc. are working.
>
> I have tried all this using views - that works perfectly. But the need for
> opening more than one design model is forcing me to move to this editor
> inside an editor kind of layout.
>
> Can someone please help me in going in right direction.
>
> Thanks,
> Sumitabh
>
Previous Topic:Refresh problem in broswer when I use swt applet (embedded GEF GraphicalViewer)
Next Topic:PalleteFactory
Goto Forum:
  


Current Time: Wed Oct 22 15:24:46 GMT 2014

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

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