An expression wrapper for the legacy {@link SelectionEnabler}. This emulates an {@link Expression} using an instance of SelectionEnabler.
SelectionEnabler
This class is not intended for use outside of the org.eclipse.ui.workbench plug-in.
org.eclipse.ui.workbench
532533534535536537538539540541542
} final Expression enabledWhenExpression; if (enabler == null) { enabledWhenExpression = null; } else { enabledWhenExpression = new LegacySelectionEnablerWrapper(enabler, window); } /* * Create the handler. TODO The image style is read at the workbench