Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Programmatically invoking dnd
Programmatically invoking dnd [message #652490] Fri, 04 February 2011 09:45
Innar Made is currently offline Innar MadeFriend
Messages: 1
Registered: February 2011
Junior Member

What I want to achieve:
I want to dnd a shape into another shape. If the parent shape contains other shapes I want them to automatically be placed inside the shape I just dropped into the parent shape. These shapes should now belong to the dropped shape.

What I currently have:
I can dnd a shape into the parent shape and perform some necessary resizing. The other shapes that already were in the parent shape are now hidden behind the newly dropped shape.

What I have found:
Some interesting stuff I found that I could potentially use are:
1. somehow get the instance and call showSourceFeedback(Request request) method that internally invokes a move shape feature
2. use Graphiti.getPeService().sendToFront(shape)

My question:
What would be the Graphiti way of achieving what I want to do?

Previous Topic:Connect a connection to another one?
Next Topic:Permanently Selected Graphics Algorithms
Goto Forum:

Current Time: Fri Dec 04 00:05:34 GMT 2020

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

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

Back to the top