Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Grid Layout
Grid Layout [message #1386352] Mon, 16 June 2014 21:20 Go to next message
serhat gezgin is currently offline serhat gezginFriend
Messages: 243
Registered: January 2013
Location: Izmir
Senior Member
Hi all,

I newly meet with Sirius. And i am confused.

I want to make grid Layout for my DSL which contains elements horizontal and vertically.

Like web-forms Dev Express etc..

So how can i do this. Can u help me ?

Regards.
Re: Grid Layout [message #1386370 is a reply to message #1386352] Tue, 17 June 2014 07:49 Go to previous messageGo to next message
Alex Lagarde is currently offline Alex LagardeFriend
Messages: 193
Registered: May 2010
Senior Member

Hi,

indeed Sirius allows you to customize the layout used to render your
diagram. I invite you to first read the corresponding documentation [1].

Sirius provides 2 basic kinds of layout (Composite and Ordered Tree),
and you can provide your own layout algorithm programmatically (but be
aware that this is a complex task).

Please let me know if you have any further question.

Best regards,
Alex

[1]
http://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#layout
Re: Grid Layout [message #1386377 is a reply to message #1386370] Tue, 17 June 2014 08:36 Go to previous messageGo to next message
serhat gezgin is currently offline serhat gezginFriend
Messages: 243
Registered: January 2013
Location: Izmir
Senior Member
Hi,

A thanks for answer it helped me.

But i can't get developers manual from;

https://www.eclipse.org/sirius/doc/developer/Sirius20Developer%20Manual.html

so i can't customize diagram as i want Sad

Regards
Re: Grid Layout [message #1386416 is a reply to message #1386377] Tue, 17 June 2014 12:41 Go to previous messageGo to next message
Alex Lagarde is currently offline Alex LagardeFriend
Messages: 193
Registered: May 2010
Senior Member

Hi,

this is a known issue, as said by Pierre-Charles in this thread [1]

> "we used to have a "Developer" section in the documentation (before
the product was open sourced as Sirius), but it was inconsistent and
sometimes completely obsolete. We did not have enough time to rewrite it
for Sirius 1.0, so it has been removed to avoid confusion.

> We certainly want to have such a documentation in the future. Feel
free to comment on https://bugs.eclipse.org/bugs/show_bug.cgi?id=426583
to tell us what kind of information you expect in priority for such a
document (for us who have been working on Sirius for years, it is not
always obvious what a newcomer needs).

That being said, you can access the previous version of the Developper
Guide by registering to the Obeo Network [2].

But again, writing your own layout will be a really complex task. We
have done it several times, but it can require several days of work. Do
you really need to have a complex layout ? Maybe the 2 layouts we
provide by default can meet your needs.

Best regards,
Alex


[1]
http://www.eclipse.org/forums/index.php/mv/msg/781375/1385080/#msg_1385080

[2] http://www.obeonetwork.com/group/obeo-designer
Re: Grid Layout [message #1386436 is a reply to message #1386416] Tue, 17 June 2014 14:05 Go to previous message
serhat gezgin is currently offline serhat gezginFriend
Messages: 243
Registered: January 2013
Location: Izmir
Senior Member
Hi,

Thanks for advises.

Maybe vertical and horizontal layout solve my problem but i need to do a web based form included NavBars, Controllers and If I do it that way, end users may get confused. Because result of code generation and shown in the diagram will be different.

And because of this i can't do what u see what u get. So if possible i need to try Smile

Regards
Previous Topic:Reduce opening time
Next Topic:GSOC2014 - Specification model initializer
Goto Forum:
  


Current Time: Thu Apr 18 23:28:59 GMT 2024

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

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

Back to the top