[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.gef] Re: inline/block
|
">>
>> "Element 1 Element 1 Element 1 Element 1 Element 1 Element 1 Element 1
>> Element 1 Element 1 Element 1 Element 1" "Element 2"
>
> Sounds like a FlowPage, with 2 TextFlows as children.
>
Ok, but Element2 could be something else than text, like an image for
example. And both elements are linked to different EditParts, it means the
FlowPage must be the figure of the parent EditPart. So if the parent must be
a FlowPage, that means all my figures need to be FlowFigures? I looked at
the hierarchy of FlowFigure, it has BlockFlow and InlineFlow as children.
But InlineFlow should not be subclassed, so how can I have inline behaviour
with non-text figures (inline in css means the element can coexist in the
same line with other inline elements and his size is minimal, while a block
element takes the whole space and is always alone on its line)?
Thanks,
David