Skip to main content



      Home
Home » Eclipse Projects » Sirius » Transparent Diagram elements + Layout algorhitms
Transparent Diagram elements + Layout algorhitms [message #1234795] Wed, 22 January 2014 15:44 Go to next message
Eclipse UserFriend
Hey there!

Is there a way to make Nodes in a diagram view transparent? Like 50% transparency for example. I want to "hide" irrelevant elements.

Then:
How would I implement my own layout algorithms for element arrangement? Is this in the scope Sirius or do I have to check out GMF for that?

Best regards,

Michael
Re: Transparent Diagram elements + Layout algorhitms [message #1235496 is a reply to message #1234795] Fri, 24 January 2014 09:01 Go to previous messageGo to next message
Eclipse UserFriend
Le 22/01/2014 21:44, Michael Lukaszczyk a écrit :
> Hey there!

Hi.

> Is there a way to make Nodes in a diagram view transparent? Like 50%
> transparency for example. I want to "hide" irrelevant elements.

Sirius offers several ways to hide elements (dynamic filters, explicit
"Hide" action from the user, unsynchronized mappings), but all of these
completely remove the graphical elements from the diagram.

It might be possible using directly GMF and/or Draw2D to do what you
want, but Sirius does not offer direct support for this.

> Then:
> How would I implement my own layout algorithms for element arrangement?
> Is this in the scope Sirius or do I have to check out GMF for that?

Yes, we provide and extension point for this:
org.eclipse.sirius.diagram.layoutProvider. Unfortunately the
documentation for it was not part of the initial code contribution,
because it is partially obsolete/misleading and we did not have time to
rewrite it.

You can still get access to the old version if you register to
http://www.obeonetwork.com/ and go to
http://www.obeonetwork.com/group/obeo-designer/page/obeo-designer-reference-documentation-6-2.
It is in the section "Viewpoint Documentation > Viewpoint Developer
Manual > Provide a custom Arrange All". You will have to adjust the
names (e.g. Viewpoint is now Sirius, fr.obeo.dsl.viewpoint is now
org.eclipse.sirius).

I have created https://bugs.eclipse.org/bugs/show_bug.cgi?id=426583 so
that we don't forget to re-integrate what we can of the developer doc
for Sirius 1.0.
Re: Transparent Diagram elements + Layout algorhitms [message #1236584 is a reply to message #1235496] Mon, 27 January 2014 10:47 Go to previous message
Eclipse UserFriend
Thank you very much! I will take a look at it.
Previous Topic:Unable to get hierarchy in table
Next Topic:Wrong context in cross table cell
Goto Forum:
  


Current Time: Thu Jul 24 11:26:52 EDT 2025

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

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

Back to the top