I have been working with knime to generate a few custom nodes. I built them by extending the DefaultNodeSettingsPane. This makes it very easy to add DialogComponent elements. But, the DefaultNodeSettingsPane adds everything vertically centered - that is, there is not much layout control. I was hoping to extend the DefaultNodeSettingsPane to introduce a bit more layout control, but still make use of the DialogComponent types that are available. I have run in to quite a bit of trouble with this because many of the member functions involved (like addDialogComponent) invoke functions (like diaC.getPanel()) that are not publically available.
In looking through existing dialogs (like FileReaderNodeDialog), a very different approach is taken. No use is made of the DialogComponent types, or anything related to that. Is that done to achieve more control of the layout? The SettingsModel and DialogComponent elements are almost everything needed to build very nice dialogs with very minimal work. Can anyone provide thoughts on the best way to build custom dialogs still taking advantage of the DialogComponents available in knime? Or should those only be used on very simple vertical layouts that can use DefaultNodeSettingsPane as is?