Skip to main content



      Home
Home » Eclipse Projects » GEF » What's the recommended method for deleting child edit parts?
What's the recommended method for deleting child edit parts? [message #89740] Tue, 05 August 2003 21:10 Go to next message
Eclipse UserFriend
After a hiatus out of my control, I'm back working on my GEF project that
was built with old GEF code (Nov. 2002). I'm in the process of moving
things to 2.1 but due to some changes that have occurred in the last 10
months, my old edit policies that handled deleting nodes, child items and
connections is no longer working... What is the recommended method for
deleting these edit parts & cooresponding model items now that
NodeEditPolicy doesn't exist?

My editor is a GraphicalEditorWithPalette and my node items are based on
AbstractGraphicalEditParts. A node can be a container of items and each
item can be a connection source while a node can be a connection target.
ie.

NodeA
ChildItem1--------------->NodeB
ChildItem2

ChildItem3------------>NodeC

Thanks in advance for any help.
Erik
Re: What's the recommended method for deleting child edit parts? [message #89754 is a reply to message #89740] Tue, 05 August 2003 21:45 Go to previous message
Eclipse UserFriend
Never mind.... I found a solution.


"Erik Johnson" <ejohnson@avaya.com> wrote in message
news:bgpkgm$n70$1@eclipse.org...
> After a hiatus out of my control, I'm back working on my GEF project that
> was built with old GEF code (Nov. 2002). I'm in the process of moving
> things to 2.1 but due to some changes that have occurred in the last 10
> months, my old edit policies that handled deleting nodes, child items and
> connections is no longer working... What is the recommended method for
> deleting these edit parts & cooresponding model items now that
> NodeEditPolicy doesn't exist?
>
> My editor is a GraphicalEditorWithPalette and my node items are based on
> AbstractGraphicalEditParts. A node can be a container of items and each
> item can be a connection source while a node can be a connection target.
> ie.
>
> NodeA
> ChildItem1--------------->NodeB
> ChildItem2
>
> ChildItem3------------>NodeC
>
> Thanks in advance for any help.
> Erik
>
>
Previous Topic:click-to-select
Next Topic:Delete Action disabled
Goto Forum:
  


Current Time: Tue Jul 22 02:33:35 EDT 2025

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

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

Back to the top