Skip to main content



      Home
Home » Eclipse Projects » GEF » [CHANGE] Delete has been changed
[CHANGE] Delete has been changed [message #50566] Thu, 19 December 2002 11:10
Eclipse UserFriend
Originally posted by: hudsonr.us.eye-bee-em.com

As part of our "simplification" effort, Deletes (REQ_DELETE) are no longer
forwarded to EditParts other than the parts that are selected. Previously,
both ContainerEditPolicy and NodeEditPolicy would re-dispatch the request to
childen and connections. This approach does not work accross multiple types
of Viewers, and such behavior (determining which connections to break as a
result of something being deleted) should be int your Command implementation
where it belongs. The Logic example demonstrates this.

CHANGES:
ContainerEditPolicy still exists but does nothing (previously it performed
forwarding). This class can still be subclassed to handle model-specific
aspects of Add/Delete/Orphan/Create.

NodeEditPolicy is deleted. All it did was forward delete to the
connections.

DeleteRequest has been deleted. DeleteRequest extended GroupRequest to track
the contributions to the overall delete action. This is no longer necessary
because forwarding of the request does not occur. GroupRequest is used now
instead.
Previous Topic:any news about overview pane?
Next Topic:draw2d.text
Goto Forum:
  


Current Time: Sun Jun 08 06:47:21 EDT 2025

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

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

Back to the top