[JXTA discuss] What about little refactoring in some classes.
Artur Mamuszka <[email protected]> Tue, 24 May 2005 19:37:27 +0200
| Newsgroups | gmane.comp.java.jxta.general |
|---|---|
| Message-ID | <[email protected]> |
I'm working on adding new transport to JXTA Platform. What I need is to create new panel in GUI configurator to set some apropriate transport parameters. Additionally everything else what was configurable should remain unchanged. The only way to do this is to rewrite all DefaultConfigurator class and add there something from my transport. The same thing I have to do with ConfigDialog. Everything is caused by long (huge) provate methods which I can't overload. If there were many of methods dealing with little functionality everything would be easier to extend and there wouldn't be any such problems. What do you thing about it. Maybe you know another way to add new configuration panel to ConfigDialog to set my transport parameters/? -- Artur Mamuszka artur.mamuszka(at)ensimag.imag.fr