HomePhabricator

[WIP] Add LexemeViewFactory to enable adding forms.
9543ac7845ccUnpublished

Authored by Jakob_WMDE on Apr 18 2017, 3:51 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

[WIP] Add LexemeViewFactory to enable adding forms.

This adds a LexemeViewFactory extending ControllerViewFactory in order
to wire the lexemeview, lexemeformsectionview and lexemeformview
together including toolbar and ToolbarViewController for the
lexemeformview.

It also adds a an intial LexemeForm model for the datamodel frontend
which at the moment does not inherit from Entity. It is only needed to
provide the equals-method for the ToolbarControllerView.

Persistence is not implemented yet. It uses a fake model instead of an
EntityChanger that always resolves the "save" promise.

Note: this is completely untested, contains a lot of TODOs, FIXMEs and
might still break in various places. Basic adding and editing of forms
should work though.

Bug: T162339
Bug: T162340
Bug: T162341
Change-Id: Ie36d5e5dbd80706f26f91d57abe742decfad3c3d
Depends-On: I41500982409eca564baf9b127e3315983ba26791

Details

Committed
JonasApr 20 2017, 3:13 PM
ChangeId
Ie36d5e5dbd80706f26f91d57abe742decfad3c3d

Commit No Longer Exists

This commit no longer exists in the repository.