Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Transparent Diagram elements + Layout algorhitms
Transparent Diagram elements + Layout algorhitms [message #1234795] Wed, 22 January 2014 20:44 Go to next message
Michael Lukaszczyk is currently offline Michael Lukaszczyk
Messages: 14
Registered: November 2013
Junior Member
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 14:01 Go to previous messageGo to next message
Pierre-Charles David is currently offline Pierre-Charles David
Messages: 134
Registered: July 2009
Senior Member
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 15:47 Go to previous message
Michael Lukaszczyk is currently offline Michael Lukaszczyk
Messages: 14
Registered: November 2013
Junior Member
Thank you very much! I will take a look at it.
Previous Topic:Edge connections to list elements
Next Topic:Wrong context in cross table cell
Goto Forum:
  


Current Time: Thu Oct 23 04:42:11 GMT 2014

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

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