Strategy (EditorEx editor, boolean forceGlobal) { if (editor instanceof EditorImpl) { if (forceGlobal) { return new AllEditorsStrategy(editor); } if (UISettings.getInstance().getPresentationMode()) { return new PresentationModeStrategy(); } if (EditorSettingsExternalizable.getInstance().isWheelFontChangePersistent()) { return new AllEditorsStrategy(editor); } } return new SingleEditorStrategy(editor); }