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: 64
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
Aurelien Pupier is currently offline Aurelien PupierFriend
Messages: 574
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 - Bonitasoft S.A.
My company Eclipse-related blog
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 Nov 21 08:51:26 GMT 2014

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

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