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 02:25 Go to next message
chavi   is currently offline chavi
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 15:21 Go to previous message
Aurelien Pupier is currently offline Aurelien Pupier
Messages: 556
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 blog
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: Wed Jul 23 12:13:50 EDT 2014

Powered by FUDForum. Page generated in 0.01526 seconds