Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [Eugenia] How to specify nodes without a figure?
[Eugenia] How to specify nodes without a figure? [message #12727] Tue, 17 February 2009 11:45 Go to next message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
I would like to specify "nodes" inside a compartment that are just
represented by their label (i.e. maybe with a prefixed icon, but
otherwise just a text-line and no surrounding rectangle, ellipse or
whatever).

I couldn't figure out, how to specify this. Is this possible? If so, a
hint on how would be appreciated!

Michael
Re: [Eugenia] How to specify nodes without a figure? [message #12748 is a reply to message #12727] Tue, 17 February 2009 11:57 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Michael,

As a workaround you could set border.color="255,255,255" (or whatever
the background color is) to your node. If this doesn't cut it, please
file a bug and we'll look into it asap.

Cheers,
Dimitrios

Michael Moser wrote:
> I would like to specify "nodes" inside a compartment that are just
> represented by their label (i.e. maybe with a prefixed icon, but
> otherwise just a text-line and no surrounding rectangle, ellipse or
> whatever).
>
> I couldn't figure out, how to specify this. Is this possible? If so, a
> hint on how would be appreciated!
>
> Michael
>
>
Re: [Eugenia] How to specify nodes without a figure? [message #12846 is a reply to message #12748] Tue, 17 February 2009 12:32 Go to previous messageGo to next message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Dimitris Kolovos wrote:
> Hi Michael,
>
> As a workaround you could set border.color="255,255,255" (or whatever
> the background color is) to your node. If this doesn't cut it, please
> file a bug and we'll look into it asap.
>
> Cheers,
> Dimitrios

Hm - almost. I had to fiddle somewhat with the size to get a decent
height (because the default figure is too big, esp. to high which causes
very odd looking lists). I guess the drawback with this approach is,
that it now very much depends on the font size used and/or available.

Another problem is, that the horizontal width is now fixed and if one
makes the container very wide, only part of the content is shown. I
guess, that could be overcome that by simply specifying some enormous
width (>= 10000 pixels or so) but ideally that element would "simply"
adapt to the containing element's width (e.g. by specifying a width of 0
or -1).

For now I can live with it, but I guess I'll file an enhancement request
on that one, too.

Michael
Re: [Eugenia] How to specify nodes without a figure? [message #12857 is a reply to message #12846] Tue, 17 February 2009 12:40 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Michael,

I suspected that some fiddling with the dimensions of the node would be
needed. Please do file the bug and I'll start looking for a proper
solution to this.

Cheers,
Dimitris

Michael Moser wrote:
> Dimitris Kolovos wrote:
>> Hi Michael,
>>
>> As a workaround you could set border.color="255,255,255" (or whatever
>> the background color is) to your node. If this doesn't cut it, please
>> file a bug and we'll look into it asap.
>>
>> Cheers,
>> Dimitrios
>
> Hm - almost. I had to fiddle somewhat with the size to get a decent
> height (because the default figure is too big, esp. to high which causes
> very odd looking lists). I guess the drawback with this approach is,
> that it now very much depends on the font size used and/or available.
>
> Another problem is, that the horizontal width is now fixed and if one
> makes the container very wide, only part of the content is shown. I
> guess, that could be overcome that by simply specifying some enormous
> width (>= 10000 pixels or so) but ideally that element would "simply"
> adapt to the containing element's width (e.g. by specifying a width of 0
> or -1).
>
> For now I can live with it, but I guess I'll file an enhancement request
> on that one, too.
>
> Michael
>
Re: [Eugenia] How to specify nodes without a figure? [message #13444 is a reply to message #12857] Tue, 17 February 2009 12:48 Go to previous message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Dimitris Kolovos wrote:
> Hi Michael,
>
> I suspected that some fiddling with the dimensions of the node would
> be needed. Please do file the bug and I'll start looking for a proper
> solution to this.

yeah - even with the minimal size that makes sure, that no text is cut
off at the bottom, the label has too much distance at the top, so the
list looks as if only every other line is filled.
Bugzilla's coming...

Michael
Re: [Eugenia] How to specify nodes without a figure? [message #565437 is a reply to message #12727] Tue, 17 February 2009 11:57 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Michael,

As a workaround you could set border.color="255,255,255" (or whatever
the background color is) to your node. If this doesn't cut it, please
file a bug and we'll look into it asap.

Cheers,
Dimitrios

Michael Moser wrote:
> I would like to specify "nodes" inside a compartment that are just
> represented by their label (i.e. maybe with a prefixed icon, but
> otherwise just a text-line and no surrounding rectangle, ellipse or
> whatever).
>
> I couldn't figure out, how to specify this. Is this possible? If so, a
> hint on how would be appreciated!
>
> Michael
>
>
Re: [Eugenia] How to specify nodes without a figure? [message #565560 is a reply to message #12748] Tue, 17 February 2009 12:32 Go to previous message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Dimitris Kolovos wrote:
> Hi Michael,
>
> As a workaround you could set border.color="255,255,255" (or whatever
> the background color is) to your node. If this doesn't cut it, please
> file a bug and we'll look into it asap.
>
> Cheers,
> Dimitrios

Hm - almost. I had to fiddle somewhat with the size to get a decent
height (because the default figure is too big, esp. to high which causes
very odd looking lists). I guess the drawback with this approach is,
that it now very much depends on the font size used and/or available.

Another problem is, that the horizontal width is now fixed and if one
makes the container very wide, only part of the content is shown. I
guess, that could be overcome that by simply specifying some enormous
width (>= 10000 pixels or so) but ideally that element would "simply"
adapt to the containing element's width (e.g. by specifying a width of 0
or -1).

For now I can live with it, but I guess I'll file an enhancement request
on that one, too.

Michael
Re: [Eugenia] How to specify nodes without a figure? [message #565586 is a reply to message #12846] Tue, 17 February 2009 12:40 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Michael,

I suspected that some fiddling with the dimensions of the node would be
needed. Please do file the bug and I'll start looking for a proper
solution to this.

Cheers,
Dimitris

Michael Moser wrote:
> Dimitris Kolovos wrote:
>> Hi Michael,
>>
>> As a workaround you could set border.color="255,255,255" (or whatever
>> the background color is) to your node. If this doesn't cut it, please
>> file a bug and we'll look into it asap.
>>
>> Cheers,
>> Dimitrios
>
> Hm - almost. I had to fiddle somewhat with the size to get a decent
> height (because the default figure is too big, esp. to high which causes
> very odd looking lists). I guess the drawback with this approach is,
> that it now very much depends on the font size used and/or available.
>
> Another problem is, that the horizontal width is now fixed and if one
> makes the container very wide, only part of the content is shown. I
> guess, that could be overcome that by simply specifying some enormous
> width (>= 10000 pixels or so) but ideally that element would "simply"
> adapt to the containing element's width (e.g. by specifying a width of 0
> or -1).
>
> For now I can live with it, but I guess I'll file an enhancement request
> on that one, too.
>
> Michael
>
Re: [Eugenia] How to specify nodes without a figure? [message #565610 is a reply to message #12857] Tue, 17 February 2009 12:48 Go to previous message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Dimitris Kolovos wrote:
> Hi Michael,
>
> I suspected that some fiddling with the dimensions of the node would
> be needed. Please do file the bug and I'll start looking for a proper
> solution to this.

yeah - even with the minimal size that makes sure, that no text is cut
off at the bottom, the label has too much distance at the top, so the
list looks as if only every other line is filled.
Bugzilla's coming...

Michael
Previous Topic:[Eugenia] Including certain GMF options?
Next Topic:re. Wishlist...
Goto Forum:
  


Current Time: Thu Oct 02 08:44:15 GMT 2014

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

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