Implementers can use this opportunity to change the availability of the action or to modify other presentation properties.
When the selection changes, the action enablement state is updated based on the criteria specified in the plugin.xml file. Then the delegate is notified of the selection change regardless of whether the enablement criteria in the plugin.xml file is met.
@param action the action proxy that handles presentation portion of the action @param selection the current selection, ornull
if thereis no selection.
This method is called when the selection changes from one to a non-null
value, but not when the selection changes to null
. If there is a requirement to be notified in the latter scenario, implement INullSelectionListener
. The event will be posted through this method.
null
if INullSelectionListener
is implemented.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|