NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Its not so easy as that but I fixed things. The problem is that toolbars, when they are floatable, need to be in a parent panel that uses a BorderLayout. Also, it looks like their floatable property needs to be set before things are added to them.During the course of a McV meeting we began wondering about making ViewpointControls dockable, so I decided to look around the IDV sources.I saw the various calls along the lines of "vpc.setFloatable(false)" and that the various data members I could use to get access to ViewPointControl.getToolBar() are protected, so I can't think of any reason why I couldn't just write a plugin that grabs the current VPC and enables floating/docking.Does this assumption seem reasonable? Is there any reason that they aren't already capable of doing this? I ask due to the images in sections 4.3.1 and 4.3.2 of the user's guide looking like floating is enabled.
I have changed some of the toolbar handling code to fix the above problems and use a property:
idv.viewmanager.toolbars.floatable=false To determine whether toolbars are floatable. The IDV should look&feel the same because the default is false.
Offtopic: Thanks for coming up to Madison to help us along! [I'm the newly minted CS grad].
No problem. It was good to meet all of you. -Jeff
idvdevelopers
archives: