Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Why do generated SemanticEditPolicies call IElementType?
Why do generated SemanticEditPolicies call IElementType? [message #17247] Mon, 14 August 2006 09:51 Go to next message
Eclipse UserFriend
Is it bed to implement all semantic edit logic in appropriate
SemanticEditPolicy? As I can see generated EditHelpers do nothing useful.
If we want to share common code we can do it within edit policies. Why
should we call to IElementTypes?
Re: Why do generated SemanticEditPolicies call IElementType? [message #18282 is a reply to message #17247] Tue, 15 August 2006 04:03 Go to previous message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

Hello!

The right place for commands in most cases is edit policy; we try to
hook extensibility facility based on edit helpers and advices so clients
could extend diagram editing semantic in a diagram-independent way (I
mean only in context of domain model). We generate default edit helpers
and advices since they allow us to enable this facility.

Yury wrote:
> Is it bed to implement all semantic edit logic in appropriate
> SemanticEditPolicy? As I can see generated EditHelpers do nothing
> useful. If we want to share common code we can do it within edit
> policies. Why should we call to IElementTypes?
>
Previous Topic:Image as background
Next Topic:Child reference for link mapping
Goto Forum:
  


Current Time: Fri Jul 04 15:43:11 EDT 2025

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

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

Back to the top