From: Tobias T. <lis...@to...> - 2006-05-05 11:33:47
|
Hi everybody, I was surprised to realise that JMol's mouse interface (i.e. the mapping of mouse buttons to functionality) is hard-coded into JMol. It's implemented by MouseManager.java. Now the Viewer class has a mouseManager field, but unfortunately there is no setMouseManager() method. If there was one, I could just inherit from MouseManager14 and override the MouseSingleClick method; then I could pass my modified MouseManager to the Viewer via setMouseManager(). Do you think you could add such a setMouseManager() method to the JmolViewer interface in JMol's next release, or make the controls customisable in some other way? Thanks in advance, Tobias |