Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » CanonicalEditPolicy (shouldDeleteView)
CanonicalEditPolicy (shouldDeleteView) [message #206970] Thu, 25 September 2008 04:32
Eclipse UserFriend
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,
Gary
Previous Topic:How can i get control of star mouse pointer drag?
Next Topic:Diagram opens in a dirty state
Goto Forum:
  


Current Time: Sun Jun 08 12:52:14 EDT 2025

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

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

Back to the top