|Tabbed panel - NEED HELP!! [message #207973]
||Tue, 24 January 2006 19:27
Originally posted by: renato.sysmap.com.br|
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
So, from logic, we have the following packages and its classes:
LogicElement <- LogicSubpart <--- LogicDiagram <- Circuit(and other
|- LogicLabel(and other components)
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
Question #4: About the TabPageEditPart, should it be a figure like
CircuitEditPart (FreeformLayer within a ScrollPane) or like
Thanks in advance,
Powered by FUDForum
. Page generated in 0.16991 seconds