Bug 509857 - Decide responsibility for determining selectability and focusability of a content-part.
Summary: Decide responsibility for determining selectability and focusability of a con...
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF MVC (show other bugs)
Version: 1.1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-03 08:43 EST by Matthias Wienand CLA
Modified: 2017-01-03 08:43 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Wienand CLA 2017-01-03 08:43:35 EST
Currently, IContentPart specifies methods #isSelectable() and #isFocusable() that are used (e.g. by policies) to determine if the part is selectable or focusable, respectively. As focus and selection are no necessary core concepts (i.e. there are applications without need for those concepts), maybe these methods should be moved to designated interfaces ISelectable and IFocusable. These interfaces should not be pure marker interfaces, but provide the #isSelectable() and #isFocusable() methods, respectively, so that the selectability and focusability can be customized in a sub-class.