Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Draw something, when creating a node
Draw something, when creating a node [message #899607] Wed, 01 August 2012 14:48
Rui Domingues is currently offline Rui Domingues
Messages: 191
Registered: October 2010
Senior Member
Can anyone tell me how to draw my own guide lines after user clicks in a palette tool.

I wanted to draw a line at the position, where some object is gonna be placed, because I've some layout constraints, and the mouse position is not likely to be the right position of placement.

For example, in this scenario:
|¨¨¨¨¨¨¨¨|
| FA     |
| FB     |
|        |
| C      |
|_____x__|


I'm dragging an object (FK) into position x, however I want that all F* stays together. This means that FK must be placed bellow FB. In this case I'd like to draw a line bellow FB for user to know that it's there it will be placed.

[Updated on: Wed, 01 August 2012 14:48]

Report message to a moderator

Previous Topic:Different figure for super- and subtype
Next Topic:Style
Goto Forum:
  


Current Time: Fri Sep 19 15:59:21 GMT 2014

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

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