Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » why createEditPolicies() of GraphicalEditPart is final ?
why createEditPolicies() of GraphicalEditPart is final ? [message #147980] Mon, 27 August 2007 19:15 Go to next message
Eclipse UserFriend
Originally posted by: NOSPAM.xyz.com

Hi there,
I'd like to create some specialized nodes with
strictly defined behavior.
How can I prevent anybody from installing an
arbitrary edit policy on those edit parts by submitting
an EditPolicyProvider in xml?
Thanks,
Theo
Re: why createEditPolicies() of GraphicalEditPart is final ? [message #149784 is a reply to message #147980] Mon, 10 September 2007 16:25 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Theo,

Submitt a request for the runtime to make GraphicalEditPart.createEditPolicies()
not final.

-----------------
Alex Shatalin
Re: why createEditPolicies() of GraphicalEditPart is final ? [message #150138 is a reply to message #149784] Tue, 11 September 2007 18:49 Go to previous message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

That's to prevent you from disabling extensibility via extension points.
There is a createDefaultEditPolicies() that you may override.

Alex Shatalin wrote:
> Hello Theo,
>
> Submitt a request for the runtime to make
> GraphicalEditPart.createEditPolicies() not final.
>
> -----------------
> Alex Shatalin
>
>
Previous Topic:error when generate diagram code
Next Topic:Increase the height of a Figure
Goto Forum:
  


Current Time: Sat Jul 27 16:09:01 GMT 2024

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

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

Back to the top