Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsIEvaluationService variableFilter Set
https://www.eclipse.org/forums/index.php/mv/msg/1089140/1773522/#msg_1773522
{ ISources.ACTIVE_WORKBENCH_WINDOW_NAME,
ISources.ACTIVE_WORKBENCH_WINDOW_SHELL_NAME, ISources.ACTIVE_EDITOR_ID_NAME,
ISources.ACTIVE_EDITOR_INPUT_NAME,
ISources.SHOW_IN_INPUT,
ISources.SHOW_IN_SELECTION,
ISources.ACTIVE_PART_NAME,
ISources.ACTIVE_PART_ID_NAME,
ISources.ACTIVE_SITE_NAME,
ISources.ACTIVE_CONTEXT_NAME,
ISources.ACTIVE_CURRENT_SELECTION_NAME }
Why is ISources.ACTIVE_EDITOR_NAME omitted?
is this an intentional omission?
it seems that it belongs among them considering the inclusion of other ACTIVE_EDITOR values.]]>Darrel Karisch2017-09-28T19:27:26-00:00Re: IEvaluationService variableFilter Set
https://www.eclipse.org/forums/index.php/mv/msg/1089140/1780809/#msg_1780809
Editors and Views are both Parts.
... and ISources.ACTIVE_EDITOR_NAME corresponds to activeEditor.
variableFilter prevents values in the Set from being added or removed from the workbench IEclipseContext in EvaluationService.changeVariable method.
My question is why is ACTIVE_EDITOR_NAME omitted from the Set?
WorkbenchSourceProvider sets all of the variableFilter ISources values. Only ISources.ACTIVE_EDITOR_NAME is allowed through the filter. This seems like an error of omission. Or is there some rationale for omitting it?]]>Darrel Karisch2018-01-29T13:32:07-00:00