]> gerrit.simantics Code Review - simantics/platform.git/commit
Introduce WrapLayout to replace FlowLayout 52/152/3
authorJussi Koskela <jussi.koskela@semantum.fi>
Mon, 21 Nov 2016 08:21:09 +0000 (10:21 +0200)
committerJussi Koskela <jussi.koskela@semantum.fi>
Mon, 21 Nov 2016 08:35:33 +0000 (10:35 +0200)
commitac5f1da15cc639da880fea86a7b828c8fa2e1b7e
tree1b566500b13c9ec795c4d34bc241a93066c961d3
parentb8392422ec5b5961202d941ec447018526d26dd2
Introduce WrapLayout to replace FlowLayout

FlowLayout does not really flow components into separate lines when they
overrun their horizontal space. WrapLayout does this.

Also moved the contents of org.simantics.utils.ui.awt into
org.simantics.utils.ui.internal.awt since that code was never meant for
public use. Moved WrapLayout into org.simantics.utils.ui.awt and
published that package.

refs #6814

Change-Id: I65600f9a5edff021ab011d980bb3352f6141177f
14 files changed:
bundles/org.simantics.spreadsheet.ui/src/org/simantics/spreadsheet/ui/SpreadsheetModel.java
bundles/org.simantics.utils.ui/META-INF/MANIFEST.MF
bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/SWTAWTComponent.java
bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/awt/WrapLayout.java [new file with mode: 0644]
bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/internal/awt/AwtDialogListener.java [moved from bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/awt/AwtDialogListener.java with 96% similarity]
bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/internal/awt/AwtEnvironment.java [moved from bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/awt/AwtEnvironment.java with 97% similarity]
bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/internal/awt/AwtFocusHandler.java [moved from bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/awt/AwtFocusHandler.java with 96% similarity]
bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/internal/awt/CleanResizeListener.java [moved from bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/awt/CleanResizeListener.java with 95% similarity]
bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/internal/awt/EmbeddedChildFocusTraversalPolicy.java [moved from bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/awt/EmbeddedChildFocusTraversalPolicy.java with 96% similarity]
bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/internal/awt/EmbeddedSwingComposite.java [moved from bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/awt/EmbeddedSwingComposite.java with 97% similarity]
bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/internal/awt/Platform.java [moved from bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/awt/Platform.java with 92% similarity]
bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/internal/awt/RecursiveContainerListener.java [moved from bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/awt/RecursiveContainerListener.java with 96% similarity]
bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/internal/awt/SwtFocusHandler.java [moved from bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/awt/SwtFocusHandler.java with 96% similarity]
bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/internal/awt/SwtInputBlocker.java [moved from bundles/org.simantics.utils.ui/src/org/simantics/utils/ui/awt/SwtInputBlocker.java with 96% similarity]