Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » ILook and GridLayer question
ILook and GridLayer question [message #1292268] Fri, 11 April 2014 17:24 Go to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 811
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

Hi Michael,

I'm trying to address an enhancement request for the BPMN2 Modeler (change Grid size & color). After going the Graphiti code and trying to understand how the GridLayer is updated, it looks like I need access to the LookManager to accomplish this. However, the LookManager class and ILook interface, as well as GridLayer itself are internal. Is there something I'm missing here, or has the appearance of the Grid been baked into the Graphiti framework?

Thanks,
Bob
Re: ILook and GridLayer question [message #1297023 is a reply to message #1292268] Tue, 15 April 2014 11:13 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Bob,

the Diagram itself stores the information about the grid size. Try changing
the diagram attributes gridUnit and eventually verticalGridUnit to define
the size.

Unfortunatly the color of the grid is currently hard-coded and cannot be
changed. We could extend it similar to the grid size if you would like to
have that, please file an enhancement bugzilla for that.

Michael
Previous Topic:Dropping an element refresh the whole diagram
Next Topic:Convert a diagram file into an Image file.
Goto Forum:
  


Current Time: Thu Apr 25 23:36:14 GMT 2024

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

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

Back to the top