In eclipse rcp, adding a new gef value does not cause a selection change

I am creating an eclipse rcp application with a compatibility level (between versions 3 and 4).

I am using GEF 3. Now when I create a new GEF figure, SelectionServiceeclipse for some reason does not call the method handleSelectionChanged(). As a result, the error is that the actions that should be included due to a change in selection are not included.

By the way, the figure appears to be selected in the graphical interface. The only way to cause a change in selection is to click on another GUI element, and then click on the shape. This means that the GEF believes that this figure is selected.

Any ideas?

+4
source share

Source: https://habr.com/ru/post/1612213/


All Articles