Problems with Editpolicies [message #72663] |
Wed, 26 March 2003 05:05 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03443 seconds