Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Stop overlapping of Component in GMF editor
Stop overlapping of Component in GMF editor [message #696502] Thu, 14 July 2011 06:25 Go to next message
chavi   is currently offline chavi Friend
Messages: 67
Registered: April 2011
Is it possible to make a component as a non drop target i.e. i have dropped one component in my GMF Editor.I want to make it as a non droppable target object so that any other component can not be drop over that.What is the way to do it?
Re: Stop overlapping of Component in GMF editor [message #701186 is a reply to message #696502] Sun, 24 July 2011 19:21 Go to previous message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member


You can use a custom Layout Edit Policy and override LayoutEditPolicy.getMoveCommand(ChangeBoundsRequest request)


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Previous Topic:How to identify any Particular Component from GMF Editor
Next Topic:Ruler and Grid throwing exception on setting the GMF editor inside a MultiPageEditor
Goto Forum:

Current Time: Fri Feb 26 07:40:58 GMT 2021

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

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

Back to the top