| Error: EditPart has to be selectable [message #1121264] |
Mon, 30 September 2013 08:41  |
Phil H Messages: 222 Registered: November 2012 |
Senior Member |
|
|
Hi,
I've got a problem with my GMF editor. When I create a new diagram and click on an item inside the outline, everything thing works as expected. But when I first click inside the diagram and then choose an item from the outine view, I get the following error:

Any ideas about this? AbstractGraphicalEditPart implements isSelectable(), but I'm not really sure wether this is causing the problems.
public boolean isSelectable() {
return super.isSelectable() && getFigure() != null && getFigure().isShowing();}
Attachment: editpart.JPG
(Size: 39.73KB, Downloaded 63 times)
[Updated on: Mon, 30 September 2013 08:41] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02519 seconds