HomePhabricator

Do not initialize LexemeHeader widget when lexeme page is not editable.

Authored by Jakob_WMDE on Apr 4 2018, 1:18 PM.

Description

Do not initialize LexemeHeader widget when lexeme page is not editable.

Instead of letting LexemeHeader intitialize itself, it is injected into
lexemeview by the ControllerViewFactory. This allows the initializing
callback to be overridden by the ReadModeViewFactory.

Bug: T190921
Depends-On: Ica2a13d2f09af7027fe8dcdb5c5a07129407759f
Change-Id: Ib02a64c667d9c476c50401642b7d7dc3a78ebf56

Details

Committed
Jakob_WMDEApr 6 2018, 3:20 PM
Parents
rEWLE68bc8f127818: Merge "Add FormDifferTest (unit test)"
Branches
Unknown
Tags
Unknown
ChangeId
Ib02a64c667d9c476c50401642b7d7dc3a78ebf56