Monday, August 16, 2010

A little info on the MultiInputDialog class.

The MultiInputDialog class can be used to quockly construct dialogs for OpenJUMP plug-ins. I was taking a peak at the class as part of my work on the Union By Attribute Plug-In, which uses the class. A couple of interesting things about the class caught my eye:

(1) The MultiInputDialog class contains a public method to add a Swing ComboBox with all the layers or all the editable layers in a task/project.

(2) The MultiInputDialog class uses a LayerNameRenderer, which is an implementation of the Swing ListCellRenderer.

I hope to learn more and talk more about this class on my blog in the future.

The Sunburned Surveyor

0 comments: