Skip to main content



      Home
Home » Eclipse Projects » GEF » Problems with Editpolicies
Problems with Editpolicies [message #72663] Wed, 26 March 2003 05:05
Eclipse UserFriend
Hi,

In my GEF based editor user can change the view that he is editing
through the outline view. When user clicks on a new view the root editparts
contents is changed to represent the selected view. The contenst of the root
editpart (ViewEditPart) is like LogicDiagramEditPart in Logic-demo, so it
only contains
other editparts. I use in my ViewEditPart XYLayOutPolicy and
RootComponentPolicy.
The EditParts that the ViewEditPart use NonRezizableEditPolicy as their
Component_Role.
Everythin works fine until the user change to a new view and then back to
the old view.
The components that are contained in the ViewEditPart are showed just fine,
but when
I try to use selection tool in them they don't get selected but
Marquee-selection tool
works. Visual presentation of the component is Label with Image attached to
it. I
guess that the problem is in editpolicies but I'm not sure.

- Sami
Previous Topic:[draw2d] Documentation available
Next Topic:How to capture double-click mouse events on an editpart ?
Goto Forum:
  


Current Time: Fri May 09 04:03:01 EDT 2025

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

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

Back to the top