Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Setting properties Rules & Grid programmatically.
Setting properties Rules & Grid programmatically. [message #1743992] Wed, 21 September 2016 10:52 Go to next message
Martin Jedlicka is currently offline Martin JedlickaFriend
Messages: 122
Registered: January 2016
Senior Member
Hi,

How can I set properties Rules & Grid programmatically?

I need to programmatically change Measurement (Ruler Units and Grid Spacing) or turn on / off Snap To Grid.

Thanks for any advice.

Martin
Re: Setting properties Rules & Grid programmatically. [message #1744008 is a reply to message #1743992] Wed, 21 September 2016 12:31 Go to previous message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
Hi Martin

You might take to the SequenceDiagramEditPart which disable and ensure that snap to grid stay disable for Sirius Sequence diagrams: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/tree/plugins/org.eclipse.sirius.diagram.sequence.ui/src/org/eclipse/sirius/diagram/sequence/ui/tool/internal/edit/part/SequenceDiagramEditPart.java

Regards,

Maxime
Previous Topic:Create but not represent element
Next Topic:Container drop drug
Goto Forum:
  


Current Time: Fri Apr 26 07:22:33 GMT 2024

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

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

Back to the top