Bug 302062 - ConstrainedLayoutManager should be introduced as sub-interface of LayoutManager, get-/setContraint methods should be pulled down.
Summary: ConstrainedLayoutManager should be introduced as sub-interface of LayoutManag...
Status: RESOLVED WONTFIX
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy GEF (MVC) (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 302064
  Show dependency tree
 
Reported: 2010-02-07 11:13 EST by Alexander Nyßen CLA
Modified: 2014-08-05 10:36 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Nyßen CLA 2010-02-07 11:13:00 EST
Build Identifier:  M20090917-0800

Because not all LayoutManager implementations actually support constraints, I would propose to factor out a special interface "ConstrainedLayoutManager" for those who do, pulling the constraint-related methods down to this interface. The same holds for the abstract implementation (AbstractLayout), where a dedicated subclass "AbstractConstrainedLayout" could be introduced.

Reproducible: Always
Comment 1 Alexander Nyßen CLA 2010-07-25 15:22:38 EDT
As pulling getConstraint and setConstraint down would be an API-breaking change, this may not be realized before a new major release (4.0).
Comment 2 Alexander Nyßen CLA 2014-08-05 10:36:48 EDT
As GEF (MVC) 3.x is only maintained and breaking API changes will not be incorporated, resolving as WONTFIX.