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
Member
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

Hi,

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

Regards,


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 Apr 26 17:03:46 GMT 2024

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

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

Back to the top