Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » CanonicalEditPolicy (shouldDeleteView)
CanonicalEditPolicy (shouldDeleteView) [message #206970] Thu, 25 September 2008 08:32
Gary is currently offline GaryFriend
Messages: 125
Registered: July 2009
Senior Member
Hi, Does any one have any information on the following method

protected boolean shouldDeleteView(View view) {
return true;

This method is found in the root class (canvas) canonicalEditPolicy

...It seams that this method is used to delete nodes when a containment
relationship is created.

...I have used this method insted of shadow nodes inorder to enable
contained nodes to be viewed however when initalizing from a model file
the nodes are not visualized but in the diagram file they are!

....should not the diagram file and the initalized model file produce the
same results?

Any information would be appreciated,
Thank you,
Previous Topic:How can i get control of star mouse pointer drag?
Next Topic:Diagram opens in a dirty state
Goto Forum:

Current Time: Thu May 13 15:34:50 GMT 2021

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

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

Back to the top