Skip to main content



      Home
Home » Eclipse Projects » GEF » Advice on a tab implementation in GEF/draw2d
Advice on a tab implementation in GEF/draw2d [message #201399] Mon, 31 October 2005 16:26
Eclipse UserFriend
Hello. I'm trying to implement a visual editor that supports tabs. The
visual page that I'm creating has a header area, and then a collection of
tabs underneath it. Unfortunately, the model I'm working with contains a
header element and then one or more tab elements (there is no
corresponding TabFolder model element to contain the TabItems).

My question is, what is the best way to create this invisible "TabFolder"
piece that has no corresponding model element? Do I want to create a
TabFolderEditPart inside my RootPageEditPart and then somehow reroute the
addChild commands to add all TabEditParts to the TabFolderEditPart, or do
I want to create a TabFolderFigure (LayeredPane) in my RootPageFigure and
then add all TabFigures to it (so the TabFolderFigure does not have a
corresponding EditPart)?

I've been fumbling through my different options, but haven't found one
that seems clean.

Any advice would be appreciated!

-Ryan
Previous Topic:feedback example
Next Topic:Label for Connection
Goto Forum:
  


Current Time: Sun May 04 15:56:26 EDT 2025

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

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

Back to the top