Community
Participate
Working Groups
Created attachment 131963 [details] Sets DISPLAY_VARIABLE_TYPE_NAMES property in the presentation context "Show Type Names" attribute is not available in the IPresentationContext properties. The ShowTypesAction.java action only sets the internal attribute information of the Debug Model. Views which extend the existing views directly ( such as CDT/CDI access the attribute information directly. I could find no apparent way trying to just use Interface access to the information. I could test the Presentation context to see that it was a specific instance of DebugModelPresentationContext and then proceed from there to get the info. But this is not a very modularly independent way of proceeding. So I have attached a changed ShowTypesAction which additionally sets the information as a property of the presentation context.
I would like to commit this change as it would allow DSF to observe the "Show Type Names" setting. Darin do you have anything against committing it for M7? I don't know if this change amounts to an API change because the property name constant is already defined, the change only causes the property value to the presentation context in addition to the debug model presentation.
Applied patch. This is not considered an API change (everything is internal, and it is only an addition).
Verified.