Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348906 - MigLayout: add support for docking
Summary: MigLayout: add support for docking
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WindowBuilder (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Scheglov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 10:35 EDT by Konstantin Scheglov CLA
Modified: 2021-06-04 16:45 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 Konstantin Scheglov CLA 2011-06-09 10:35:01 EDT
Some thoughts.

  MigLayout combines features of many layout managers, such as "grid", "absolute" and BorderLayout.
  We have some support for docking in our MigLayout model, but this support is not used yet in MigLayoutEditPolicy.
  As you understand, in compare to "grid" features, docking is very easy to implement, problem is only in the way how to tell policy that now we want to use docking, or "absolute", instead of "grid". May be some string should be pressed, such as "`A" (tilde A) for "absolute", "`D" for docking and "`G" for grid. We can not use just A/D/G because D is used in "grid" to set default constraints. This mode (if not default - grid) can be displayed somewhere (for example in top-left corner of container). Of course this mode will be lost after undo or reopening editor, it is temporary, but I think that this is enough...
Comment 1 Konstantin Scheglov CLA 2011-06-09 10:35:30 EDT
> Yes. A small indicator showing the mode that can be clicked on to change it.
> Mode keys are good, but there should always be a graphical backup.

 Alexander suggests to put this indication into top-left corner of
_headers_ part of design canvas.
 Currently this corner is empty. I will try to put there FigureCanvas
and allow LayoutEditPolicy to put any Figure on this FigureCanvas.
 If this will not work, I will put this indicator just at top-left
corner of Container with MigLayout (outside of Container). not so
nice, but easy.
Comment 2 Wim Jongman CLA 2021-02-27 12:56:57 EST
Closing. Please reopen if this is still an issue.