Skip to main content



      Home
Home » Modeling » Graphiti » preDelete and postDelete not called for patterns
preDelete and postDelete not called for patterns [message #921897] Mon, 24 September 2012 10:34 Go to next message
Eclipse UserFriend
I think I've found a bug when using pattern and the delete feature. When using standalone feature, you have the option to override the preDelete and postDelete methods but when using a pattern, those methods are not called. This is because the preDelete and postDelete methods are called inside the delete method of the DefaultDeleteFeature and thus simply redirect to the methods of the DefaultDeleteFeature (which do nothing).
The difference with the delete method is that this one is called from the DeleteFeatureForPattern class.

Am I correct in thinking that this is a bug ?
Re: preDelete and postDelete not called for patterns [message #922829 is a reply to message #921897] Tue, 25 September 2012 07:23 Go to previous messageGo to next message
Eclipse UserFriend
Yes, seems you are right. Probably this would affect preRemove and
postRemove functionality as well...

Would you please open a bugzilla to track that?

Thanks,
Michael
Re: preDelete and postDelete not called for patterns [message #922926 is a reply to message #922829] Tue, 25 September 2012 09:10 Go to previous message
Eclipse UserFriend
Ok done.
Previous Topic:DirectEditing field position
Next Topic:Create connection that is not linked to a BO
Goto Forum:
  


Current Time: Thu Jul 24 11:24:39 EDT 2025

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

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

Back to the top