There are a number of part views where editing text is or will be useful. These include FieldView and ButtonView (for the button name), and to some extent WindowView (for the window name). They should all share basic text editing functionality (font, underline, bold, etc) but also have some that is specific to the part view.
Proposal
Create a TextView ABC class, never to be directly instantiated, to handle this. (other names for this class are welcome)
(the option of using FieldView inside the ButtonView seems less optimal, since we would have to override/turn-off some of the field view functionality and generally we'd introduce too much logical dependency between part views).
Main Points
There are a number of part views where editing text is or will be useful. These include
FieldView
andButtonView
(for the button name), and to some extentWindowView
(for the window name). They should all share basic text editing functionality (font, underline, bold, etc) but also have some that is specific to the part view.Proposal
Create a
TextView
ABC class, never to be directly instantiated, to handle this. (other names for this class are welcome)(the option of using
FieldView
inside theButtonView
seems less optimal, since we would have to override/turn-off some of the field view functionality and generally we'd introduce too much logical dependency between part views).