#63 closed feature (fixed)
Implement the connector configuration dialog
Reported by: | Henrik Heimbuerger | Owned by: | Florian Roth |
---|---|---|---|
Priority: | critical | Milestone: | MS1: First release (1.0.0) |
Component: | ui | Version: | pre-1.0 |
Keywords: | Cc: | technology, configuration, dialog |
Description (last modified by )
Add a third configuration dialog, used to detect, configure and initialize the settings of the connectors.
The following tabs are needed:
- 42: Allows to assign IDs to cars.
- BlueRider: Allows to choose COM port of the Bluetooth interface.
- Analogue: Allows to enter host that runs the network interface.
A button at the bottom allows to accelerate the cars (separately) for a few centimeters, to test whether the connection is working.
This includes creating a ConnectorManager (ConnectorConfigurationManager?) that stores a SlotCarSystemConnector for each connected car and that is used by the PlayerSettingsDialog to assign connector IDs to players.
Code can be derived from #39 when it's completed, as the LnF should be similar and all the layout manager crap doesn't have to be done twice. :)
Change History (14)
comment:1 Changed 16 years ago by
Cc: | technology configuration dialog added |
---|---|
Description: | modified (diff) |
comment:2 Changed 16 years ago by
Status: | new → assigned |
---|
comment:3 Changed 16 years ago by
Status: | assigned → accepted |
---|
comment:4 Changed 16 years ago by
Description: | modified (diff) |
---|
comment:5 Changed 16 years ago by
New commit by hheimbuerger (revision [216]):
[Partial fix for ticket #63] Implemented a template for the connector configuration dialog.
No functionality has been implemented so far, but the dialog is in place.
The UI is mostly shared with the InputDeviceSettingsDialog (through the AbstractSettingsDialog). Minor modifications were necessary to define the help texts at the top in the subclasses.
comment:6 Changed 16 years ago by
New commit by hheimbuerger (revision [224]):
[Partial fix for tickets #39 and #63] Removed unnecessary composite in the AbstractSettingsDialog and adjusted the layouts on the subclassed dialogs.
The AbstractSettingsDialog no longer sets a layout manager on the tabs' inner composites. This led to removing one composite level.
comment:7 Changed 16 years ago by
comment:8 Changed 16 years ago by
Owner: | changed from Henrik Heimbuerger to Florian Roth |
---|---|
Status: | accepted → assigned |
Summary: | Implement the technology configuration dialog → Implement the connector configuration dialog |
comment:9 Changed 16 years ago by
New commit by froth (revision [240]):
[Related to ticket #63] added an ConnectorConfigurationManager? and integrated it into the ConnectorConfigurationDialogue?
- The ConnectoConfigurationManager? holds and manages all configured connectors
- created the userinterfaces for the several connectors
- added an IPV4ValidatedText control
- added an RangeValidationText? control
- added an RegexValidationText? control
- added an with Annotations working ValidationGroup? control
- added an TestSlotCarSystemConnectorFactory? and some TestSlotCarConnectors? for easier dialogue creation and testing. Now in the applicationContext.xml you can change from TestFactory? to normal Factory
- added some 64X64 icons for the several connectors
- changed the hal design. Now every connector consits of an SlotCarSystemConnector? composed of the specific SlotCarDriveConnector? and the SlotCarFeedbackConnector?
comment:10 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:11 Changed 16 years ago by
New commit by hheimbuerger (revision [245]):
[Fix for ticket #84, related to #39 and #63] Fixed exception that was thrown when the input settings dialog was closed with the X-button in the top right.
This was caused by the cleanup code being in the okPressed() handler, which was not called when the X-button was clicked.
The X-button has now been replaced with a 'Close' button as suggested in the ticket to indicate that all changes are immediate and there's no difference whether the dialog is closed with the X or with the Close button. The cleanup code has been moved to the close() method.
Also, the preview update timer now checks if its widget (the progress bar) is still available before modifying it.
Additionally, the layout of the 'mouse' tab has been fixed.
comment:12 Changed 16 years ago by
comment:13 Changed 16 years ago by
New commit by froth (revision [283]):
[Related to ticket #63] changed the ConnectorConfigurationManager?
Now you can getConnectorsByInterface with the effect that it doesnt matter if you have the TestConnectorFactory? or the SlotCarSystemConnectorFactory? because the TestBlueriderConnectorAdapter? implements BlueriderDriveConnector? and the BluriderDriveConnectorAdapter? does
comment:14 Changed 16 years ago by
New commit by froth (revision [317]):
[Related to ticket #63] added an initialiceDefaultConnectors method to ConnectorConfigurationManager?
This method is called by spring container on initialization of the connectorBean.
Now the tests of TestConnectorConfigurator? work fine again
Updated description to the new terminology (controller/technology -> connector).