Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Tabbed panel - NEED HELP!!
Tabbed panel - NEED HELP!! [message #207973] Tue, 24 January 2006 19:27
Eclipse UserFriend
Originally posted by: renato.sysmap.com.br

Hi,

I'm trying to create a tabbed panel for a GUI builder using GEF/Draw2d.
I've already searched the archives and tried to take a look at ediagram
example but it seems too complex and uses EMF concepts (that I don't
have knowledge), so all my work (and this help request) is based on
Logic example.
So, from logic, we have the following packages and its classes:
-model-
LogicElement <- LogicSubpart <--- LogicDiagram <- Circuit(and other
| containers)
|- LogicLabel(and other components)
-edit-
LogicEditPart <--- LogicContainerEditPart <--- CircuitEditPart
| |- LogicDiagramEditPart
| |- (other containers)
|- LogicLabelEditPart(and other components)

Given this scenario, I thought about creating 2 new components: a
TabContainer (container for tab pages only) and a TabPage (container for
containers and components).

Question #1: Which class should these new ones extend (both model and edit)?

Question #2: About the TabContainerEditPart, it should be a figure
composed of 2 panels, a buttons panel (that controls the active/visible
layer) and which kind of layered panel (to hold the tab panels - layers)?

Question #3: How to create and manage layers? Is there any example that
does it?

Question #4: About the TabPageEditPart, should it be a figure like
CircuitEditPart (FreeformLayer within a ScrollPane) or like
LogicDiagramEditPart (FreeformLayer)?

Thanks in advance,
Renato.
Previous Topic:is GEF still plug-in only ?
Next Topic:Rounded border with a label
Goto Forum:
  


Current Time: Wed Nov 30 13:59:42 GMT 2022

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

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

Back to the top