Thank
Patrick,
Actually
I tried that in our product and it worked. But isn’t the
“plugin_customization.ini” file a more preferred way to
customize the product look and feel, e.g. enable or disable
a button?
I
guess if there is no “preferenceName” and “preferenceValue”
defined for this button I will have to fall back to use
extension point contribution.
Thanks,
Andy
Hi Andy,
You can try to contribute perspective extension
point (org.eclipse.ui.perspectiveExtensions) and add the
updateModes actionSet to the perspective that you are
interested.
Regards,
Patrick
DSF provides a “Refresh” button to the
debug view toolbar, but this button is not added to the
toolbar by default. I have to go through the Windows ->
Customize Perspective -> Command Groups Availability ->
Debug Update Modes, enable this group to have the “Refresh”
button added to the debug view toolbar.
If users can do that in the U.I., can I do
it programmatically in my “plugin_customization.ini” file? If
yes what will be “preferenceName” and “prefrenceValue” for
this button?
I have tried this but no luck:
Org.eclipse.ui/org.eclipse.cdt.dsf.debug.ui.updateModes.visible=true
Thanks,
Andy