|
Re: Transparent Diagram elements + Layout algorhitms [message #1235496 is a reply to message #1234795] |
Fri, 24 January 2014 14:01 |
|
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.
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.04282 seconds