Multiple content panes possible?? [message #164756] |
Thu, 20 January 2005 13:23  |
Eclipse User |
|
|
|
Hi!
Is there a way to set more than one content pane for an EditPart?
Depentend on the childs class, the appropriate pane should be selected.
Or can this be done an other way?
(Sorry for the bad English)
|
|
|
|
Re: Multiple content panes possible?? [message #164901 is a reply to message #164789] |
Fri, 21 January 2005 01:20  |
Eclipse User |
|
|
|
Hey, that worked! Too easy... ;-)
Thank you very much!
Randy Hudson wrote:
> For now, you need to override addChildVisual and just find the correct
> content pane. Also, override:
> public void setLayoutConstraint(EditPart child, IFigure childFigure, Object
> constraint) {
> childFigure.getParent().setConstraint(childFigure, constraint);
> }
> in Abstract GraphicaEditPart
> "Roger VIllars" <roger.villars@mimacom.ch> wrote in message
> news:csosvc$n80$1@www.eclipse.org...
>>
>> Hi!
>>
>> Is there a way to set more than one content pane for an EditPart?
>> Depentend on the childs class, the appropriate pane should be selected. Or
>> can this be done an other way?
>>
>> (Sorry for the bad English)
>>
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.06494 seconds