Community
Participate
Working Groups
The StructuredViewer#handleOpen() is speced to be internal use only in the Javadoc (i.e it states that subclass should not invoke the method). However, this method is used by both Compare and Team to provide a context menu action to populate the text area of a compare input. I would like to correct this situation. This would involve either changing the spec on the method or duplicating the code of handleOpen in those places that require it (i.e. use fireOpen directly). The former is the easiest for us but the later is not a lot of work either. I wanted to run it by UI for an opinion before proceeding.
If the intent is for you to fire an open event in response to a context menu action, it would be better for you to call fireOpen(OpenEvent) yourself (i.e. duplicate the code). The intent of this method is to be the -handler- for the open event from the OpenStrategy.
OK, I'll update our code and then pass the bug report on to Compare.
ok, thanks
Reopening to modify Team and Compare
fireOpen is called in our tree viewers.