Support for Extending ToolSystem
Posted: Thu 16. Sep 2010, 01:13
I have a few requests for extending the ToolSystem.
These are broadly of two types:
Karuna
These are broadly of two types:
- 1. to provide additional tools
- 2. to provide additional documentation and structure that helps the developers to extend the existing ToolSystem
- 1. swing folder: Tools to use with the JRJComponent for key boards and menus. (see todo: MouseEventTool)
- 2. tools folder: no tools for key board events and menu events
- 1. Some documentation would be nice that would help the developers understand how events in tools are supported starting with DeviceManager. For example, how can we make use of DeviceKeyboard, that extends RawDevice in Tool development.
- 2. It appears as though jReality has been following a design philosophy where a tool can be created using a combination of methods (activate(), perform(), and deactivate()). Together they support an event handling mechanism. The DragEventTool, illustrates how a new event handling mechanism can be introduced into this event handling mechanism. If a developer wants to set up an additional event handling mechanism (inside the event handling mechanism of activate, perform and deactivate), some documentation (or structure) would help. For example, if I want to introduce JOGL event handling mechanism into this event handling, how can I do it? If there is a principled way of understanding it, it would be very helpful.
Karuna