[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Re: How to make a Compartment become invisible when it is empty?
|
Hi Alessander,
I don't know how other's do it, but I gave the figure that contains the
compartment a custom layout, which sets the compartment's size to 0 if
it is empty. However, for this I always check the model element to see
if it contains elements in that compartment. To do this I had to pass
the edit part that corresponds to the laid out figure to the very same
when it is created. Maybe there is an easier way to check if a
compartment is empty.
Regards,
Matthias
Alessander Botti Benevides wrote:
> Hi people,
> is there a way to make a Compartment become invisible when it is empty?
>
> Thanks for all the help I'm getting here!
> Best regards,
> Alessander
>