Eugene, Pivot does not have any kind of window 'docking' framework, but you should be able to achieve something like Eclipse's perspectives.
The only layout container that gives a user control over sizing via the mouse is a SplitPane http://pivot.apache.org/tutorials/split-panes.html http://pivot.apache.org/2.0/docs/api/org/apache/pivot/wtk/SplitPane.html Expanders, Rollups and Accordions are navigation containers which do allow a user to hide or show content, but not to resize it directly. http://pivot.apache.org/tutorials/expanders.html http://pivot.apache.org/tutorials/rollups.html http://pivot.apache.org/tutorials/accordions.html If you can build a layout using SplitPanes, the user will be able to resize them all as they require. You can save the 'splitRatio' values for each SplitPane when the user chooses to change to a 'new' perspective. Then you would change the 'splitRatio' values to match the requirement for the 'new' perspective. This assumes that you would be reusing a single layout when you change perspectives. Another option would be to use a CardPane (or TabPane) where each 'card' would be a different perspective. You would probably still use SplitPanes in each 'card' to allow the user to resize the sections. If the different perspectives share common components (like in Eclipse where the Java editor is shown in Java and Debug perspectives) you could remove the component from one perspective and add to another each time you switch perspectives. http://pivot.apache.org/tutorials/card-panes.html http://pivot.apache.org/tutorials/tab-panes.html More info here http://pivot.apache.org/tutorials/layout-containers.html http://pivot.apache.org/tutorials/navigation-containers.html Chris On 3 July 2011 21:45, Eugene Kondrashev <[email protected]> wrote: > Hi community! > I'm interested of the component that is known as Perspectives in Eclipse UI. > So, in other words it is a component which view(visible areas, size of these > areas) can be customized by a user. > Is there any analogue or something similar? > Thanks, > Eugene
