Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Problem in getting the underlying figure
Problem in getting the underlying figure [message #104448] Fri, 16 February 2007 01:22 Go to next message
Eclipse UserFriend
Hi,

When I am creating one figure on the Editor how I can know the figure is
overlapping another figure. If I can know this, I think by this overlapping
figure can be avoided.. Or is it possible when I am dropping figure on the
Editor , the underlying figure if there can be moved either horizontally or
vertically.


Regards,
Sandip
Re: Problem in getting the underlying figure [message #104552 is a reply to message #104448] Fri, 16 February 2007 05:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

Use methods listed here
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. draw2d.doc.isv/guide/hittest.html

Sandip Sahoo wrote:
> Hi,
>
> When I am creating one figure on the Editor how I can know the figure is
> overlapping another figure. If I can know this, I think by this overlapping
> figure can be avoided.. Or is it possible when I am dropping figure on the
> Editor , the underlying figure if there can be moved either horizontally or
> vertically.
>
>
> Regards,
> Sandip
>
>
>
>
Re: Problem in getting the underlying figure [message #104651 is a reply to message #104448] Fri, 16 February 2007 10:21 Go to previous message
Eclipse UserFriend
Take a look at :

EditPartViewer#findObjectAt and
EditPartViewer#findObjectAtExcluding



Sandip Sahoo wrote:
> Hi,
>
> When I am creating one figure on the Editor how I can know the figure is
> overlapping another figure. If I can know this, I think by this overlapping
> figure can be avoided.. Or is it possible when I am dropping figure on the
> Editor , the underlying figure if there can be moved either horizontally or
> vertically.
>
>
> Regards,
> Sandip
>
>
>
>
Previous Topic:Dynamically created links created on collapced compartment is not visible
Next Topic:how do we use editorProviders ext. point?
Goto Forum:
  


Current Time: Tue Apr 29 01:32:40 EDT 2025

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

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

Back to the top