Docking
VLDocking 2.1 - Workspace EditorThis application is a visual designer for docking workspaces. Start the Workspace Editor application :
ContextThere a two ways to create a docking layout (known as workspace) with VLDocking :
The first case is the most often used as it is extensively described in the online VLDocking tutorial. The second approach is less used, but should become more thanks to the Workspace Editor. Until now, creating
an xml workspace file was problematic as you had to use the With Workspace Editor, it is now possible to create this (these) xml file(s) with a GUI, even before the application is developed. User GuideThis application is very easy to use : There are two windows :
Define a workspace
Update the key attributesEach dockable is presented as a UI component with two input fields matching its key (DockKey) :
Your goal is to update the unique Ids to match the ones of the target application. Then, they will be recognized when the workpace is loaded. Note : The labels are not used in the target application : they are just used by the Workspace Editor to help you define your GUI. Once the workspace is finishedYou just have to save it (use the File/Save menu) and integrate it into your target application. To help you in that task, you can read the section 4 from the tutorial : Loading and Saving Desktop Configurations. To simplify : you just have to declare the dockables used by the workspace ( Note : Don't forget the Workspace Editor only manages the layout and state of the dockables. Defining attributes (closingEnabled, floatingEnabled...) and presentation (label, icons...) is left to the DockKey API. CommentsDon't hesitate to share your remarks concerning this application through our forum or via email : we'll listen to them. Return to VLDocking 2.1 home page . |