Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#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 Henrik Heimbuerger)

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 Henrik Heimbuerger

Cc: technology configuration dialog added
Description: modified (diff)

comment:2 Changed 16 years ago by Henrik Heimbuerger

Status: newassigned

comment:3 Changed 16 years ago by Henrik Heimbuerger

Status: assignedaccepted

comment:4 Changed 16 years ago by Henrik Heimbuerger

Description: modified (diff)

Updated description to the new terminology (controller/technology -> connector).

comment:5 Changed 16 years ago by SVN

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 SVN

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 SVN

New commit by hheimbuerger (revision [225]):
[Partial fix for ticket #63] Added some sample controls for the ConnectorSettingsDialog.

comment:8 Changed 16 years ago by Henrik Heimbuerger

Owner: changed from Henrik Heimbuerger to Florian Roth
Status: acceptedassigned
Summary: Implement the technology configuration dialogImplement the connector configuration dialog

comment:9 Changed 16 years ago by SVN

New commit by froth (revision [240]):
[Related to ticket #63] added an ConnectorConfigurationManager? and integrated it into the ConnectorConfigurationDialogue?

comment:10 Changed 16 years ago by Florian Roth

Resolution: fixed
Status: assignedclosed

comment:11 Changed 16 years ago by SVN

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 SVN

New commit by hheimbuerger (revision [252]):
[Partial fix for ticket #63] Fixed typo in class name and added an initial connector for the connector manager.

comment:13 Changed 16 years ago by SVN

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 SVN

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

Note: See TracTickets for help on using tickets.