Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Test block reshaping, including updates to views #589

Open
8 tasks
AnmAtAnm opened this issue May 9, 2017 · 0 comments
Open
8 tasks

Test block reshaping, including updates to views #589

AnmAtAnm opened this issue May 9, 2017 · 0 comments

Comments

@AnmAtAnm
Copy link
Contributor

AnmAtAnm commented May 9, 2017

Block reshape() constraints:

  • Exception when reshape breaks previous/output parent constraints.
  • Exception when input child block does not have a point of connection in the resulting state.
  • Exception when statement child block does not have a point of connection in the resulting state.
  • Exception when next child block does not have a point of connection in the resulting state.

Block reshape() effects:

BlockViewFactory rebuildBlockView() and BlockView UI:

  • Input child BlockView that is connected before & after is connected appropriately.
  • Statement child BlockView that is connected before & after is connected appropriately.
  • BlockView is reparented to BlockGroup at appropriate location.
  • Old BlockView, InputViews, FieldViews are no longer referenced (WeakReferences will return null).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant