Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » reason for workaround
reason for workaround [message #16074] Fri, 11 August 2006 14:30
Eclipse UserFriend
Originally posted by: vcciubot.uwaterloo.ca

Hi all,

I'm looking at the auto-generated code that adds the figure of a
TextCompartmentEditPart to its parent.

The code in the parent EditPart creates a WrapLabel and adds it to
its contentPane.

It then overrides
protected boolean addFixedChild(EditPart childEditPart)
to intercept when the figure of the child would be added and it
replaces the child's figure by the parent created WrapLabel.

If I remove this code, the child figure never shows up.

thanks for you help
vlad
Previous Topic:Nesting a GMF FileDiagramEditor inside a org.eclipse.ui.part.MultiPageEditorPart
Next Topic:Are All Compartment Based on ScrollPane
Goto Forum:
  


Current Time: Thu Jul 17 01:39:04 EDT 2025

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

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

Back to the top